summaryrefslogtreecommitdiff
path: root/src/libelogind/libelogind.pc.in
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-05-21 14:22:30 -0400
committerSven Eden <yamakuzure@gmx.net>2017-03-14 09:57:47 +0100
commit1deb45aed483857e9cfffc8af312edf5c905a5d9 (patch)
tree5e8c752e1d627953fcd1efdd9ca29603b2b7c54f /src/libelogind/libelogind.pc.in
parent7db3955b4d8f3b7f9fc85623637ab680bce818a7 (diff)
tmpfiles: create /etc/resolv.conf symlink only on boot
We will create the symlink on boot as a fallback to provide name resolution. But if the symlink was removed afterwards, it most likely should not be recreated. Creating it only on boot also solves the issue where it would be created prematurely during installation, before the system was actually booted. https://bugzilla.redhat.com/show_bug.cgi?id=1197204
Diffstat (limited to 'src/libelogind/libelogind.pc.in')
-rw-r--r--src/libelogind/libelogind.pc.in25
1 files changed, 10 insertions, 15 deletions
diff --git a/src/libelogind/libelogind.pc.in b/src/libelogind/libelogind.pc.in
index 4032c5b73..e74b02687 100644
--- a/src/libelogind/libelogind.pc.in
+++ b/src/libelogind/libelogind.pc.in
@@ -6,19 +6,14 @@
# (at your option) any later version.
# See tmpfiles.d(5) for details
-ConditionCapability=CAP_AUDIT_READ
-v /var 0755 - - -
-
-L /var/run - - - - ../run
-
-d /var/log 0755 - - -
-f /var/log/wtmp 0664 root utmp -
-f /var/log/btmp 0600 root utmp -
-
-d /var/cache 0755 - - -
-
-d /var/lib 0755 - - -
-v /var/lib/machines 0700 - - -
-
-d /var/spool 0755 - - -
+L /etc/os-release - - - - ../usr/lib/os-release
+L /etc/localtime - - - - ../usr/share/zoneinfo/UTC
+L+ /etc/mtab - - - - ../proc/self/mounts
+m4_ifdef(`ENABLE_RESOLVED',
+L! /etc/resolv.conf - - - - ../run/systemd/resolve/resolv.conf
+)m4_dnl
+C /etc/nsswitch.conf - - - -
+m4_ifdef(`HAVE_PAM',
+C /etc/pam.d - - - -
+)m4_dnl