Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291654 - new /etc/init.d/fsck in openrc-0.5.2 supremely inconvenient to JFS users
Summary: new /etc/init.d/fsck in openrc-0.5.2 supremely inconvenient to JFS users
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-03 01:34 UTC by Ben Blum
Modified: 2009-11-11 00:00 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 Ben Blum 2009-11-03 01:34:32 UTC
The version of /etc/init.d/fsck in openrc-0.5.2 has a check for _on_ac_power, which makes the boot sequence skip fscking partitions if the machine is running on battery. However, if a machine's root partition is JFS, it *needs* to be fscked before mounting rw if it was last unmounted uncleanly. This leads to a nasty trap in which a JFS user cannot properly boot their laptop until they plug into AC power.

A good fix would be to set an option for this in /etc/conf.d/fsck which allows users to set this behaviour if they like, and go with the default of "don't skip".

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2009-11-05 00:49:07 UTC
for something which is required (like JFS), a config option isnt really acceptable.  it should just work here.
Comment 2 Roy Marples 2009-11-10 20:34:33 UTC
I concur as fsck is normally a non-op on recent fs's. I still dunno why ext3+ does a full fsck at 30 mounts by default.

I'll add a toggle that defaults to running fsck.
Comment 4 Ben Blum 2009-11-10 23:46:11 UTC
thanks :)
Comment 5 William Hubbs gentoo-dev 2009-11-11 00:00:14 UTC
This has been fixed upstream.