Bug#775065: dpkg --configure -a results in "Hangup" after first package

Michael Biebl biebl at debian.org
Sun Jan 11 20:10:09 GMT 2015


[dropping plymouth from CC]

Am 11.01.2015 um 18:11 schrieb Guillem Jover:

> On Sun, 2015-01-11 at 09:03:34 +0000, Chris Carr wrote:
>> On 11/01/2015 05:13, Guillem Jover wrote:
>>> Please run «dpkg -D77777 --configure -a 2>&1 | tee dpkg.log», and attach
>>> the output. We can check from there
>>
>> It is attached, but it terminates before the output on the screen
>> terminated. The last output on the screen was
>>
>> D000001: process queue pkg libsane:i386 queue.len 56 progress 10, try 1
>> D000040: checking dependencies of libsane:i386 (- <none>)
>> D000400:   checking group
>> [... a few more D000400:  lines ...]
>> D000400:   checking possibility -> adduHangup
> 
> Ok then this looks like someone is either forcibly hanging up the
> terminal or sending a SIGHUP to dpkg? Which indicates that whoever
> is managing it is messing this up, my assumption is either systemd
> or plymouth. I've reassigned to the former and also CCed the latter,
> so they can investigate further, and reassign if necessary.
> 
>>> Hmm, if you are on an emergency shell, I guess the system is not
>>> properly booted, are all partitions mounted? Otherwise there's no
>>> wonder things are not being configured correctly.

emergency.service contains:

..
SendSIGHUP=yes


This was added upstream to emergency.service as part of commit [1]:

> core: optionally send SIGHUP in addition to the configured kill signal
> This is useful to fake session ends for processes like shells. 

It's unclear to me, why running dpkg -a seems to trigger this SIGHUP.
Maybe Guillem can shed some light on this.


[1]
http://cgit.freedesktop.org/systemd/systemd/commit/?id=82659fd7571bda0f3dce9755b89a23c411d53dda




-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150111/c99de4fa/attachment-0005.sig>


More information about the Pkg-systemd-maintainers mailing list