[Pkg-sysvinit-devel] Bug#694928: config-file change on /etc/default/rcS
pere at hungry.com
Sun Dec 2 19:22:53 UTC 2012
[Ivo De Decker]
> The postinst from flash-kernel contains this:
> # Stop fsck from prompting the user for input since most users don't
> # have a serial console.
> sed -i "s/^FSCKFIX=no$/FSCKFIX=yes/" /target/etc/default/rcS || true
> So this bug should be reassigned.
Of course, this bug was introduced when sysvinit changed
/etc/default/rcS from a non-conffile to a conffile. Before this
change, /etc/default/rcS was copied into place on first time
installation, and never updated using dpkg. This was done like this
to avoid any conffile questions during upgrades.
At the moment with /etc/default/rcS as a conffile, there is no way for
flash-kernel to do what it want in a policy compliant way. :( The only
way to make that happen is for sysvinit to provide a mechanism to edit
the file, or to convert the file back to being a non-conffile.
More information about the Pkg-sysvinit-devel