Le mardi 21 juin 2011 à 13:47 +0200, Christian Boltz a écrit :
Hello,
on Montag, 20. Juni 2011, Frederic Crozat wrote:
I can see one big issue, mostly in migration : systemctl enable (or disable) only works if systemd is running. So, if you are installing a package which tries to enable a .service and if systemd isn't running (old init or upgrade for 11.4), systemctl won't do anything :(
I don't know the details and the reason for this behaviour, but to me it sounds like a bug.
Therefore I'd say: open a bugreport ;-)
Not sure it is worth it : systemctl is a "basic" wrapper which talks with systemd over dbus, where everything is handled. So, it is "logic" for systemctl to not be able to enable / disable services if systemd isn't running.
BTW, related question: Did anyone test upgrades by booting YaST from the installation DVD? Does systemctl honor --root?
I don't think it will, since systemctl is a wrapper.
--
Frederic Crozat