Re:Systemd, 10 years later: a historical and technical retro...
by cyberax on Tuesday August 06, 2024 @11:55PM
(#41178111)
> What are you talking about???
This: https://github.com/systemd/systemd/blob/main/docs/ELF_DLOPEN...
> dlopen is hardly a new "delayed loading mechanism"
Yes, it's a well-known anti-pattern that libraries like glibc are trying to minimize.
When your fuckup requires a change in the basic system architecture, you are probably doing it wrong.
_All_ they needed to do was split libsystemd into libcoresystemd and libjournald. Only the latter requires libxz and other compressors.
What are you talking about???
dlopen is hardly a new "delayed loading mechanism" and having a custom ELF section where the dlopen'd libraries are listed is just a positive thing for package managers, so that it can be automatically detected during build just like used SO files (for writing the build metadata files).