Bug#923362: libpam-runtime: dpkg-reconfigure libpam-runtime disables systemd profile

2019-02-26 Thread Matthew Foulkes

Hi again,

On Tue, Feb 26, 2019 at 05:00:47PM -0800, Steve Langasek wrote:
Is the debconf prompt shown when you run dpkg-reconfigure?  Is the 
systemd option shown in the list of options?  (Will be listed as: 
"Register user sessions in the systemd control group hierarchy")  If 
presented, is it selected or unselected when the list is shown?  Did 
you select it or not?


The debconf prompt is shown and the systemd option is shown too, with 
the wording you gave above and a "[*]" to indicate that it is currently 
selected. Even when I go straight to the "Ok" prompt to complete the 
reconfiguration process without making any changes to the list of 
selected options, the systemd pam module is disabled. Next time I start 
dpkg-reconfigure, the systemd option is shown as "[ ]" instead of "[*]". 
I can select it and hit space to add a star, but this has no practical 
effect; it is still disabled next time I start dpkg-reconfigure. To 
re-enable the systemd pam module I have to run 'pam-auth-update --enable 
systemd'.


Regards, Matthew


--
**
 email: m.foul...@blueyonder.co.uk
 phone: 07905 505676
**



Bug#923362: libpam-runtime: dpkg-reconfigure libpam-runtime disables systemd profile

2019-02-26 Thread Steve Langasek
On Tue, Feb 26, 2019 at 04:22:04PM -0800, Matthew Foulkes wrote:
> Thanks for your help.

> Tar archives of the contents of /var/lib/pam before and after running
> 'dpkg-reconfigure libpam-runtime' are attached as pam.before.tar and
> pam.after.tar.

> Before running 'dpkg-reconfigure libpam-runtime', the output of
> 'debconf-show libpam-runtime' is:

>  libpam-runtime/title:
>  libpam-runtime/conflicts:
>  libpam-runtime/no_profiles_chosen:
>  libpam-runtime/override: false
> * libpam-runtime/profiles: unix, systemd, gnome-keyring

> After running 'dpkg-reconfigure libpam-runtime' but making no changes, the
> output changes to:

>  libpam-runtime/override: false
>  libpam-runtime/no_profiles_chosen:
>  libpam-runtime/conflicts:
> * libpam-runtime/profiles: unix, gnome-keyring
>  libpam-runtime/title:

> Running 'pam-auth-update --enable systemd' restores the original debconf
> output.

> The computer was installed only this weekend using the latest Debian Buster
> alpha installer. The 'debsums -ce' command says that all configuration files
> are in their default states.

