Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56428 - checkroot from baselayout 1.10.1-r1 mounts fs read-only one time _before_ fschk is needed
Summary: checkroot from baselayout 1.10.1-r1 mounts fs read-only one time _before_ fsc...
Status: VERIFIED FIXED
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: 2004-07-08 02:02 UTC by Dead Schorsch
Modified: 2005-10-06 08:36 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dead Schorsch 2004-07-08 02:02:08 UTC
I have ext3 on all of my filesystems. Still - since this is an often bootet laptop - running file systems check periodically is enabled and properly reported by checkroot.

But - one mount _before_ a file system check is actually run, the filesystems are mounted read-only, causing the system to fail on almost every task. 

One reboot later, fsck is run and everything is okay again, until mount 24 of 25 arrives again.


Reproducible: Always
Steps to Reproduce:
1. boot
2. reboot
3.

Actual Results:  
1) fs mounted read-only
2) fs checked, mounted rw

Expected Results:  
do not mount fs read-only unless needed.

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.5.1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi acpi4linux aim alsa antlr apache2 apm audiofile avi berkdb bluetooth
bonobo cddb cdr chroot crypt cups devfs26 doc dvd encode esd ethereal evo fam
foomaticdb gda gdbm gif gimp gimpprint glade gnome gpm gtk gtk2 gtkhtml guile
ieee1394 imagemagick imlib irda java jpeg ldap libg++ libwww mad mbox mikmod mmx
motif mozilla mpeg mpeg4 msn ncurses nls odbc oggvorbis opengl pam pcmcia pda
pdflib perl png postgres ppds python quicktime readline samba scanner sdl slang
sox spell sse ssl svga tcltk tcpd truetype usb vanilla x86 xml2 xmms xv zlib"
Comment 1 giggles1 2004-07-09 01:56:07 UTC
I am not sure, but I think I have either the same or a very similar problem.  I am using reiserfs on my laptop / partition, and everyonce in a while, / will not propery get remounted read-rwite. checkroot *says* it has remounted / read-write, but then almost every action afterwards proceeds to fail with the error "read-only filesystem"
Comment 2 Evert 2004-10-30 01:40:03 UTC
try this, seems to works for me...

rc-update del hotplug boot
rc-update add hotplug default
Comment 3 SpanKY gentoo-dev 2005-07-09 16:22:02 UTC
do you guys all use hotplug ?
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-11 01:33:16 UTC
Mike, I wonder if this might not be fixed by the new remount code ?  Might be a
kernel issue with reiserfs/whatever that do not like remount ro of ro /, then
remount rw again ...
Comment 5 SpanKY gentoo-dev 2005-07-15 18:13:12 UTC
maybe ... can you guys try baselayout 1.11.13 and see if it works properly ?
Comment 6 Dead Schorsch 2005-08-12 05:55:39 UTC
It hasn't happpened for a long while now, so I didn't pay much attention to this
bug. As for me, it's fixed (though I do not know what fixed it) and can be closed.
Comment 7 SpanKY gentoo-dev 2005-08-12 06:23:53 UTC
ok, thanks
Comment 8 Dead Schorsch 2005-10-06 08:36:41 UTC
Obsolete