I noticed a strange behaviour when using rc-update to show the processes starting at a specific runlevel. Basically it complains about the .keep file that is also present in the directory. If I understand it correctly the .keep file is a portage specific file that indicates that the directory should not be deleted when empty. In that case rc-update should clearly ignore this file as it is not a process, which is not done. What I see on typing the command ==== pulsar # rc-update show default * Invalid runlevel entry: /etc/runlevels/boot/.keep * Invalid runlevel entry: /etc/runlevels/default/.keep * Invalid runlevel entry: /etc/runlevels/nonetwork/.keep * Invalid runlevel entry: /etc/runlevels/single/.keep cupsd | default dbus | default hplip | default ...(shortened) vixie-cron | default ==== What I expected to see is this output without the "invalid runlevel entry" messages. This message is clearly caused by a .keep file in the runlevel directories. These files have always been present in those directory if I see the creation date. I've never seen this before when using rc-update, so it is new behaviour. For completeness: My emerge --info ===== Portage 2.1_pre9-r3 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r3 i686) ================================================================= System uname: 2.6.16-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz Gentoo Base System version 1.12.0_pre18 ccache version 2.4 [disabled] dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -ftracer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -ftracer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac acpi alsa apache2 apm asf avi bash-completion berkdb bidi bitmap-fonts bootsplash bzip2 cdda cdio cdparanoia cdr cli crypt css cups curl custom-cflags dba dri dts dv dvd dvdr dvdread eds emoticon encode escreen exif fame fb fbcon ffmpeg firefox flac font-server foomaticdb fortran freetype gd gdbm gif gnutls gpm gstreamer gtk gtk2 httpd idn imagemagick imlib isdnlog java jpeg kdeenablefinal lcms libg++ libwww live lm_sensors mad matroska mikmod mjpeg mmx mmx2 mng motif mp3 mp4 mpeg mpeg4 mplayer mysql mysqli ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl oss pam pcre pdflib perl php pic png ppds pppd python qt quicktime rar readline real reflection sdl session spell spl sse sse2 ssl stream subtitles subversion svga tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb utf8 vcd vcdimager vlm vorbis win32codecs wxwindows x264 xine xinerama xml xml2 xmms xorg xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa video_cards_fbdev" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS =====
Can't reproduce with baselayout-1.12.0_pre18
That's the same version of baselayout as is installed on my system. === emerge -s baselayout ... * sys-apps/baselayout Latest version available: 1.12.0_pre18 Latest version installed: 1.12.0_pre18 ... === I have no clue what is causing this.
Don't change components needlessly, it's baselayout problem.
remove the .keep files and re-emerge baselayout if they come back, re-open the bug
removing .keep and subsequent re-emerge of baselayout indeed does not make the .keep files re-appear. Show the original problem is gone in that way and the bug appears fixed. ps) Strange thing is that these .keep files were there since the original install in May 2005. Something must have changed to make this behaviour suddenly appear.
(In reply to comment #5) > removing .keep and subsequent re-emerge of baselayout indeed does not make the > .keep files re-appear. Show the original problem is gone in that way and the > bug appears fixed. > It would be nice to add something to baselayout pkg_postinst about this.
*** Bug 133435 has been marked as a duplicate of this bug. ***
*** Bug 139311 has been marked as a duplicate of this bug. ***