Packaging issue: .service files are no conffiles (due to /lib) while init scripts are conffiles and hence remain longer on the system upon package removal without purging

Michael Biebl biebl at debian.org
Wed Jun 10 23:33:29 BST 2015


Am 10.06.2015 um 20:00 schrieb Axel Beckert:
> Michael Biebl wrote:
> Ok. I'll revert the previously committed solution (1) and will likely
> do the next upload without a fix for LP#1462692. I want to make an
> upload of some packaging-only changes soon as there is a new upstream
> imminent. The fix for LP#1462692 was last thing I wanted to have in
> that upload, but it seems less trivial than expected.
> 
> Anyway, thanks for caring!

Yeah, thanks as well for caring that your package works well under systemd!


>> (*) 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.

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

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?


Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150611/a85418a7/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list