Author: ktdreyer
Update of /cvs/free/rpms/openafs/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv2260
Modified Files:
openafs-1.6.6-systemd-execpoststart.patch openafs.spec
Log Message:
* Tue Dec 03 2013 Ken Dreyer <ktdreyer(a)ktdreyer.com> - 1.6.6-0.pre1.1
- Fix ExecPostStart patch
openafs-1.6.6-systemd-execpoststart.patch:
openafs-client.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: openafs-1.6.6-systemd-execpoststart.patch
===================================================================
RCS file: /cvs/free/rpms/openafs/devel/openafs-1.6.6-systemd-execpoststart.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- openafs-1.6.6-systemd-execpoststart.patch 30 Nov 2013 02:26:26 -0000 1.1
+++ openafs-1.6.6-systemd-execpoststart.patch 3 Dec 2013 05:37:57 -0000 1.2
@@ -1,9 +1,10 @@
-From 67f731fa7b2abee3b7a2a2be24d2f9b566946263 Mon Sep 17 00:00:00 2001
+From 95d9f4341b89b45b708699ef56e6655243953f27 Mon Sep 17 00:00:00 2001
From: Ken Dreyer <ktdreyer(a)ktdreyer.com>
Date: Mon, 8 Oct 2012 21:01:52 -0600
-Subject: [PATCH 5/5] systemd: run "sysnames" script after starting afsd
+Subject: [PATCH 5/5] systemd: Implement hooks for tuning the AFS client
-This helper script will set any custom sysnames on the client.
+This makes a generic way to modify the behavior of the AFS client
+similar to the old style afs_post_init bash function.
Change-Id: Ibdb770fac20eb26b137bd02a71a52e0c801b039d
---
@@ -11,14 +12,14 @@
1 file changed, 1 insertion(+)
diff --git a/src/packaging/RedHat/openafs-client.service
b/src/packaging/RedHat/openafs-client.service
-index 719aed77..aac1ca7 100644
+index 719aed77..bc4b335 100644
--- a/src/packaging/RedHat/openafs-client.service
+++ b/src/packaging/RedHat/openafs-client.service
@@ -7,6 +7,7 @@ Type=forking
EnvironmentFile=/etc/sysconfig/openafs
ExecStartPre=/sbin/modprobe openafs
ExecStart=/usr/sbin/afsd $AFSD_ARGS $CACHE $OPTIONS $CONFDIR
-+ExecStartPost=/usr/libexec/openafs/sysnames
++ExecStartPost=/usr/libexec/openafs/posthooks.sh
ExecStop=/bin/umount /afs
ExecStop=/usr/sbin/afsd -shutdown
ExecStop=/sbin/rmmod libafs
Index: openafs.spec
===================================================================
RCS file: /cvs/free/rpms/openafs/devel/openafs.spec,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- openafs.spec 30 Nov 2013 02:26:26 -0000 1.44
+++ openafs.spec 3 Dec 2013 05:37:57 -0000 1.45
@@ -21,7 +21,7 @@
Summary: Enterprise Network File System
Name: openafs
Version: 1.6.6
-Release: 0.%{pre}%{?dist}
+Release: 0.%{pre}%{?dist}.1
License: IBM
Group: System Environment/Daemons
URL:
http://www.openafs.org
@@ -459,6 +459,9 @@
%{_datadir}/openafs/C/afszcm.cat
%changelog
+* Tue Dec 03 2013 Ken Dreyer <ktdreyer(a)ktdreyer.com> - 1.6.6-0.pre1.1
+- Fix ExecPostStart patch
+
* Sat Nov 30 2013 Ken Dreyer <ktdreyer(a)ktdreyer.com> - 1.6.6-0.pre1
- Update to OpenAFS 1.6.6pre1
- Rebase systemd patches to 1.6.6