fsck must never run when on batteries

Bug #160712 reported by Manuel López-Ibáñez
2
Affects Status Importance Assigned to Milestone
e2fsprogs (Ubuntu)
New
Undecided
Unassigned

Bug Description

The annoying boot-up check every 30 reboots must never be run when the laptop is running on batteries. According to Theodore Ts'o [1], the upstream and Debian maintainer of e2fsprogs, "fsck already has logic to check to see if it is on battery on bootup, and to skip the fsck unless the fsck parameters have been exceeded by a gross amount" [2].

Suggestions of how to enable this or work-arounds are welcome.

[1] https://wiki.ubuntu.com/TheodoreYTsO
[2] https://wiki.ubuntu.com/AutoFsckspec

Revision history for this message
Theodore Ts'o (tytso) wrote :

See bug #89752. The problem is that the Ubuntu kernels isn't building the necessary ACPI modules into the kernel, but rather using loadable modules that aren't getting loaded before e2fsck runs. So that causes a problem with e2fsck not being able to tell whether or not the system is running on batteries or not.

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

I understand. Thanks for the explanation nonetheless. I didn't find the duplicate, otherwise I wouldn't have reported it again.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.