[Pkg-systemd-maintainers] Bug#715060: piuparts errors: unowned files left after de-installation

Michael Stapelberg stapelberg at debian.org
Thu Nov 7 07:23:26 GMT 2013


Hi Andreas,

Andreas Beckmann <anbe at debian.org> writes:
>> Why does the version running at piuparts.debian.org still show these
>> other directories? Is this a mistake in the setup, or am I missing
>> something?
>
> Do not use the pbuilder chroot, its not minimal enough :-)
> Let piuparts create the chroot ... and you should see the error :-)
> (-s to save a tarball, -b to use it)
Nope, still don’t see the error. I attached the entire output of piuparts.

> In addition to this dh_systemd/ish manage stuff in /etc/systemd,
> creating missing directories if neccessary - which is wrong imho since
> these directories are also owned by other packages. So the management of
> these directories should be left to dpkg by just shipping an empty
> directory tree in /etc/systemd with everything that is needed.
To be clear, the package on behalf of which d-s-h creates directories
should rather ship those directories itself is what you’re saying? That
will require some additional logic in dh_systemd_enable to figure those
out at package build time.

> You also cannot depend on any package that ships /etc/systemd/system
> unless you have no postrm purge activities in that directory. Otherwise
> the uncertainty of purge order will remove the other package first.
…unless I also ship /etc/systemd/system/…, right?

-- 
Best regards,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: piuparts.log
Type: application/octet-stream
Size: 99699 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20131107/ad3c4225/attachment-0002.obj>


More information about the Pkg-systemd-maintainers mailing list