Package: screen
Version: 4.1.0~20120320gitdb59704-9
Severity: wishlist

screen currently has an init script to set up /var/run/screen.  Please
consider adding native systemd support as well.

I've attached a file screen.conf to install in /usr/lib/tmpfiles.d,
which sets up /var/run/screen.  That then makes /etc/init.d/screen
unnecessary, so screen should also install a symlink
/lib/systemd/systemd/screen -> /dev/null to prevent it from running.

(It's possible that screen.conf should also have "z /var/run/screen", to
correspond to the restorecon call in the initscript, but I'm not an
SELinux expert, so I don't know.)

Note that this just covers the permissions of screen as installed by the
package.  If an admin wants to use dpkg-statoverride to change the
permissions of screen and give it a different group or make it setuid
root, it's trivial to also install an overriding /etc/tmpfiles.d/screen
with corresponding permissions.  Nonetheless, that'd be worth mentioning
in NEWS.Debian.

- Josh Triplett

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages screen depends on:
ii  libc6      2.18-3
ii  libpam0g   1.1.8-2
ii  libtinfo5  5.9+20140118-1

screen recommends no packages.

Versions of packages screen suggests:
pn  iselect | screenie | byobu  <none>

-- no debconf information
d /var/run/screen 0775 root utmp

Reply via email to