After openrc mounts /proc there is a failure rc: unlink `/lib/rc/init.d/failed/cpufrequtils`: Read-only file system then the process goes as usual ok sys-apps/openrc Installed versions: 0.4.3-r1 sys-power/cpufrequtils Installed versions: 005-r1 Linux 8doch7121ha37 2.6.28-tuxonice-r3 #1 SMP What is the problem?
Please attach emerge --info My guess is that openrc fails to mount its service-dir. Do you use openVZ or vserver? Looking at the code mounting svcdir: RC_SVCDIR=${RC_SVCDIR:-/lib/rc/init.d} case "$(rc --sys)" in OPENVZ|VSERVER) rm -rf "${RC_SVCDIR}"/*;; *) if mountinfo --quiet "${RC_SVCDIR}"; then rm -rf "${RC_SVCDIR}"/* else mount_svcdir fi ;; esac retval=$? I wonder why svcdir is not mounted if mountinfo suceeds? Maybe this is the case here.
Hello! Nope, openVZ or vserver are not used. emerge --info Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-tuxonice-r3 i686) ================================================================= System uname: Linux-2.6.28-tuxonice-r3-i686-Intel-R-_Core-TM-_Duo_CPU_T2600_@_2.16GHz-with-glibc2.0 Timestamp of tree: Thu, 05 Mar 2009 04:30:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p48-r1 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.4.4-r15, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.3.8 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=prescott -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=prescott -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1" LINGUAS="ru en de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/berkano /usr/portage/local/layman/synce /usr/portage/local/layman/java-overlay /usr/portage/local/layman/zugaina /usr/portage/local/layman/jokey" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X aac acc acl acpi additions alsa ape automount avi berkdb bluetooth bzip bzip2 cairo caps cddb cli cpudetection cracklib crypt cups dbus divx djvu dri dts dvb dvd dvdr encode equalizer extensions fam fat fbsplash ffmpeg firefox flac fortran ftp gcj gdbm gif gnome gnome-keyring gnomecd gnutls gpm gstreamer gtk gzip hal hddtemp iceweasel iconv isdnlog java jfs jpeg laptop lcms libnotify libsamplerate lirc lm_sensors lzma midi mmx mp3 mpeg mudflap nautilus ncurses nls nptl nptlonly ntp ntpl ogg openmp oss pam pcmcia pcre pdf perl pidgin plugins pmu png pppd prelude python quicktime radio rar readline reflection sasl saveconfig sdl session smp sndfile sox spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification svg swig symlink sysfs tcpd threads tiff truetype truetype-fonts type1-fonts unicode urandom usb uselocales userlocales v4l2 vim vim-syntax vnc vorbis wavpack win32codecs wmf x86 xfs xorg xulrunner xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en de" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="i810 intel vesa directfb fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I notice that you're using the tuxonice kernel. Could you try with gentoo-sources and are you using suspend/resume at all?
As the code in question does a lookup of /etc/fstab, could you please attach it.
Here is fstab. /dev/sda1 /boot ext2 noauto,noatime,nodiratime 1 2 /dev/sda2 / ext3 defaults,noatime 0 1 /dev/sda3 none swap sw 0 0 /dev/sda8 /home ext4 defaults,noatime,nosuid,nodev 1 2 /dev/sda7 /tmp xfs defaults,noatime,nodiratime,noalign,nouuid,nodev,nosuid 0 0 /dev/sda6 /var/log ext4 defaults,noexec,nosuid,nodev 1 2 /tmp /var/tmp none bind 0 0 #/home/portage /usr/portage none bind 0 0 /dev/sda5 /usr/portage ext4 defaults,noatime,nodiratime,nosuid,nodev 1 2 #/dev/cdrom /mnt/cdrom auto noauto,ro 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 Regarding kernel? Is it really the point of the issue?
Concerning kernel. I have booted with previous r1 tuxonice - and the same. BTW before last update, no problems with openrc existed.
And also ... falling back to version of openrc 0.4.2 [U] sys-apps/openrc Available versions: (~)0.4.1-r1 (~)0.4.2 (~)0.4.3-r1 **9999 {debug elibc_glibc kernel_FreeBSD kernel_linux ncurses pam unicode} Installed versions: 0.4.2 there is no problem...
i had the same problem with openrc-0.4.3-r3 / kernel 2.6.29-gentoo-r5 "rc: unlink `/lib/rc/init.d/failed/local`: Read-only file system" after downgrade to openrc-0.4.2 its gone
since openrc mounts a tmpfs for stuff, any errors on the actual disk wont be fixed. if you do (as root obviously): mkdir -p /mnt/tmp mount --bind / /mnt/tmp rm -f /mnt/tmp/lib/rc/init.d/failed/* umount /mnt/tmp i imagine your next reboot will be fine.
*** Bug 280181 has been marked as a duplicate of this bug. ***
(In reply to comment #9) > since openrc mounts a tmpfs for stuff, any errors on the actual disk wont be > fixed. if you do (as root obviously): > mkdir -p /mnt/tmp > mount --bind / /mnt/tmp > rm -f /mnt/tmp/lib/rc/init.d/failed/* > umount /mnt/tmp > i imagine your next reboot will be fine. All, did this resolve your issue? Does using the latest openrc (0.7.0 as of this writing) resolve it?
This is being closed due to no response. If it is still an issue, feel free to reopen.