You are not logged in.

#1 2021-10-08 18:39:10

pixel1138
Member
Registered: 2021-10-08
Posts: 2

systemd-sysv-generator Not Installed by Default

I was wondering why the systemd-sysv-generator is not installed along with systemd on Arch Linux by default. Even following the link for it at the bottom of the systemd.generator man page leads to a 404 error. I was hoping to find some reasoning or documentation. I have searched and only found a forum post confirming that systemd would need to be rebuilt with it included if desired, but it did not explain why it's omitted.

Offline

#2 2021-10-08 20:27:24

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: systemd-sysv-generator Not Installed by Default

Looking at the systemd-sysv-generator(8) for Debian, it appears that the generator expects init scripts to be placed in /etc/init.d.
Even before systemd, this wouldn't have worked on Arch Linux, as the init scripts were in /etc/rc.d (see also this).

I'm not sure if the generator can be made to support alternative locations and different kinds of init scripts, but it would probably require some tweaking for the systemd package.
As Arch Linux dropped support for init scripts anyway, it doesn't seem very useful to invest extra work into making systemd work with something that isn't supported anyway. Keeping it simple. smile


pkgshackscfgblag

Offline

#3 2021-10-08 22:08:04

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: systemd-sysv-generator Not Installed by Default

Because systemd-sysv-generator is not built due to sysvinit_path and sysvrcnd_path options not being set https://github.com/systemd/systemd/blob … .build#L92

Offline

#4 2021-10-10 01:15:50

pixel1138
Member
Registered: 2021-10-08
Posts: 2

Re: systemd-sysv-generator Not Installed by Default

Thank you both for the explanations! I really appreciate it.

Offline

Board footer

Powered by FluxBB