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"
seems like fixed with 1.8.5.9
reopen if still occour
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?
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.
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?
From baselayout-1.8.6.7 and later, single works again, and do so even without an /etc/runlevel/single.