Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280181 - sys-apps/openrc: rc: unlink `/lib/rc/init.d/failed/alsasound`: Read-only file system error at boot and after procfs mount
Summary: sys-apps/openrc: rc: unlink `/lib/rc/init.d/failed/alsasound`: Read-only file...
Status: RESOLVED DUPLICATE of bug 261103
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-03 14:45 UTC by Edgar A. Rodriguez
Modified: 2009-10-11 09:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/fstab (fstab,1.13 KB, text/plain)
2009-08-10 02:26 UTC, Edgar A. Rodriguez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Edgar A. Rodriguez 2009-08-03 14:45:51 UTC
After mounting /proc filesystem RC spits the message:
rc: unlink `/lib/rc/init.d/failed/alsasound`: Read-only file system

After that, the process continues normally and alsasound is actually started.

OpenRC version is 0.4.3-r3 and alsa-utils: 1.0.20-r3

Any ideas on what the problem could be?



Reproducible: Always




Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.10.1-r0, 2.6.30-gentoo-r4 i686)
=================================================================                                     
System uname: Linux-2.6.30-gentoo-r4-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-gentoo-2.0.1   
Timestamp of tree: Sun, 02 Aug 2009 21:30:01 +0000                                                    
app-shells/bash:     4.0_p28                                                                          
dev-lang/python:     2.6.2-r1                                                                         
dev-util/cmake:      2.6.4-r2                                                                         
sys-apps/baselayout: 2.0.1                                                                            
sys-apps/openrc:     0.4.3-r3                                                                         
sys-apps/sandbox:    2.0                                                                              
sys-devel/autoconf:  2.63-r1                                                                          
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11                                                 
sys-devel/binutils:  2.19.1-r1                                                                        
sys-devel/gcc-config: 1.4.1                                                                           
sys-devel/libtool:   2.2.6a                                                                           
virtual/os-headers:  2.6.30-r1                                                                        
ACCEPT_KEYWORDS="x86 ~x86"                                                                            
CBUILD="i686-pc-linux-gnu"                                                                            
CFLAGS="-O2 -march=pentium-m -pipe -mtune=pentium-m"                                                  
CHOST="i686-pc-linux-gnu"                                                                             
CONFIG_PROTECT="/etc /usr/share/config"                                                               
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                                                                
CXXFLAGS="-O2 -march=pentium-m -pipe -mtune=pentium-m"                                                                   
DISTDIR="/usr/portage/distfiles"                                                                                         
FEATURES="collision-protect distlocks fixpackages keeptemp keepwork noclean parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa arts berkdb branding bzip2 cairo cdr cli cracklib crypt cscope css ctype cups curl dbus dri dvd dvdr dvdread emboss encode exif fam ffmpeg firefox fontconfig fortran ftp gdbm gif gimp gpm gsl gzip hal iconv ipv6 isdnlog javascript jpeg jpeg2k kde kde-kdeenablefinal latex ldap libnotify mad mikmod mng mp3 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly offensive ogg oggopenal opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime raw readline reflection samba sdl session spl ssl startup-notification svg symlink sysfs tcpd tiff truetype unicode usb vcd vim-syntax vorbis webkit wifi win32codecs x86 xml xorg xpm xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 James Earl Spahlinger 2009-08-10 01:33:34 UTC
Can you verify for us that you have no file systems mounted as read only? Attaching to this bug the contents of /etc/fstab might be useful to the maintainers. 
Comment 2 Edgar A. Rodriguez 2009-08-10 02:26:33 UTC
Created attachment 200773 [details]
/etc/fstab

I'm attaching my fstab file. AFAIK i don't have any read-only filesystems.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2009-09-07 22:01:20 UTC
This has been sitting around for too long. Basesystem: Debug/Close at your leisure.
Comment 4 SpanKY gentoo-dev 2009-10-10 22:54:57 UTC
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.
Comment 5 SpanKY gentoo-dev 2009-10-11 09:18:07 UTC

*** This bug has been marked as a duplicate of bug 261103 ***