[systemd-devel] "systemctl enable" in chroot

Andrey Borzenkov arvidjaar at gmail.com
Mon Feb 25 09:14:54 PST 2013


В Mon, 25 Feb 2013 17:32:11 +0100
Alexandre Kandalintsev <spam at messir.net> пишет:

> Hi!
> 
> I see here that "systemctl enable" should work in chroot:
> http://0pointer.de/blog/projects/changing-roots
> 
> However, what actually see is "Failed to issue method call: Invalid
> argument." (probably due to unavailable dbus).
> 
> There are a lot of bugreports around, one to mention:
> https://bugzilla.redhat.com/show_bug.cgi?id=856975
> 
> So there are two issues:
> 1) absolutely non-informative error report
> 
> 2) If "systemctl enable" command just makes a few symlinks then why it
> fails?
> 

It tries to reload systemd with new configuration. Use systemctl
--no-reload to avoid it.



More information about the systemd-devel mailing list