Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 473274

Summary: sys-apps/baselayout should PDEPEND on alternative init systems
Product: Gentoo Linux Reporter: Andrey Ovcharov <sudormrfhalt>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal CC: voron1
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrey Ovcharov 2013-06-14 15:19:52 UTC
sys-apps/openrc is default init system in gentoo. However, the current state of the upstart or sys-apps/systemd is no worse. But now:

> grep openrc /user/portage/sys-apps/baselayout/baselayout-2.2.ebuild 
PDEPEND="sys-apps/openrc"

This means sys-apps/openrc will not go away from the system when i install sys-apps/systemd.

The proposal is to replace all of the dependencies of sys-apps/openrc in all ebuild`s from current stage3 to some new virtual/any_of_all_init (like current virtual/udev but for init systems)

EAPI=5

DESCRIPTION="Virtual to select between sys-apps/openrc and sys-apps/systemd"
HOMEPAGE=""
SRC_URI=""

LICENSE=""
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND=""
RDEPEND="|| ( sys-apps/openrc
	sys-apps/systemd
	upstart
	)"

The benefits: it will also use the default sys-apps/openrc however, users of alternative init system(like sys-apps/systemd for example) will be able to completely remove sys-apps/openrc.

Much work has been done in gentoo-systemd-only overlay https://github.com/canek-pelaez/gentoo-systemd-only 

It would be just great to be able to use only one of any of the available init systems. Thx.
Comment 1 William Hubbs gentoo-dev 2013-06-15 22:58:07 UTC

*** This bug has been marked as a duplicate of bug 409385 ***