On Sun, 12 Jun 2011 15:38:44 -0700 (PDT) Daniel Nicoletti wrote:

[...]
> So I decided to take a look at apt-listbugs source code
> and found APT_LISTBUGS_FRONTEND that when set
> to "none" quits it,

Yes, that's documented in the man page of apt-listbugs(1):

[...]
|    ยท  APT_LISTBUGS_FRONTEND  If  this  variable  is  set  to "none"
|    apt-listbugs will not execute at all, this might  be  useful  if
|    you  would  like  to  script  the  use  of  a program that calls
|    apt-listbugs.
[...]

> so I did it and it worked.
> So bug closed.. :D

What do you mean by "it worked"?

I suppose that setting that environment variable to "none" made
apt-listbugs exit (successfully) as soon as started (this is what the
documentation says, and apt-listbugs actually behaves like that on my
boxes).
If this is the case, then you have just prevented apt-listbugs from
being useful in its primary area of application, namely, checking 
RC bugs during package upgrades/installations...

I do not think that this "closes" the bug!
On the contrary: it's a way to *silently* prevent apt-listbugs from
running!



On Mon, 20 Jun 2011 16:18:00 +0000 Matthias Klumpp wrote:

[...]
>    * Set env var in aptcc to disable apt-listbugs (Closes: #628835)
[...]

I do not think this is the right fix for bug #628835: setting
APT_LISTBUGS_FRONTEND to "none" in aptcc *silently* disables
apt-listbugs when packagekit is used to upgrade or install packages.

This means that the user, who installed apt-listbugs as a partial
safety measure against RC bugs (that may be introduced into his/her
system by the upgrade or installation of some packages), is not getting
any protection at all, when using packagekit!
What is worse, he/she may be completely *unaware* of this lack of
protection against RC bugs: he/she may think that apt-listbugs is
working fine with packagekit and that it just does not find any RC bugs
in the packages being upgraded/installed.


  (A) I think that the aptcc backend for packagekit should be modified
so that it can work well with apt-listbugs (in the meanwhile, I can see
whether it is possible to implement a debconf frontend in apt-listbugs:
see bug #628996 and, as I said there, any help would be appreciated).

  (B) Until (A) is properly done, I think that packagekit should
conflict with apt-listbugs.

  (C) Otherwise, if you want to keep this "workaround" that silently
disables apt-listbugs, you should document it with a *huge* warning to
inform users that they won't get any protection from RC bugs when using
packagekit, despite having apt-listbugs installed.


In summary, I think the best solution is (A).
Until (A) is implemented, I think that (B) or (C) should be be adopted
as a temporary workaround, with (B) to be preferred over (C), in my
humble opinion.


-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgp3IpILGBJzo.pgp
Description: PGP signature

Reply via email to