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

Bug 273138

Summary: Update OpenRC detection in existing init.d scripts
Product: Gentoo Linux Reporter: Robin Johnson <robbat2>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED OBSOLETE    
Severity: normal CC: dev-zero, net-p2p, ricmm, trevorsummerssmith, udev-bugs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 270646    
Attachments: net-p2p/fms: Init script proposed fix
dev-util/git: Init script proposed fix
sys-fs/cryptsetup: Init script proposed fix
sys-fs/evms: Init script proposed fix
sys-fs/evms: Init script proposed fix
sys-fs/evms: Init script proposed fix

Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-06-08 05:23:48 UTC
The following packages need to be updated for OpenRC detection per bug 270646.
I'll be going through and fixing most of the base-system ones unless other people beat me to them.

net-p2p/fms
dev-util/git
sys-fs/clvm *
sys-fs/cryptsetup
sys-fs/device-mapper *
sys-fs/evms
sys-fs/lvm2
sys-fs/mdadm
sys-fs/multipath-tools
sys-fs/udev

Those items marked with * are obsolete, but should be fixed regardless.
Comment 1 Trevor Summers Smith 2010-01-27 17:54:35 UTC
Created attachment 217618 [details, diff]
net-p2p/fms: Init script proposed fix

This includes the temporary detection method discussed in bug #270646.

I have tested this with OpenRC-0.6.0-r1, and net-p2p/fms-0.3.43.
Comment 2 Trevor Summers Smith 2010-01-27 17:56:11 UTC
Created attachment 217619 [details, diff]
dev-util/git: Init script proposed fix

This includes the temporary detection method discussed in bug #270646.

I have tested this with OpenRC-0.6.0-r1, and dev-util/git-1.6.4.4.
Comment 3 Trevor Summers Smith 2010-01-27 17:59:23 UTC
Created attachment 217621 [details, diff]
sys-fs/cryptsetup: Init script proposed fix 

This includes the temporary detection method discussed in bug #270646.

I also added a comment based upon the one in device-mapper's init script to explain why the depend needs to check for OpenRC.

I have tested this with OpenRC-0.6.0-r1, and sys-fs/cryptsetup-1.0.6-r2.
Comment 4 Trevor Summers Smith 2010-01-27 18:03:03 UTC
Created attachment 217622 [details, diff]
sys-fs/evms: Init script proposed fix

This is one of three patches for sys-fs/evms. Please be sure to see the other two as well. 

I tested each script with their appropriate package versions: evms-2.5.5-r10, evms-2.5.5-r11, and evms-2.5.5-r5, using OpenRC-0.6.0-r1.
Comment 5 Trevor Summers Smith 2010-01-27 18:04:38 UTC
Created attachment 217625 [details, diff]
sys-fs/evms: Init script proposed fix

This is two of three patches for sys-fs/evms. Please be sure to see the other
two.
Comment 6 Trevor Summers Smith 2010-01-27 18:05:22 UTC
Created attachment 217627 [details, diff]
sys-fs/evms: Init script proposed fix

This is three of three patches for sys-fs/evms. Please be sure to see the other
two.
Comment 7 Trevor Summers Smith 2010-01-27 18:07:21 UTC
The sys-fs/clvm package is no longer in Portage, so I think that that part of this bug should be considered finished.
Comment 8 Thomas Sachau gentoo-dev 2010-03-31 19:20:55 UTC
(In reply to comment #1)
> Created an attachment (id=217618) [details]
> net-p2p/fms: Init script proposed fix
> 
> This includes the temporary detection method discussed in bug #270646.
> 
> I have tested this with OpenRC-0.6.0-r1, and net-p2p/fms-0.3.43.
> 

Just committed, thanks for the patch
Comment 9 Gentoo Cluster Team gentoo-dev 2010-09-10 19:59:32 UTC
(In reply to comment #7)
removing cluster

Comment 10 William Hubbs gentoo-dev 2011-07-01 00:31:03 UTC
ll,

the day has come when openrc and baselayout-2 are stable on all of our
architectures. So, do we want to go through and remove all of this
testing now? If there are no objections to that I will start doing so
sometime this weekend UTC.
Comment 11 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-07-01 00:35:50 UTC
williamh: if you are proposing doing that, we need to publish a schedule to deprecate baselayout1 first. I know it's still used in some places that don't update that often. On the order of months please.
Comment 12 SpanKY gentoo-dev 2011-07-01 02:19:13 UTC
deprecating baselayout-1 is fine by me
Comment 13 William Hubbs gentoo-dev 2012-03-24 19:05:51 UTC
I think we can close this since by this time init scripts don't have to
worry about bl1 support because we only support migration to OpenRC and
BL2.
If anyone disagrees, feel free to reopen.