Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20081 - no /etc/runlevels/single with baselayout-1.8.5.8
Summary: no /etc/runlevels/single with baselayout-1.8.5.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-27 20:23 UTC by Rajiv Aaron Manglani (RETIRED)
Modified: 2003-05-20 15:25 UTC (History)
2 users (show)

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 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2003-04-27 20:23:29 UTC
with baselayout 1.8.5.8 i get no /etc/runlevels/single (or
/etc/runlevels/single/.keep). in fact, the CONTENTS files shows nothing from
/etc/runlevels.

Reproducible: Always
Steps to Reproduce:
baselayout merged during install. re-emerged baselayout, same prob.



Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r2 i686 AMD Athlon(tm) XP 2200+
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/
http://gentoo.oregonstate.edu"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss apm avi crypt cups gif imlib java jpeg libwww mmx mpeg ncurses
pdflib png qt quicktime sdl spell svga xml2 gdbm berkdb slang readline X tcpd
pam ssl motif -3dnow acpi -arts cdr doc emacs encode ethereal gd -gnome -gpm
-gtk imap innodb jikes -kde ldap -libg++ -mikmod maildir mbox mozilla mysql -nls
oav oggvorbis -opengl perl python samba sasl slp sse tiff -truetype usb xml
-xmms -xv zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync6.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-04-28 14:46:17 UTC
seems like fixed with 1.8.5.9
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-04-28 14:46:32 UTC
reopen if still occour
Comment 3 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2003-04-29 01:09:14 UTC
my machine has no /etc/runlevels/single or /etc/runlevel/*/.keep ... looking at the ebuild there is this section in src_install():

        # Set up default runlevel symlinks
        local bar=""
        for foo in default boot nonetwork single
        do
                keepdir /etc/runlevels/${foo}
                for bar in $(cat ${S}/rc-lists/${foo})
                do
                        [ -e ${S}/init.d/${bar} ] && \
                                dosym /etc/init.d/${bar} /etc/runlevels/${foo}/${bar}
                done
        done




is it being executed ?
reading that code would imply that /etc/runlevels/single and the .keep files should be created upon install of baselayout, yet they are not.

seems like this section right before is the culprit:

        # Skip this if we are merging to ROOT
        [ "${ROOT}" = "/" ] && return 0

why is this there?

Comment 4 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2003-04-29 01:11:34 UTC
i asked a few people on irc. seems like those of us who upgraded baselayout at somepoint do no have /etc/runlevels/single ... perhaps and older baselayout did not put the .keep files in and during the upgrade the dir got wiped out. the other runlevel dirs would have remained because they have symlinks in them.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-29 14:40:13 UTC
Basically those only get created at creation of the build image, to keep changes
the user did in tackt.

The REAL problem is in the build images .... seems for some reason the single
dir is not there .... anybody knowing the process of creating the build image
well have any idea why?  Daniel?
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-20 15:25:23 UTC
From baselayout-1.8.6.7 and later, single works again, and do so even
without an /etc/runlevel/single.