-29
submitted 1 year ago by Pssk@lemmy.ml to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] mexicancartel@lemmy.dbzer0.com 5 points 1 year ago* (last edited 1 year ago)

One thing i can think of is that systemd won't work in chroots(tell me if i'm wrong, help!). That is, apps requiring systemd cannot be run in chroot environment as it does not "boot up" at all. Systemd, due to it being an init system used to boot up, and being a daemon for other apps, makes it that you can't run such apps in a non-booted environment.

I would like it so much if it was splitted into two something like "initd+systemd" or "systemd+servicesd" for boot up and running services seperately. So you can choose your init system or not to have an init system for chroot.

[-] jflesch@lemmy.kwain.net 4 points 1 year ago* (last edited 1 year ago)
[-] mexicancartel@lemmy.dbzer0.com 1 points 1 year ago

This looks like a replacement for chroot itself. It would be better if i can spawn a systemd process inside chroot that take care of services. And i can't understand why it wants to stick into PID 1 of host even when running in chroot.

this post was submitted on 17 Jul 2023
-29 points (28.4% liked)

Linux

48349 readers
440 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS