Bug#694928: [Pkg-sysvinit-devel] Bug#694928: config-file change on /etc/default/rcS

2012-12-02 Thread Petter Reinholdtsen
[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.

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#694928: config-file change on /etc/default/rcS

2012-12-02 Thread Ivo De Decker
Control: reassign -1 flash-kernel

Hi,

On Sun, Dec 02, 2012 at 01:38:14PM +0100, Martin Zobel-Helas wrote:
> short conclusion on #debian-devel was, it comes from:
> 
> flash-kernel (2.6) unstable; urgency=low
>   * Set FSCKFIX=yes in /etc/default/rcS to stop fsck from prompting the
> user for input since most users don't have a serial console.
>  -- Martin Michlmayr   Sun, 17 Aug 2008 16:31:53 +0300

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.

Cheers,

Ivo


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org