Bug#542165: grub-common: grub-probe kind of mishandles dm-crypt partitions

Marc Haber mh+debian-bugs at zugschlus.de
Mon May 3 08:17:50 UTC 2010


Hi,

On Sat, May 01, 2010 at 07:26:21PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> Marc Haber wrote:
> > I solved the issue by commenting out the stanza starting with "Gettext
> > variables and module" in /etc/grub.d/00_header, but would like to have
> > a possibility of grub handling my special case, for example by being
> > able to override the grub-probe calls with a hard-coded value which I
> > know being correct. 
> We already offer such possibility. Files in etc/grub.d/ are
> configuration files like any other and modifiing then is a correct way
> of handling such special usecases.

It is, however, good practice in Debian that even conffiles offer
possibilities to override local settings. This is especially handy if
the conffile has like 150 lines and only a single line needs changing.

This is, btw, a good service for yourself as well. Local admins tend
to say "keep my local changes" to a dpkg-conffile question, which
might lead to "interesting" bug reports when the old conffile contents
causes misbehavior of new code. I have made that experience myself as
a DD, so I strongly recommend adding possibilities to override things,
such as not trying to figure out values that have already been given
by the local admin via, for example, /etc/default.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190





More information about the Pkg-grub-devel mailing list