backup/temporary files (Re: Bug#775265: unblock: systemd/215-9)

Michael Biebl biebl at debian.org
Tue Jan 20 17:18:00 GMT 2015


Am 20.01.2015 um 17:56 schrieb Michael Biebl:
> I looked into this a bit more myself. Unfortunately, those .sh suffixes
> are not the only ways to trigger this particular bug.
> 
> As can be seen in [1], this can also be caused by backup/temporary
> files, i.e. the name of the sysv init script no longer matches the name
> in the Provides: field, and therefor we create a symlink and subsequent
> creation of the real unit file fails.

While investigating this, I noticed that the existing list of
backup/temporary files [1] is incomplete/incorrect and we should
probably also ignore the temporary files created by
dpkg-maintaintscripts-helper and ucf.


dpkg: .dpkg-{new,old,dist,tmp} (according to lib/dpkg/dpkg.h)
dpkg-maintscripts-helper: .dpkg-{bak,backup,remove}
ucf: .ucf-{new,old,dist}

Helmut mentioned on IRC, that it would probably also be a good idea to
ignore temporary files created by dpkg-divert.


[1] http://cgit.freedesktop.org/systemd/systemd/tree/src/shared/util.c#n1539
-- 
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/20150120/096293da/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list