Your message dated Wed, 13 Feb 2019 15:41:39 -0800
with message-id <20190213234139.gc32...@virgil.dodds.net>
and subject line Re: libpam0g 1.3.1-2 upgrade kills xdm
has caused the Debian Bug report #922239,
regarding libpam0g 1.3.1-2 upgrade kills xdm
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
922239: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922239
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libpam0g
Version: 1.3.1-2
Severity: critical
Justification: causes serious data loss

Dear Maintainer,

my X session was just killed during update, I could capture the
output because aptitude was running inside tmux:

 Unpacking libpam0g:amd64 (1.3.1-2) over (1.1.8-4) ...
 Setting up libpam0g:amd64 (1.3.1-2) ...
 Checking for services that may need to be restarted...Checking init scripts...
 WARNING: init script for samba not found.
 
 Restarting services possibly affected by the upgrade:
   xdm: stopping...starting...done.
   exim4: stopping...starting...done.
   cups: stopping...starting...done.
   cron: stopping...starting...done.
   atd: stopping...starting...done.
 
 Services restarted successfully.

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)
  ...

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


Regards,
Johannes


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.13 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=de_DE.utf-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libpam0g depends on:
ii  debconf [debconf-2.0]  1.5.70
ii  libaudit1              1:2.8.4-2
ii  libc6                  2.28-7

libpam0g recommends no packages.

Versions of packages libpam0g suggests:
pn  libpam-doc  <none>

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

--- End Message ---
--- Begin Message ---
Version: 1.3.1-3

Fix uploaded, but used the wrong -v option to the .changes file so the bug
won't autoclose.  Changelog:

pam (1.3.1-4) unstable; urgency=medium

  * Fix the name of the samba services to be restarted on upgrade.

 -- Steve Langasek <vor...@debian.org>  Wed, 13 Feb 2019 23:39:03 +0000

pam (1.3.1-3) unstable; urgency=medium

  * Fix debian/patches-applied/update-motd to apply the correct changes
    to the README (should be forwarded to Debian)
  * debian/libpam-modules.lintian-overrides: update for the current lintian
    warning given for DSOs with no dependencies.
  * debian/rules: set $DEB_HOST_MULTIARCH only if unset.
  * debian/source.lintian-overrides: update for the current quilt warnings.
  * debian/control: drop redundant priority fields.
  * Standards-Version 4.3.0.
  * Restore lintian overrides for hardening false-positives.
  * debian/libpam0g.postinst: update the xdm restart handling to cope with
    changes to what xdm writes to utmp.  Closes: #922239.

 -- Steve Langasek <vor...@debian.org>  Wed, 13 Feb 2019 20:41:46 +0000

-- 
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


--- End Message ---

Reply via email to