Bug#878768: systemd: *.dpkg-remove.service entries in systemctl

Michael Biebl biebl at debian.org
Mon Oct 16 16:52:01 BST 2017


Control: tags -1 moreinfo unreproducible

Am 16.10.2017 um 17:03 schrieb Martin von Wittich:
> Package: systemd
> Version: 232-25+deb9u1
> Severity: normal
> 
> Dear Maintainer,
> 
> one of our servers has several "*.dpkg-remove.service" entries in its
> systemctl output:
> 
> asterisk.iserv.eu ~ # systemctl | grep dpkg
> ● hdparm.dpkg-remove.service                       not-found active exited    hdparm.dpkg-remove.service
> ● kbd.dpkg-remove.service                          not-found active exited    kbd.dpkg-remove.service
> ● keymap.sh.dpkg-remove.service                    not-found active exited    keymap.sh.dpkg-remove.service
> ● mdadm-raid.dpkg-remove.service                   not-found active exited    mdadm-raid.dpkg-remove.service
> 
> Looks like systemd read these files while dpkg was upgrading the
> respective packages. I already tried `systemctl daemon-reload`, but that
> didn't remove them. I don't know how to get rid of these, and I believe
> that systemd should ignore dpkg temp files like these.

systemd should already ignore files ending in dpkg-remove, see
https://github.com/systemd/systemd/blob/master/src/basic/path-util.c#L808

Not surprisingly, I was not able to reproduce your problem.

Can you provide steps how I can reproduce the problem (ideally starting
with pristine stretch installation)

-- 
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: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20171016/1bf94263/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list