Is the debconf prompt shown when you run dpkg-reconfigure?  Is the systemd
option shown in the list of options?  (Will be listed as: "Register user
sessions in the systemd control group hierarchy")  If presented, is it
selected or unselected when the list is shown?  Did you select it or not?

> On Tue, Feb 26, 2019 at 03:34:53PM -0800, Steve Langasek wrote:
> > Control: tags -1 moreinfo unreproducible
> > 
> > On Tue, Feb 26, 2019 at 02:01:42PM -0800, Matthew Foulkes wrote:
> > > Package: libpam-runtime
> > > Version: 1.3.1-5
> > > Severity: normal
> > 
> > > Dear Maintainer,
> > 
> > > Running the
> > 
> > >   dpkg-reconfigure libpam-runtime
> > 
> > > command offers the user a list of pam profiles to enable or
> > > disable. Whether or not the user decides to make any changes,
> > > dpkg-reconfigure always silently disables the systemd profile,
> > > breaking a lot of desktop functionality. Attempts to use
> > > dpkg-reconfigure to re-enable the systemd profile fail
> > > silently.
> > 
> > > The problem can be fixed by running
> > 
> > >   pam-auth-update --enable systemd
> > 
> > > but reappears whenever dpkg-reconfigure is used again.
> > 
> > I cannot reproduce this problem locally.  Please attach the contents of your
> > /var/lib/pam directory and the output of the command 'debconf-show
> > libpam-runtime'.
> > 
> > -- 
> > 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
> 
> 
> 
> -- 
> **
>  email: m.foul...@blueyonder.co.uk
>  phone: 07905 505676
> **

> drwxr-xr-x root/root 0 2019-02-26 16:14 pam/
> -rw-r--r-- root/root68 2019-02-26 16:14 pam/auth
> -rw-r--r-- root/root   115 2019-02-26 16:14 pam/session
> -rw-r--r-- root/root75 2019-02-26 16:14 pam/session-noninteractive
> -rw-r--r-- root/root76 2019-02-26 16:14 pam/account
> -rw-r--r-- root/root37 2019-02-26 16:14 pam/seen
> -rw-r--r-- root/root   121 2019-02-26 16:14 pam/password

> drwxr-xr-x root/root 0 2019-02-26 16:11 pam/
> -rw-r--r-- root/root68 2019-02-26 16:11 pam/auth
> -rw-r--r-- root/root75 2019-02-26 16:11 pam/session
> -rw-r--r-- root/root75 2019-02-26 16:11 pam/session-noninteractive
> -rw-r--r-- root/root76 2019-02-26 16:11 pam/account
> -rw-r--r-- root/root37 2019-02-26 16:11 pam/seen
> -rw-r--r-- root/root   121 2019-02-26 16:11 pam/password


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


signature.asc
Description: PGP signature


Bug#923362: libpam-runtime: dpkg-reconfigure libpam-runtime disables systemd profile

2019-02-26 Thread Matthew Foulkes

Hi Steve,

Thanks for your help.

Tar archives of the contents of /var/lib/pam before and after running 
'dpkg-reconfigure libpam-runtime' are attached as pam.before.tar and 
pam.after.tar.


Before running 'dpkg-reconfigure libpam-runtime', the output of 
'debconf-show libpam-runtime' is:


 libpam-runtime/title:
 libpam-runtime/conflicts:
 libpam-runtime/no_profiles_chosen:
 libpam-runtime/override: false
* libpam-runtime/profiles: unix, systemd, gnome-keyring

After running 'dpkg-reconfigure libpam-runtime' but making no changes, 
the output changes to:


 libpam-runtime/override: false
 libpam-runtime/no_profiles_chosen:
 libpam-runtime/conflicts:
* libpam-runtime/profiles: unix, gnome-keyring
 libpam-runtime/title:

Running 'pam-auth-update --enable systemd' restores the original debconf 
output.


The computer was installed only this weekend using the latest Debian 
Buster alpha installer. The 'debsums -ce' command says that all 
configuration files are in their default states.


Best wishes, Matthew



On Tue, Feb 26, 2019 at 03:34:53PM -0800, Steve Langasek wrote:

Control: tags -1 moreinfo unreproducible

On Tue, Feb 26, 2019 at 02:01:42PM -0800, Matthew Foulkes wrote:

Package: libpam-runtime
Version: 1.3.1-5
Severity: normal



Dear Maintainer,



Running the



  dpkg-reconfigure libpam-runtime



command offers the user a list of pam profiles to enable or
disable. Whether or not the user decides to make any changes,
dpkg-reconfigure always silently disables the systemd profile,
breaking a lot of desktop functionality. Attempts to use
dpkg-reconfigure to re-enable the systemd profile fail
silently.



The problem can be fixed by running



  pam-auth-update --enable systemd



but reappears whenever dpkg-reconfigure is used again.


I cannot reproduce this problem locally.  Please attach the contents of your
/var/lib/pam directory and the output of the command 'debconf-show
libpam-runtime'.

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




--
**
 email: m.foul...@blueyonder.co.uk
 phone: 07905 505676
**


pam.before.tar
Description: Unix tar archive


pam.after.tar
Description: Unix tar archive


Bug#923362: libpam-runtime: dpkg-reconfigure libpam-runtime disables systemd profile

2019-02-26 Thread Steve Langasek
Control: tags -1 moreinfo unreproducible

On Tue, Feb 26, 2019 at 02:01:42PM -0800, Matthew Foulkes wrote:
> Package: libpam-runtime
> Version: 1.3.1-5
> Severity: normal

> Dear Maintainer,

> Running the

>   dpkg-reconfigure libpam-runtime

> command offers the user a list of pam profiles to enable or 
> disable. Whether or not the user decides to make any changes, 
> dpkg-reconfigure always silently disables the systemd profile, 
> breaking a lot of desktop functionality. Attempts to use 
> dpkg-reconfigure to re-enable the systemd profile fail 
> silently.

> The problem can be fixed by running 

>   pam-auth-update --enable systemd

> but reappears whenever dpkg-reconfigure is used again.

I cannot reproduce this problem locally.  Please attach the contents of your
/var/lib/pam directory and the output of the command 'debconf-show
libpam-runtime'.

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


signature.asc
Description: PGP signature


Bug#923362: libpam-runtime: dpkg-reconfigure libpam-runtime disables systemd profile

2019-02-26 Thread Matthew Foulkes
Package: libpam-runtime
Version: 1.3.1-5
Severity: normal

Dear Maintainer,

Running the

  dpkg-reconfigure libpam-runtime
  
command offers the user a list of pam profiles to enable or 
disable. Whether or not the user decides to make any changes, 
dpkg-reconfigure always silently disables the systemd profile, 
breaking a lot of desktop functionality. Attempts to use 
dpkg-reconfigure to re-enable the systemd profile fail 
silently.

The problem can be fixed by running 

  pam-auth-update --enable systemd

but reappears whenever dpkg-reconfigure is used again.

Best wishes, Matthew

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libpam-runtime depends on:
ii  debconf [debconf-2.0]  1.5.70
ii  libpam-modules 1.3.1-5

libpam-runtime recommends no packages.

libpam-runtime suggests no packages.

-- debconf-show failed