Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203956 - livecd:rcadd function adds bogus /etc/runlevels/ directories
Summary: livecd:rcadd function adds bogus /etc/runlevels/ directories
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-01 03:10 UTC by Carl
Modified: 2008-01-10 00:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carl 2008-01-01 03:10:23 UTC
livecd:rcadd function adds bogus /etc/runlevels/ directories

Reproducible: Always

Steps to Reproduce:
1.  add any service to any runlevel (ie.  livecd/rcadd: autoconfig:default)

Actual Results:  
once livecd-stage2 is complete, /etc/runlevels/default/autoconfig does point to /etc/init.d/autoconfig, but in /etc/runlevels there ends up being a /etc/runlevels/autoconfig:default/ directory than is empty..

(just using autoconfig and default as an example, but this happens with any rcadd services and runlevel)

Expected Results:  
1.  service symlink from respective runlevel
2.  no bogus /etc/runlevel/ directories

workaround:  just add /etc/runlevels/<service>* to livecd/rm:
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2008-01-02 01:05:22 UTC
The initscript/runlevel separator is a vertical pipe (|), not a colon.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2008-01-10 00:07:50 UTC
You're using the catalyst reference, which, as the reference itself says, is incorrect.  Please do not file bugs based on differences between the *incorrect* documentation and the actual product.  The example spec files shipped with catalyst are the best documentation for catalyst.