Hacker News new | past | comments | ask | show | jobs | submit login

I can see systemd as a whole not supporting static linking. But systemd is a collection of many different binaries that each do their thing, so would it be possible for systemd (the pid 1 executable) to be statically linked while the other supporting executables are dynamically linked?



The systemd developers try to avoid using NSS on PID 1 (for very good reasons), so NSS wouldn't be a problem for static linking PID 1.

* See for instance https://bugzilla.redhat.com/show_bug.cgi?id=915912#c18


Sounds like it would just need some changes to their build setup to allow the PID 1 piece to be compiled statically, which doesn't seem too bad.

Of course, this may not even solve the root cause of the problem this article talks about. It would make PID 1 a little more resillient though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: