On Tue, 28 Jun 2011 17:10:42 -0500 William Hubbs <willi...@gentoo.org> wrote:
> the reason for this email is > http://bugs.gentoo.org/show_bug.cgi?id=373219 and the bugs that > currently depend on it. I'm sure there will be more of those. > > The background is that /etc/init.d/functions.sh is a link to > /lib/rc/functions.sh, which is part of openrc. > > Other init systems, like systemd, are coming along which completely > replace sysvinit and do not use openrc's init scripts at all. However, > since things other than init scripts are > using /etc/init.d/functions.sh, all gentoo users are forced to have > openrc on their systems whether they use its init scripts or not. > > As you can see in the bug, I am working on creating a > minimalist version of openrc that can be installed to allow users to > have access to the functions that are in functions.sh regardless of > whether or not they are using openrc's init system. > > I'm not convinced that this is the best approach, so any input would > be greatly appreciated. Honestly, I think a better solution would be to provide a convenience function library, independent of OpenRC. Sourcing random internal scripts of a random package is just broken by concept. Say, if OpenRC decided to switch into some kind of internal output flow, einfo and friends would stop working for all those external scripts. -- Best regards, Michał Górny
signature.asc
Description: PGP signature