[systemd-devel] "systemctl enable" in chroot
Lennart Poettering
lennart at poettering.net
Fri Mar 1 05:11:50 PST 2013
On Mon, 25.02.13 21:14, Andrey Borzenkov (arvidjaar at gmail.com) wrote:
> В 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.
It doesn't do that when running in a chroot.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list