Re: Bug#770627: dbus: Please (consider) switch(ing) to no-await triggers
On Thu, 04 Dec 2014, Simon McVittie wrote:
> On Thu, 04 Dec 2014 at 16:39:31 +0100, Niels Thykier wrote:
> > On 2014-12-04 09:11, Simon McVittie wrote:
> [see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770627#70 for full
> > If your interpretation is correct, then I am certainly not convinced
> > that changing the triggers to the "interest" variant is the correct
> > thing to do for dbus.
> > Sadly, I am no expert on these matters, so I will have to defer it to
> > the APT or dpkg maintainers for whether your interpretation is correct.
> Thanks. apt/dpkg people: please send any feedback on the correct thing to do
> to <email@example.com>. Sorry, I mixed up the various bugs and
> didn't reply to that one initially; I have now bounced the missing
> messages to that bug (hopefully).
I reviewed the log and I tend to agree with you that using the "interest"
variant is the correct course of action.
The cases where a postinst will require dbus to have loaded new policies
provided by one of its dependencies are probably fairly rare (possibly
even non-existent in Debian) but we should not rely on this being the case
because your explanation of the actual behaviour makes sense.
It would be nice if apt could be smarter and fallback to
"dpkg --configure --pending" when the single "dpkg --configure foo"
that it invokes fails...
At the same time, dpkg could be nicer and accept to configure other
packages when it's required to achieve the goal requested by the caller.
Hopefully this would not confuse apt too much since apt tracks what
dpkg does via the status-fd anyway. Is this realistic or only
wishful thinking ?
Only the latter solution seems to satisfy our requirements in terms of
Raphaël Hertzog ◈ Debian Developer
Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/