mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08:00
sysusers,tmpfiles: re-create systemd-network, systemd-resolve and systemd-timesync
This partially revertsd4e9e574ea
,0187368cad
, and4240cb02fd
. The services systemd-networkd, systemd-resolved, and systemd-timesyncd enable DynamicUsers= and have bus interfaces. Unfortunately, these has many problems now. Let us create the relevant users, at least, tentatively. Fixes #9503.
This commit is contained in:
parent
2667385b0e
commit
5b5d826150
@ -6,6 +6,15 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
g systemd-journal - -
|
||||
m4_ifdef(`ENABLE_NETWORKD',
|
||||
u systemd-network - "systemd Network Management"
|
||||
)m4_dnl
|
||||
m4_ifdef(`ENABLE_RESOLVE',
|
||||
u systemd-resolve - "systemd Resolver"
|
||||
)m4_dnl
|
||||
m4_ifdef(`ENABLE_TIMESYNCD',
|
||||
u systemd-timesync - "systemd Time Synchronization"
|
||||
)m4_dnl
|
||||
m4_ifdef(`ENABLE_COREDUMP',
|
||||
u systemd-coredump - "systemd Core Dumper"
|
||||
)m4_dnl
|
||||
|
@ -17,9 +17,9 @@ d /run/systemd/users 0755 root root -
|
||||
d /run/systemd/machines 0755 root root -
|
||||
d /run/systemd/shutdown 0755 root root -
|
||||
m4_ifdef(`ENABLE_NETWORKD',
|
||||
d /run/systemd/netif 0755 - - -
|
||||
d /run/systemd/netif/links 0755 - - -
|
||||
d /run/systemd/netif/leases 0755 - - -
|
||||
d /run/systemd/netif 0755 systemd-network systemd-network -
|
||||
d /run/systemd/netif/links 0755 systemd-network systemd-network -
|
||||
d /run/systemd/netif/leases 0755 systemd-network systemd-network -
|
||||
)m4_dnl
|
||||
|
||||
d /run/log 0755 root root -
|
||||
|
Loading…
Reference in New Issue
Block a user