Am 23.10.2015 um 17:10 schrieb Martin Pitt: > Hello Stephan, > > Stephan Suerken [2015-10-23 13:32 +0000]: >> with 227-2 (not found in 226-2), systemctl behaves differently >> in chroots for (at least) services that only provide a sysv init >> script, breaking package install or removal: > >> 226-2, jessie: Ignored, retval 0: >> # root? systemctl restart non-existing.service >> Running in chroot, ignoring request. >> # root? systemctl restart wicd.service >> Running in chroot, ignoring request. >> >> 227-2, sid: Fails, retval 6: >> # root? systemctl restart non-existing.service >> Failed to restart non-existing.service: Unit non-existing.service failed to >> load: No such file or directory. >> # root? systemctl restart non-existing.service >> Failed to restart non-existing.service: Unit non-existing.service failed to >> load: No such file or directory. > > That looks right -- systemctl is supposed to fail for a nonexisting > script. I don't even consider that a bug, but a fix.
Well, but it also fails for real services now: v227 # systemctl status systemd-timesyncd.service Failed to connect to bus: No such file or directory # echo $? 1 v215 (jessie) # systemctl status systemd-timesyncd.service Running in chroot, ignoring request. # echo $? 0 -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature

