There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

nixcademy.com

TCB13 , to linux in Running NixOS from any Linux Distro in systemd-nspawn Containers
@TCB13@lemmy.world avatar

Finally someone taking advantage of what systemd has to offer instead of bitching around.

Systemd is incredibly versatile and most people, including myself, are unaware of its full potential. Despite its usefulness, it is often overlooked due to controversy and the current state of things when it comes to software development. Begin today your journey thought Systemd’s capabilities and discover how to efficiently manage systems with fewer processes than traditionally required. More: tadeubento.com/…/systemd-hidden-gems-for-a-better…

jecxjo ,
@jecxjo@midwest.social avatar

That is pretty cool.

But its also another example of systemd doing stuff other services already did (see lxc).

baru ,

But its also another example of systemd doing stuff other services already did

And?

jecxjo ,
@jecxjo@midwest.social avatar

Their complaint was that people bitch about systemd. The issue people have is that systemd does too much.

TCB13 ,
@TCB13@lemmy.world avatar

LXC is way more resource intensive and actually systemd had containers for a very long time… not to forget that if you use those you don’t need to install one more thing :)

jecxjo ,
@jecxjo@midwest.social avatar

And systemd is far more resources intensive than runit. Wasn’t really the point.

Kind of nice to not have a bug in my container service possibly have access to pid 1.

meteokr ,
@meteokr@community.adiquaints.moe avatar

systemd manages cgroups, a very well standardized kernel interface for process management, which I would say is something init should be able to do. The gap between that, and a container is mostly semantic.

jecxjo ,
@jecxjo@midwest.social avatar

Personally I’d like my container/vm/chroot handled by something detached from pid 1. I get that much of the overal systemd project is separate blocks of code but it’s the fact they are bound together that it becomes an issue. I would have loved for the systemd team yo first publish a set of APIs that all their components would us and allow the same integration while being completely different projects.

meteokr ,
@meteokr@community.adiquaints.moe avatar

Yeah the preference is yours, at the end of the day, I don’t think it matters what tools you use as long as it works.

Worth noting is that a process not managed by pid 1 isn’t really a thing you want generally. If you use systemd to start the docker daemon, which then starts your container, its still managed by pid 1 eventually. Perhaps you prefer the tooling and interface of docker more than machinectl, or maybe podman just isnt working for you, they’re all just tools to interact with kernel namespaces and cgroups. For doing a little dabbling in another distro, installing docker is pretty heavy vs what the article is talking about.

jecxjo ,
@jecxjo@midwest.social avatar

I don’t think it matters what tools you use as long as it works.

That would be true if other systems and services depend on them. Would have been nice to come out with a standard and designed systemd around that standard. Then you pick the tool you want that follows the standard rather than be tied into systemd.

Worth noting is that a process not managed by pid 1 isn’t really a thing you want generally

I would disagree. A compromised Docker doesn’t mean i have access to things managed by PID1. The entire control model is based around moving your publicly available services further away from something with the highest level of access. Be it users or processes.

nik282000 ,
@nik282000@lemmy.ca avatar

TIL, thanks!

Syudagye ,
@Syudagye@pawb.social avatar

You can declare containers when building a nixos system, and it also uses systemd-nspawn

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines