Bug#607515: extlinux quietly overwrites conffile

2010-12-19 Thread Michael Tokarev
19.12.2010 14:31, Daniel Baumann wrote:
> On 12/19/2010 12:25 PM, Michael Tokarev wrote:
>> extlinux-update script quietly overwrites /etc/default/extlinux file
>> on each invocation.  The file in question, according to the Policy,
>> is a configuration file, so the local changes made to this file should
>> be preserved.
> 
> while i agree that the handling of the update of the file could be
> upgraded, user changes are preserved as the file is read in by
> extlinux-update before writing it again, therefore closing the bug.

I discovered this while trying (something like) this:

 EXTLINUX_MENU_LABEL="Debian GNU/Linux, node $(cat /var/run/nodeinfo), kernel"

which evaluates to different things (running several
nodes from a common image).  But once something calls
update-extlinux on the master node, the variable is
not evaluated anymore on the other nodes.

Besides, I had a few things on that file which tried
to create valid menu system without "help" of the
"themes" - since on our small terminals in server room
I can't use vesamenu which is used by syslinux themes.
This too were overwritten.

Maybe these aren't common usages, but the bug is here
anyway.

/mjt



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



Bug#607515: extlinux quietly overwrites conffile

2010-12-19 Thread Michael Tokarev
Package: extlinux
Version: 2:4.02+dfsg-7
Severity: serious
Tags: squeeze

extlinux-update script quietly overwrites /etc/default/extlinux file
on each invocation.  The file in question, according to the Policy,
is a configuration file, so the local changes made to this file should
be preserved.  I think handling of this file should be done differently:
only create this file if not already exist, and not update it after.



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