public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] rfc: renaming "rc" binary in OpenRC
  @ 2013-12-12  0:41 99%     ` Patrick Lauer
  0 siblings, 0 replies; 1+ results
From: Patrick Lauer @ 2013-12-12  0:41 UTC (permalink / raw
  To: gentoo-dev

On 12/12/2013 05:28 AM, Rich Freeman wrote:
> On Wed, Dec 11, 2013 at 3:47 PM, Chris Reffett <creffett@gentoo.org> wrote:
>> The idea of running a sed on inittab in an ebuild, no matter what the
>> context, terrifies me. Perhaps we can ease this in slowly by renaming rc ->
>> openrc and symlinking rc -> openrc and making a release with that change
>> concurrent with a news item? Or even just do that in the ebuild rather than
>> in the actual sources. I don't think Debian will keel over and die if it
>> takes a little extra time for the change to go through, and it beats a ton
>> of broken systems.
> 
> ++
> 
> No reason the symlink couldn't be done in the ebuild either - which
> keeps the package itself clean.  There could be news to clean up
> inittab and such, and then perhaps down the road the compat symlink
> could be removed.
> 
> Nice to see interest in Debian (granted, I know there was interest
> quite a while back).  Having more and better options is just good for
> everybody - I'd like to see OpenRC become the best traditional-style
> service manager around (though honestly I'd be hard-pressed to think
> of any that are quite as good already).
> 
> I think one thing that would be nice to dream about someday would be a
> systemd-compatibility init.d script.  That would be symlinked to a
> service name just like a typical network interface script, and would
> look for a unit file and interpret it (perhaps just taking a path from
> conf.d).  I'd think it wouldn't be hard to do, setting aside the more
> active-management features of systemd.
> 

Well, given that systemd unit files don't express dependencies ...

I've thought about it and can't figure out a way to make mixed-mode work
sanely, at all. You'd have to either manually order the startup
sequence, or annotate the unit files with dependency info.

Plus you'd need some machinery like socket-activation proxies or you're
throwing away even more (to the point where the unit file is just a way
to run an executable)

I don't think this can be done in a way that adds value to users.



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-12-11 20:41     [gentoo-dev] rfc: renaming "rc" binary in OpenRC William Hubbs
2013-12-11 20:47     ` Chris Reffett
2013-12-11 21:28       ` Rich Freeman
2013-12-12  0:41 99%     ` Patrick Lauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox