[systemd-devel] Q: Start network in chroot?

Mantas Mikulėnas grawity at gmail.com
Mon Jun 13 08:13:48 UTC 2022


On Mon, Jun 13, 2022 at 11:09 AM Ulrich Windl <
Ulrich.Windl at rz.uni-regensburg.de> wrote:

> Hi!
>
> Two questions:
> 1) Why can't I use "systemctl start network" in a chroot environment (e.g.
> mounting the system from a rescue medium to fix a defective kernel)?


Because you don't have systemd as init while inside a chroot.

2) How can I start the network using systemd?
>

Start it outside the chroot.

-- 
Mantas Mikulėnas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20220613/b4f4913a/attachment.htm>


More information about the systemd-devel mailing list