Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42045 - root remount read-only fails on boot if using swapfile
Summary: root remount read-only fails on boot if using swapfile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-18 10:20 UTC by binsh00
Modified: 2010-01-06 20:44 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 binsh00 2004-02-18 10:20:08 UTC
I get question "are you sure to fsck mounted filesystem y/n?" every time I boot. I think the problem is the boot scripts can't remount the root filesystem read-only, because there is a swapfile in use on it. If I remove swapfile from my /etc/fstab the problem goes away. 


Reproducible: Always
Steps to Reproduce:
1. Add swapfile on root fs to /etc/fstab
2. Reboot
3.




I have kernel gentoo-dev-sources version 2.6.3_rc3, compiled by 'genkernel all'.
baselayout version is baselayout-1.8.6.13.
Comment 1 SpanKY gentoo-dev 2004-10-03 01:33:56 UTC
do you get the question every time you boot or reboot ?
Comment 2 SpanKY gentoo-dev 2004-10-09 21:05:56 UTC
need more info here
Comment 3 Fabian Rami 2010-01-05 22:29:20 UTC
(In reply to comment #2)
> need more info here
> 
I have the same problem here, what do you want to know ? 

At shutdown, he tell that he can't find the rc-script to remount in ro



Linux Keynux 2.6.32-gentoo #1 SMP  x86_64 Intel(R) Core(TM)2 Quad CPU Q6700 @ 2.66GHz GenuineIntel GNU/Linux
Gentoo uptodate. 
Comment 4 Fabian Rami 2010-01-06 11:38:10 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > need more info here
> > 
> I have the same problem here, what do you want to know ? 
> 
> At shutdown, he tell that he can't find the rc-script to remount in ro
> 
sh/rc-mount not found 
> 
> 
> Linux Keynux 2.6.32-gentoo #1 SMP  x86_64 Intel(R) Core(TM)2 Quad CPU Q6700 @
> 2.66GHz GenuineIntel GNU/Linux
> Gentoo uptodate. 
> 

Comment 5 Fabian Rami 2010-01-06 20:44:25 UTC
Shame on me :)

etc-update fix that


(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > need more info here
> > > 
> > I have the same problem here, what do you want to know ? 
> > 
> > At shutdown, he tell that he can't find the rc-script to remount in ro
> > 
> sh/rc-mount not found 
> > 
> > 
> > Linux Keynux 2.6.32-gentoo #1 SMP  x86_64 Intel(R) Core(TM)2 Quad CPU Q6700 @
> > 2.66GHz GenuineIntel GNU/Linux
> > Gentoo uptodate. 
> > 
>