From: Jan Rękorajski Date: Mon, 16 Jun 2014 09:59:05 +0000 (+0200) Subject: - make sure autofs starts after nss ldapd daemon X-Git-Tag: auto/th/autofs-5.1.0-1~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fautofs.git;a=commitdiff_plain;h=bb4de9c - make sure autofs starts after nss ldapd daemon --- 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 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}