[autofs] - add after sssd dependency to unit file (bz984089).

Ian Kent iankent at fedoraproject.org
Sat Jul 13 06:21:55 UTC 2013


commit e131843fbe1e985da6ea41d45ed4486ff8022b9a
Author: Ian Kent <ikent at redhat.com>
Date:   Sat Jul 13 14:21:16 2013 +0800

    - add after sssd dependency to unit file (bz984089).

 ....7-add-after-sssd-dependency-to-unit-file.patch |   35 ++++++++++++++++++++
 autofs.spec                                        |    7 +++-
 2 files changed, 41 insertions(+), 1 deletions(-)
---
diff --git a/autofs-5.0.7-add-after-sssd-dependency-to-unit-file.patch b/autofs-5.0.7-add-after-sssd-dependency-to-unit-file.patch
new file mode 100644
index 0000000..5d7d1c2
--- /dev/null
+++ b/autofs-5.0.7-add-after-sssd-dependency-to-unit-file.patch
@@ -0,0 +1,35 @@
+autofs-5.0.7 - add after sssd dependency to unit file
+
+From: Ian Kent <ikent at redhat.com>
+
+When using sss as a map source autofs can sometimes start before
+sssd is ready.
+---
+ CHANGELOG                 |    1 +
+ samples/autofs.service.in |    2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/CHANGELOG b/CHANGELOG
+index 7749f01..2734fe3 100644
+--- a/CHANGELOG
++++ b/CHANGELOG
+@@ -55,6 +55,7 @@
+ - fix add null check in parse_server_string().
+ - don't override LDFLAGS in make rules.
+ - fix a couple of compiler warnings.
++- add after sssd dependency to unit file.
+ 
+ 25/07/2012 autofs-5.0.7
+ =======================
+diff --git a/samples/autofs.service.in b/samples/autofs.service.in
+index 056ab5e..777463d 100644
+--- a/samples/autofs.service.in
++++ b/samples/autofs.service.in
+@@ -1,6 +1,6 @@
+ [Unit]
+ Description=Automounts filesystems on demand
+-After=network.target ypbind.service
++After=network.target ypbind.service sssd.service
+ 
+ [Service]
+ Type=forking
diff --git a/autofs.spec b/autofs.spec
index 9b6b43d..fe1385d 100644
--- a/autofs.spec
+++ b/autofs.spec
@@ -8,7 +8,7 @@
 Summary: A tool for automatically mounting and unmounting filesystems
 Name: autofs
 Version: 5.0.7
-Release: 27%{?dist}
+Release: 28%{?dist}
 Epoch: 1
 License: GPLv2+
 Group: System Environment/Daemons
@@ -98,6 +98,7 @@ Patch82: autofs-5.0.7-check-for-protocol-option.patch
 Patch83: autofs-5.0.7-use-ulimit-max-open-files-if-greater-than-internal-maximum.patch
 Patch84: autofs-5.0.7-dont-override-LDFLAGS-in-make-rules.patch
 Patch85: autofs-5.0.7-fix-a-couple-of-compiler-warnings.patch
+Patch86: autofs-5.0.7-add-after-sssd-dependency-to-unit-file.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 %if %{with_systemd}
 BuildRequires: systemd-units
@@ -240,6 +241,7 @@ echo %{version}-%{release} > .version
 %patch83 -p1
 %patch84 -p1
 %patch85 -p1
+%patch86 -p1
 
 %build
 LDFLAGS=-Wl,-z,now
@@ -331,6 +333,9 @@ fi
 %dir /etc/auto.master.d
 
 %changelog
+* Sat Jul 13 2013 Ian Kent <ikent at redhat.com> - 1:5.0.7-28
+- add after sssd dependency to unit file (bz984089).
+
 * Sat Jul 13 2013 Ian Kent <ikent at redhat.com> - 1:5.0.7-27
 - fix a couple of compiler warnings.
 


More information about the scm-commits mailing list