summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangjung Woo <sangjung.woo@samsung.com>2015-09-07 14:17:47 +0900
committerSangjung Woo <sangjung.woo@samsung.com>2015-09-07 14:17:47 +0900
commitc05910810667e485fc80f9cf7ba1c48257687344 (patch)
treefa61d3874b68e3a36f6bc363e8e031d112acd3dc
parenta384b1ef98cc3af0f36683f93dec6c6a29c5c4e3 (diff)
downloadsystemd-c05910810667e485fc80f9cf7ba1c48257687344.tar.gz
systemd-c05910810667e485fc80f9cf7ba1c48257687344.tar.bz2
systemd-c05910810667e485fc80f9cf7ba1c48257687344.zip
systemd-tmpfiles-setup.service is failed since /usr/share/factory/etc/nsswitch.conf is not installed. This patch fixes that bug by adding /usr/share/factory/etc/nsswitch.conf into systemd package. If /etc/nsswitch.conf already exists, /usr/share/factory/etc/nsswitch.conf file is not installed in /etc directory since etc.conf uses 'C' as the type of tmpfiles.d configuration so this patch does not make any error in network operation. Change-Id: I1c4ea8dcdaae002d5cfc3db4be53470c8d2169ca Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
-rw-r--r--packaging/systemd.spec3
1 files changed, 1 insertions, 2 deletions
diff --git a/packaging/systemd.spec b/packaging/systemd.spec
index 622d9011dc..1e9b07fee4 100644
--- a/packaging/systemd.spec
+++ b/packaging/systemd.spec
@@ -458,8 +458,7 @@ fi
%dir %{_datadir}/factory/
%dir %{_datadir}/factory/etc
%dir %{_datadir}/factory/etc/pam.d
-# /etc/nsswitch.conf is only used in Tizen
-%exclude %{_datadir}/factory/etc/nsswitch.conf
+%{_datadir}/factory/etc/nsswitch.conf
%{_datadir}/factory/etc/pam.d/other
%{_datadir}/factory/etc/pam.d/system-auth