[systemd-devel] systemctl <action>; tmpfiles 'D'
Mantas Mikulėnas
grawity at gmail.com
Sat Jan 3 18:59:29 PST 2015
>From the series of "Living with systemd-git"…
~ After commit d7b8eec7dc7fe30 (tmpfiles: add new line type 'v'…),
`systemd-tmpfiles` no longer creates directories from 'D' entries
("Create or empty a directory"), though it still tries to chmod them:
umask(022) = 0
stat("/run/samba", 0x7fff7bbf2fa0) = -1 ENOENT (No such file or directory)
chmod("/run/samba", 0755) = -1 ENOENT (No such file or directory)
writev(2, [{"chmod(/run/samba) failed: No such file or directory",
51}, {"\n", 1}], 2) = 52
'd' entries work fine. samba.conf contains:
D /run/samba 0755 - - -
d /var/log/samba 0755 - - -
~ After commit ebd011d95b61a (machinectl: add new "start" verb…),
`systemctl start/stop/restart` hangs forever while waiting for the
action result (which *does* arrive over the bus):
Calling manager for RestartUnit on polkit.service, replace
Sent message type=method_call sender=n/a
destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1
interface=org.freedesktop.systemd1.Manager member=RestartUnit cookie=1
reply_cookie=0 error=n/a
Sent message type=method_call sender=n/a
destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1
interface=org.freedesktop.systemd1.Manager member=GetUnit cookie=2
reply_cookie=0 error=n/a
Sent message type=method_call sender=n/a
destination=org.freedesktop.systemd1
object=/org/freedesktop/systemd1/unit/polkit_2eservice
interface=org.freedesktop.DBus.Properties member=Get cookie=3
reply_cookie=0 error=n/a
Adding /org/freedesktop/systemd1/job/132481 to the set
Got message type=signal sender=n/a destination=n/a
object=/org/freedesktop/systemd1
interface=org.freedesktop.systemd1.Manager member=JobNew cookie=2
reply_cookie=0 error=n/a
Got message type=signal sender=n/a destination=n/a
object=/org/freedesktop/systemd1/unit/polkit_2eservice
interface=org.freedesktop.DBus.Properties member=PropertiesChanged
cookie=3 reply_cookie=0 error=n/a
Got message type=signal sender=n/a destination=n/a
object=/org/freedesktop/systemd1/unit/polkit_2eservice
interface=org.freedesktop.DBus.Properties member=PropertiesChanged
cookie=4 reply_cookie=0 error=n/a
Got message type=signal sender=n/a destination=n/a
object=/org/freedesktop/systemd1/job/132481
interface=org.freedesktop.DBus.Properties member=PropertiesChanged
cookie=5 reply_cookie=0 error=n/a
Got message type=signal sender=n/a destination=n/a
object=/org/freedesktop/systemd1/unit/polkit_2eservice
interface=org.freedesktop.DBus.Properties member=PropertiesChanged
cookie=8 reply_cookie=0 error=n/a
Got message type=signal sender=n/a destination=n/a
object=/org/freedesktop/systemd1/unit/polkit_2eservice
interface=org.freedesktop.DBus.Properties member=PropertiesChanged
cookie=9 reply_cookie=0 error=n/a
Got message type=signal sender=n/a destination=n/a
object=/org/freedesktop/systemd1/job/132481
interface=org.freedesktop.DBus.Properties member=PropertiesChanged
cookie=10 reply_cookie=0 error=n/a
Got message type=signal sender=n/a destination=n/a
object=/org/freedesktop/systemd1/unit/polkit_2eservice
interface=org.freedesktop.DBus.Properties member=PropertiesChanged
cookie=11 reply_cookie=0 error=n/a
Got message type=signal sender=n/a destination=n/a
object=/org/freedesktop/systemd1/unit/polkit_2eservice
interface=org.freedesktop.DBus.Properties member=PropertiesChanged
cookie=12 reply_cookie=0 error=n/a
Got message type=signal sender=n/a destination=n/a
object=/org/freedesktop/systemd1/job/132481
interface=org.freedesktop.DBus.Properties member=PropertiesChanged
cookie=13 reply_cookie=0 error=n/a
Got message type=signal sender=n/a destination=n/a
object=/org/freedesktop/systemd1/job/132481
interface=org.freedesktop.DBus.Properties member=PropertiesChanged
cookie=14 reply_cookie=0 error=n/a
Got message type=signal sender=n/a destination=n/a
object=/org/freedesktop/systemd1
interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=15
reply_cookie=0 error=n/a
Got message type=signal sender=n/a destination=n/a
object=/org/freedesktop/systemd1/unit/polkit_2eservice
interface=org.freedesktop.DBus.Properties member=PropertiesChanged
cookie=16 reply_cookie=0 error=n/a
Got message type=signal sender=n/a destination=n/a
object=/org/freedesktop/systemd1/unit/polkit_2eservice
interface=org.freedesktop.DBus.Properties member=PropertiesChanged
cookie=17 reply_cookie=0 error=n/a
<hangs>
--
Mantas Mikulėnas <grawity at gmail.com>
More information about the systemd-devel
mailing list