after updating to baselayout-1.12.0_pre17, i bassically see that the cachedir /var/lib/init.d/ isnt created and cant be accessed. System boots fine but gives an: /etc/conf.d/rc line 193 svcdir: readonly variable on every service it starts. It does not matter if you put svcmount in rc to yes or no, errors are the same. Same problem with baselayout-1.12.0_pre17-r1. Mount says: svcdir on /var/lib/init.d type tmpfs (rw,mode=0755,size=2048k) emerge --info follows ( with working baselayout): Portage 2.1_pre7-r5 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.3.6-r3, 2.6.16-rc6-fent1 x86_64) ================================================================= System uname: 2.6.16-rc6-fent1 x86_64 AMD Opteron(tm) Processor 242 Gentoo Base System version 1.12.0_pre16 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] 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-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -fno-ident" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -fno-ident" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.intergenia.de/ http://linuv.uv.es/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.caliu.info/pub/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="es_ES@euro" LC_ALL="es_ES@euro" LDFLAGS="-Wl,-O1 Wl,--as-needed" LINGUAS="es" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib acl alsa apache2 avi bash-completion berkdb bitmap-fonts cairo cdrw cli crypt ctype cups dba dbus dga dvd dvdr dvdread emboss encode expat fastbuild fbcon ffmpeg foomaticdb force-cgi-redirect fortran ftp gd gif glitz gnome gpm gtk gtk2 hal hotplug imlib ipv6 isdnlog ithreads java jpeg lzw lzw-tiff maildir memlimit mp3 mpeg ncurses nls nptl nsplugin nvidia offensive ogg oggvorbis opengl pam pascal pcre pdflib perl pic png posix pppd python qt quicktime readline sasl sdl session simplexml soap sockets spell spl ssl svg tcpd threads tiff tokenizer truetype truetype-fonts type1-fonts unicode usb vcd xml xosd xpm xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_evdev input_devices_mouse kernel_linux linguas_es userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK
# mount | grep svcdir svcdir on /var/lib/init.d type tmpfs (rw,mode=0755,size=2048k) (same with baselayout-1.12.0_pre17 and -r1)
the mount output is pointless post your /etc/conf.d/rc file as an attachment
Created attachment 84609 [details] rc file RC file from a system affected by the "svcdir readonly variable" bug following baselayout upgrade to baselayout-1.12.0_pre17
*** Bug 130050 has been marked as a duplicate of this bug. ***
What version of splashutils do you guys have installed?
I have splashutils-1.1.9.8. I'll upgrade to 1.1.9.8-r1 and see if that makes a difference.
Upgrading splashutils from 1.1.9.8 to 1.1.9.8-r1 fixes the problem. This bug should probably be closed now.
k
splashutils 1.1.9.10 here, now emerging splashutils-1.1.9.10-r1 I have the same problem
1.1.9.8-r1 and splashutils-1.1.9.10-r1 have been patched for sometime now, the versions you have aren't even in portage anymore!
*** Bug 130773 has been marked as a duplicate of this bug. ***
sorry for my late answer. Latest splashutils did the trick here too :D
*** Bug 132534 has been marked as a duplicate of this bug. ***
Solution verified, I had the same problem, works fine for me.
After emerging baselayout-1.12.4-r2 I'm getting the same error: during boot: /etc/config.d/rc: line 225: svcdir: readonly variable /sbin/functions.sh: line 10: declare: svclib: readonly variable /sbin/functions.sh: line 11: declare: svcdir: readonly variable during shutdown: /etc/config.d/rc: line 225: svcdir: readonly variable /sbin/functions.sh: line 10: declare: svclib: readonly variable /sbin/functions.sh: line 11: declare: svcdir: readonly variable /sbin/functions.sh: line 125: BOOTLEVEL: readonly variable /sbin/functions.sh: line 131: DEFAULTLEVEL: readonly variable And NO, I don't have "splashutils" installed.
i dont know what "/etc/config.d/rc" is but it certainly does not come from baselayout -> you have something on your system breaking this, baselayout is not broken
(In reply to comment #16) > i dont know what "/etc/config.d/rc" is but it certainly does not come from > baselayout -> you have something on your system breaking this, baselayout is > not broken I think it could be related to the fact that with baselayout-1.12.4-r2 /sbin/functions.sh has changed, it contains this section (at the top): # Check /etc/conf.d/rc for a description of these ... declare -r svclib="/lib/rcscripts" declare -r svcdir="${svcdir:-/var/lib/init.d}" svcmount="${svcmount:-no}" svcfstype="${svcfstype:-tmpfs}" svcsize="${svcsize:-1024}" Where as baselayout-1.11.15-r3 "functions.sh" on my other systems doesn't have this section.
what's your point ? those variables are *supposed* to be readonly
Also, some forum guys have reported that they have /sbin/livecd-functions.sh present which causes the same issue. If it's present it should be removed as it's only meant for livecds and not actual installs.
in my case the problem was caused by: /sbin/livecd-functions.sh removing this file solved the problem, no extra messages during boot.