Control: tags -1 confirmed pending

Thanks for the report.

On Wed, Feb 13, 2019 at 05:03:25PM +0100, Johannes Stezenbach wrote:
> I think the cause is a bug in postinst script which checks for X:

>             if ! who | awk '{print $2}'|grep -q ':[0-9]'; then
>                 check="$check wdm xdm"
>             fi

> However, the output format of "who" (GNU coreutils 8.30) is:

>   js       console      Feb 13 15:54 (:0)
>   js       pts/1        Jan 11 16:00 (tmux(2459).%0)
>   js       pts/2        Jan 11 16:00 (tmux(2459).%1)
>   js       pts/3        Jan 11 16:00 (tmux(2459).%2)
>   js       pts/4        Jan 11 16:00 (tmux(2459).%3)
>   js       pts/5        Feb 13 15:56 (:0)
>   ...

FWIW this is not a behavior change in coreutils, it's a (unexpected by me)
behavior change in xdm.  With gdm, 'who' still shows :1 as the terminal
listed in /run/utmpx.

I'll update the maintainer script and upload today.

> Incidentally debconf also failed to display any UI before
> restarting services, not sure why.

The debconf information from your system included in your bug report has the
answer:

> -- debconf information:
>   libpam0g/restart-services:
>   libpam0g/restart-failed:
>   libpam0g/xdm-needs-restart:
> * libraries/restart-without-asking: true

At some point in the past you told your system it was ok to restart services
on upgrade without prompting each time.  It just fell afoul of the wrong
handling of xdm specifically.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: PGP signature

Reply via email to