-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Systemd Bootstrap Complexity #261795
Copy link
Copy link
Closed
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: closure sizeThe final size of a derivation, including its dependenciesThe final size of a derivation, including its dependencies6.topic: systemdSoftware suite that provides an array of system components for Linux operating systems.Software suite that provides an array of system components for Linux operating systems.
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: closure sizeThe final size of a derivation, including its dependenciesThe final size of a derivation, including its dependencies6.topic: systemdSoftware suite that provides an array of system components for Linux operating systems.Software suite that provides an array of system components for Linux operating systems.
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
systemd depends on libraries (e.g. libfido2) which in turn depend on systemd. This cycle is currently broken by using
systemdMinimal, a systemd version with all optional dependencies disabled. This has these problems:systemdMinimalwhen they need udev or libsystemd or risk a dependency cyclesystemdMinimalto get a minimal systemd (which it is not really intended)@RaitoBezarius suggested that this could use a real bootstrap flow. Another solution would be to split building systemd libraries into a separate derivation. One wrinkle here is that libsystemd.so seems to hardcode the systemd
bin/path...Notify maintainers
@RaitoBezarius @flokli @Mic92 @kloenk