On 2020-01-03 at 13:35, Russ Allbery wrote:

> The Wanderer <wande...@fastmail.fm> writes:
> 
>> Unless my understanding of the architecture of
>> systemd-the-init-system is entirely incorrect, running these
>> .service'es is handled by /bin/systemd. If having these programs
>> run at boot time is considered essential to full functionality of
>> these facilities - and I'd be surprised if it wasn't - then
>> something is going to have to be done to permit that to happen
>> under other init systems.
> 
> So create a package with init scripts (or runit scripts, or OpenRC 
> scripts) that run those binaries, and make that package depend on
> systemd (*not* systemd-sysv).
> 
> This seems fairly simple to me.  Am I missing something (beyond the
> fact that this is problematic on the Hurd and kFreeBSD)?

Not as far as I can tell; the idea just hadn't occurred to me.

>> If the maintainers of systemd-the-package would be willing to not
>> only split out these binaries into standalone package(s), but
>> accept such init scripts for inclusion in those packages,
> 
> Why would that be necessary?

Which part? The splitting out, or the accepting of the init scripts?

The splitting out I think I've already addressed, if not directly or at
length; I can go over it more specifically if desired, although I
sometimes have a hard time phrasing things in that context in ways which
aren't unintentionally provocative. The short version would be: to avoid
undesirable side effects from other parts of the systemd package.
(Again, it's been long enough that I forget what those side effects
were, although I think they had to do with logind.)

The accepting of init scripts seemed to me like an essential piece of
making sure those scripts would be present wherever they would be
needed. Your suggestion above seems to provide a way to make it less
essential, and thus would make moving forward easier and more practical.
The only question is how to make sure that that other package would be
present whenever a non-systemd init system is in use, and that seems
like a simple matter of adding dependencies from the
set-foo-as-active-init-system package for foo.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to