Package: util-linux
Version: 2.32-0.4
Severity: normal

Dear Maintainer,

Running "su -" or "su -l" or "su --login" makes use of /etc/pam.d/su-l
which revokes *all* keys in the session keyring.

This can be unexpected in situations where the key is utilised by the
invoking user (for example, to access an encrypted file system as
happened in my case; see https://github.com/dnschneid/crouton/issues/3860).

Hence, at the very least it needs to be documented.

It is indeed unfortunate that a single command "su" is used in a large
number of different ways and contexts in scripts across diverse systems
*without* consideration of the semantics. However, any such change is
bound to cause breakage and documentation is the best way to avoid
flames!

Regards,

Kapil.
--

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

Kernel: Linux 3.18.0-17554-g9194949d4df2 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8), 
LANGUAGE=en_IN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages util-linux depends on:
ii  fdisk          2.32-0.3
ii  libaudit1      1:2.8.3-1+b1
ii  libblkid1      2.32-0.3
ii  libc6          2.27-5
ii  libmount1      2.32-0.3
ii  libpam0g       1.1.8-3.7
ii  libselinux1    2.8-1+b1
ii  libsmartcols1  2.32-0.3
ii  libsystemd0    239-7
ii  libtinfo6      6.1+20180714-1
ii  libudev1       239-7
ii  libuuid1       2.32-0.3
ii  login          1:4.5-1.1
ii  zlib1g         1:1.2.11.dfsg-1

util-linux recommends no packages.

Versions of packages util-linux suggests:
ii  dosfstools          4.1-2
ii  kbd                 2.0.4-4
pn  util-linux-locales  <none>

-- no debconf information

-- 
Kapil Hari Paranjape

Reply via email to