[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: default init on non-Linux platforms



heroxbd@gentoo.org writes:

> Forking was a decision made by me in the early phase of packaging
> OpenRC. At that time I referred to the way file-rc handled update-rc.d
> as in

>      sysvinit: /usr/share/sysvinit/update-rc.d

> A central package providing update-rc.d and invoke-rc.d is nice. Though
> it should not be sysv-rc, which OpenRC is intending to replace.

One possibility would be to move those programs to init-system-helpers,
since that is, after all, the point of that package (even if right now
it's only used for systemd glue).  That package does currently depend on
perl, though, which isn't appropriate for an essential package.  I'm not
sure the best way to approach that.  The dependency is because
deb-systemd-helper uses a bunch of modules that are not currently in
perl-core (File::Path, File::Basename, File::Find, File::Temp,
Text::ParseWords, and Data::Dumper, although the last is only used for
debugging and could be loaded on demand if available and skipped
otherwise).

File::Path and File::Basename can be easily replaced with some short
functions and simple regexes, but the rest are a bit harder to replace.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: