[bacula/f17: 1/2] Add nss-lookup.target to service files rhbz#838828

Simone Caronni slaanesh at fedoraproject.org
Tue Jul 10 12:37:05 UTC 2012


commit 217785f731d356b134aab18f3498f0036f206a01
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Tue Jul 10 14:36:37 2012 +0200

    Add nss-lookup.target to service files rhbz#838828

 bacula-dir.service |    4 ++--
 bacula-fd.service  |    4 ++--
 bacula-sd.service  |    4 ++--
 bacula.spec        |    5 ++++-
 4 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/bacula-dir.service b/bacula-dir.service
index 432c925..0c9c263 100644
--- a/bacula-dir.service
+++ b/bacula-dir.service
@@ -1,7 +1,7 @@
 [Unit]
 Description=Bacula-Director, the Backup-server
-Requires=syslog.target network.target
-After=network.target
+Requires=syslog.target network.target nss-lookup.target
+After=network.target nss-lookup.target
 
 [Service]
 Environment=CONFIG=/etc/bacula/bacula-dir.conf
diff --git a/bacula-fd.service b/bacula-fd.service
index 608c923..de7ce8b 100644
--- a/bacula-fd.service
+++ b/bacula-fd.service
@@ -1,7 +1,7 @@
 [Unit]
 Description=Bacula-FileDaemon, a Backup-client
-Requires=syslog.target network.target
-After=network.target
+Requires=syslog.target network.target nss-lookup.target
+After=network.target nss-lookup.target
 
 [Service]
 Environment=CONFIG=/etc/bacula/bacula-fd.conf
diff --git a/bacula-sd.service b/bacula-sd.service
index d32bee3..cc8b455 100644
--- a/bacula-sd.service
+++ b/bacula-sd.service
@@ -1,7 +1,7 @@
 [Unit]
 Description=Bacula-StorageDaemon, the storage-server
-Requires=syslog.target network.target
-After=network.target
+Requires=syslog.target network.target nss-lookup.target
+After=network.target nss-lookup.target
 
 [Service]
 Environment=CONFIG=/etc/bacula/bacula-sd.conf
diff --git a/bacula.spec b/bacula.spec
index b79ba72..518769f 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -3,7 +3,7 @@
 
 Name:                   bacula
 Version:                5.2.10
-Release:                1%{?dist}
+Release:                2%{?dist}
 Summary:                Cross platform network backup for Linux, Unix, Mac and Windows
 # See LICENSE for details
 License:                AGPLv3 with exceptions
@@ -843,6 +843,9 @@ fi
 
 
 %changelog
+* Tue Jul 10 2012 Simone Caronni <negativo17 at gmail.com> - 5.2.10-2
+- Add nss-lookup.target as required to service filesi (rhbz#838828).
+
 * Mon Jul 02 2012 Simone Caronni <negativo17 at gmail.com> - 5.2.10-1
 - Update to 5.2.10.
 


More information about the scm-commits mailing list