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

This commit is contained in:
Ian Kent 2013-07-13 14:21:16 +08:00
parent 79f481ae63
commit e131843fbe
2 changed files with 41 additions and 1 deletions

View File

@ -0,0 +1,35 @@
autofs-5.0.7 - add after sssd dependency to unit file
From: Ian Kent <ikent@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

View File

@ -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@redhat.com> - 1:5.0.7-28
- add after sssd dependency to unit file (bz984089).
* Sat Jul 13 2013 Ian Kent <ikent@redhat.com> - 1:5.0.7-27
- fix a couple of compiler warnings.