Include e2fsck.conf in default ramdisk

Bug #600475 reported by Fridtjof Busse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: initramfs-tools

On Ubuntu lucid, if you create /etc/e2fsck.conf, it does not get included into the initramdisk when running update-initramfs. But since there are a few systems, especially embedded hardware, that e.g. do not have a RTC, it is important to be able to tell fsck to skip certain checks. But this is only possible if the configuration is available at boot-time.
I suggest an addition to initramfs-tools that checks for the existence of the configuration file and includes it.

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 600475] [NEW] Include e2fsck.conf in default ramdisk

But fsck isn't run in the initramfs - the root filesystem is mounted
read-only, and then fsck is run after changing to that root filesystem.
I don't see how including e2fsck.conf in the initramfs would help given
that it wouldn't be used there.

Revision history for this message
Fridtjof Busse (fbusse-deactivatedaccount-deactivatedaccount) wrote :

I haven't investigated this deeply, but here is a more complete description: http://forums.debian.net/viewtopic.php?t=45797
If lucid behaves differently, I'll recheck and try to find out why e2fsck.conf in the initrd solved the problem for me.

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 600475] Re: Include e2fsck.conf in default ramdisk

For what it's worth, the script that produces that output is definitely
run after the initramfs has gone away. The debian-user post linked to
in that thread just seems mistaken to me.

Revision history for this message
Fridtjof Busse (fbusse-deactivatedaccount-deactivatedaccount) wrote :

I will investigate more deeply. Please mark this bug as invalid, I'll open a new one should I find the problem. Thanks and sorry for the noise.

Revision history for this message
maximilian attems (maks-debian) wrote :

closing as asked by bug reporter.

Changed in initramfs-tools (Ubuntu):
status: New → Invalid
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.