Bug#890862: debian-security-support: Please change from su to runuser

2018-02-20 Thread Santiago R.R.
El 20/02/18 a las 00:31, Jakobus Schürz escribió:
…
> in /usr/share/debian-security-support/check-support-status.hook is su
> used. This is a problem, because su starts a full pam-session. Since
> many years there is "runuser" in util-linux, built from the source of
> su. runuser does the same as su, but without starting a session in pam.
> 
> runuser is the equivalent for su in daemons. Using su causes for example
> xdg-user-dirs which installs the directories Desktop, Downloads and so
> on in /var/lib/debian-security-support. Using runuser instead, all is
> working the same as before, but no user-specific xdg-programs are
> running.
> 
> I have a problem with su, because i have a user-configuration, which
> mounts a special fuse-filesystem, and this throws me an error on every
> "apt install", which calls debian-security-support und it creates the
> xdg-user-dirs.
…

Thanks for reporting this.

However, it seems that runuser is available since stretch, and an
alternative supported by wheezy and jessie would be needed.

Cheers,

 -- Santiago


signature.asc
Description: PGP signature


Bug#890862: debian-security-support: Please change from su to runuser

2018-02-19 Thread Jakobus Schürz
Package: debian-security-support
Version: 2018.01.29
Severity: normal

Dear Maintainer,

in /usr/share/debian-security-support/check-support-status.hook is su
used. This is a problem, because su starts a full pam-session. Since
many years there is "runuser" in util-linux, built from the source of
su. runuser does the same as su, but without starting a session in pam.

runuser is the equivalent for su in daemons. Using su causes for example
xdg-user-dirs which installs the directories Desktop, Downloads and so
on in /var/lib/debian-security-support. Using runuser instead, all is
working the same as before, but no user-specific xdg-programs are
running.

I have a problem with su, because i have a user-configuration, which
mounts a special fuse-filesystem, and this throws me an error on every
"apt install", which calls debian-security-support und it creates the
xdg-user-dirs.

Please change. I tried it, and it works for me!

jakob



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

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debian-security-support depends on:
ii  adduser3.117
ii  debconf [debconf-2.0]  1.5.65
ii  gettext-base   0.19.8.1-4

debian-security-support recommends no packages.

debian-security-support suggests no packages.

-- debconf information:
* debian-security-support/ended:
  debian-security-support/limited:
  debian-security-support/earlyend: