Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22815 - Gentoo fails to reboot after changes are made to the filesystem during init root filesystem check.
Summary: Gentoo fails to reboot after changes are made to the filesystem during init r...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-14 07:40 UTC by Abri le Roux
Modified: 2003-12-08 07:48 UTC (History)
0 users

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 Abri le Roux 2003-06-14 07:40:04 UTC
Well, I guess this is more of a feature request than a bug report, but I think it has 
potential to be quite serious/annoying. 
 
When you boot, it checks the root filesystem for errors with fsck (by default this is 
every 32 boots or so). Occasionally it finds a error in the filesystem, and needs to 
change it. After it changes it, a very obvious message appears stating '***REBOOT 
LINUX***'. I usualy obey the message, and reboot as soon as I get the login prompt. 
But sometimes I forge to reboot; 
 
Failing to do so can (and did a few times in my case) result in some filesystem 
corruption. I had to repair it manualy with fsck and the liveCD.  
 
All I'm asking is for gentoo to automatically reboot should fsck prompt the user to do 
so. Many other distrobutions including Slackware does this. 
 
Sorry for the long post! 

Reproducible: Sometimes
Steps to Reproduce:
1. Reboot with a slightly inconsistend EXT2/3 filesystem 
2. During init, fsck picks up the error, and repairs it. It prompts the user to reboot 
3. Forget :) 
Actual Results:  
I ran the system without problems for a few hours. Then I noticed that some of my 
commands (notably 'emerge') was going missing. I checked the syslog, and realized 
that the filesystem was not well. 

Expected Results:  
After fsck repaired the FS, Gentoo should have automatically rebooted. 

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) 
================================================================= 
System uname: 2.4.21 i686 AMD Duron(tm) 
GENTOO_MIRRORS="http://ftp.gentoo.or.kr/ http://mirror.gentoo.gr.jp 
ftp://gg3.net/pub/linux/gentoo/" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 apm avi crypt gif jpeg libg++ libwww mikmod mpeg ncurses nls pdflib png 
quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline svga ggi tcltk 
java guile tcpd pam ssl perl python esd imlib oggvorbis gtk motif opengl cdr sdl dvd 
encode 3dnow mmx oss sse -gpm arts -rpm -directfb -nas -aalib -alsa X cups -gnome 
kde qt xml pda samba" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-O2 -mcpu=i686 -pipe" 
CXXFLAGS="-O2 -mcpu=i686 -pipe" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache"
Comment 1 Andrew Cooks (RETIRED) gentoo-dev 2003-12-08 07:48:07 UTC
This bug has been inactive for some time. As far as I can tell, the checkroot
script reboots automagically when needed. (at least in baselayout 1.8.6.10-r1). 
I might be wrong. 

Please reopen this bug if the problem persists.