/etc/tmpfiles.d in screen package (was: Re: Packaging issue: .service files are no conffiles ...)

Axel Beckert abe at debian.org
Wed Jun 10 23:50:43 BST 2015


Hi Michael,

Michael Biebl wrote:
> >> (*) you seem to ship an empty /etc/tmpfiles.d directory for no apparent
> >> reason
> > 
> > See https://sources.debian.net/src/screen/4.2.1-3/debian/README.Debian/#L104
> > and the following lines for the reason. Was suggested by Josh and added in
> > https://anonscm.debian.org/cgit/collab-maint/screen.git/commit/?id=f843000b
> 
> Well, the /etc/tmpfiles.d directory is already shipped by systemd:
> $ dpkg -L systemd | grep /etc/tmpfiles
> /etc/tmpfiles.d
> 
> And I think systemd is the correct package to own this directory.

Definitely.

> I think your point is, that the following command is supposed to work
> without having the user create the /etc/tmpfiles.d directory explicitly:
> 
> echo 'd /var/run/screen 0755 root utmp' >
> /etc/tmpfiles.d/screen-cleanup.conf

Exactly.

> But if you are not using systemd (i.e., systemd is not installed), why
> would you care about creating an override tmpfiles snippet for screen?

Indeed. I can't remember the details, but I vaguely remember that I
didn't have a system running systemd for testing such things back then
(only shortly afterwards), so I expect that I wasn't aware of systemd
already shipping that directory.

I'm totally fine with systemd shipping that directory, so I can drop
it from screen. (I'd just would feel an urge to ship it again if
systemd would no more ship that directory despite it still can be
used.)

Thanks for the explanations.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  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




More information about the Pkg-systemd-maintainers mailing list