Brian Murray wrote:
> Ah I think it (the tmpfile isn't created) because /usr/bin/screen is
> 2755 in Ubuntu 16.04 but 755 in Ubuntu 18.04. Here's the change between
> the two releases.
Ah! That's due to switching to use libutempter. We're getting quite
close to the issue.
I though wonder how to fix that for Bionic in the best way. Maybe
adding something like this to screen.preinst (not postinst):
perms="`stat -c%a /usr/bin/screen`"
override=/etc/tmpfiles.d/screen-cleanup.conf
if [ $perms -eq 2755 ]; then
chmod 0777 /var/run/screen
[ -f $override ] || echo 'd /var/run/screen 0777 root utmp' > $override
I assume that this is nothing which would make sense to add to future
releases of Debian's screen package, or does it?
Hi,
Brian Murray wrote:
> Ah I think it (the tmpfile isn't created) because /usr/bin/screen is
> 2755 in Ubuntu 16.04 but 755 in Ubuntu 18.04. Here's the change between
> the two releases.
Ah! That's due to switching to use libutempter. We're getting quite
close to the issue.
I though wonder how to fix that for Bionic in the best way. Maybe
adding something like this to screen.preinst (not postinst):
perms="`stat -c%a /usr/bin/screen`" /etc/tmpfiles. d/screen- cleanup. conf
override=
if [ $perms -eq 2755 ]; then
chmod 0777 /var/run/screen
[ -f $override ] || echo 'd /var/run/screen 0777 root utmp' > $override
I assume that this is nothing which would make sense to add to future
releases of Debian's screen package, or does it?
Regards, Axel /people. debian. org/~abe/
--
,''`. | Axel Beckert <email address hidden>, https:/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE