[packages/autofs] - make sure autofs starts after nss ldapd daemon

baggins baggins at pld-linux.org
Mon Jun 16 12:02:28 CEST 2014


commit bb4de9cdd15923462e55d6a8645dafab55f0ab40
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Jun 16 11:59:05 2014 +0200

    - make sure autofs starts after nss ldapd daemon

 autofs-systemd-service.patch | 10 ++++++++++
 autofs.spec                  |  2 ++
 2 files changed, 12 insertions(+)
---
diff --git a/autofs.spec b/autofs.spec
index f6609ac..f34bb68 100644
--- a/autofs.spec
+++ b/autofs.spec
@@ -26,6 +26,7 @@ Source4:	%{name}-auto.net
 Source5:	%{name}.sysconfig
 Patch0:		%{name}-open_max.patch
 Patch1:		%{name}-makefile.patch
+Patch2:		%{name}-systemd-service.patch
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	bind-devel
@@ -106,6 +107,7 @@ trzymanych na serwerze LDAP.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__autoconf}
diff --git a/autofs-systemd-service.patch b/autofs-systemd-service.patch
new file mode 100644
index 0000000..8f869e6
--- /dev/null
+++ b/autofs-systemd-service.patch
@@ -0,0 +1,10 @@
+--- autofs-5.1.0/samples/autofs.service.in~	2014-06-04 09:37:01.000000000 +0200
++++ autofs-5.1.0/samples/autofs.service.in	2014-06-16 11:54:10.692427301 +0200
+@@ -1,6 +1,6 @@
+ [Unit]
+ Description=Automounts filesystems on demand
+-After=network.target ypbind.service sssd.service
++After=network.target ypbind.service sssd.service nslcd.service
+ 
+ [Service]
+ Type=forking
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/autofs.git/commitdiff/d32aaea9a7f3f0d283c45a4c4b4d5d8cde54ed0d



More information about the pld-cvs-commit mailing list