Comment 7 for bug 268364

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 268364] Re: Bug in /usr/bin/ucf when upgrading Hardy

On Mon, Sep 15, 2008 at 06:51:15AM -0000, Flemming Bjerke wrote:
> Sorry, you are right. But, I found it very offensive that someone
> (anonymously) deliberately made a bug in order to trouble me, having the
> explicit purpose of getting me to mob a developer.

Well, this is false. No one deliberately added a bug, and the bug here is
not the one you've described. The bug is that HERE docs don't fail
gracefully in the event of disk space problems, as you must have had when
upgrading, and this wasn't taken into account when commenting out the 'cat'
command (probably because it was completely unforeseen by the author of ucf
- this was a surprising error message that I had never seen before, either).

There's also a second bug here, which is that this line should never even be
reached because samba-common is *not* calling ucf incorrectly; it is passing
the --debconf-ok argument, but ucf does this check before it reaches the
argument parsing block.

Fixing the latter bug would resolve the former in almost all cases anyway;
and if the user's disk is full, this is likely the least severe bug one
could possibly run into during an upgrade as a result.