[systemd-bugs] [Bug 82453] ignore temporary files / symlinks in .wants directories

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 11 06:41:45 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82453

Lennart Poettering <lennart at poettering.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Lennart Poettering <lennart at poettering.net> ---
I added a special exception for ".dpkg-tmp" now:

http://cgit.freedesktop.org/systemd/systemd/commit/?id=0cdfd26ef826f8a595ab7d85ebc37894f4f3d940

However, honestly, this is really a poor choice of dpkg. Its pretty customary
to create files prefixed with a "." for cases like this, to avoid them being
enumerated. (Also, it should really use a randomized suffix, to make things
atomic.  I mean, in this case dpkg probably knows that it will run only once at
a time, but still...). If dpkg would just follow the usual rules, and create
the temporary files using these rules then you wouldn't have to file bugs
against half the programs that enumerate files because they manage drop-in
directories...

Or to turn this around: instead of blacklisting dpkg's temporary files in each
and every program, it would be a much better idea to just make dpkg hide its
files from enumeration for most apps automatically.

Please ask the dpkg guys to fix this, so that this doesn't popup again and
again and again with other packages, requireing everybody to add more and more
items to their individual enumeration blacklists. 

We already have a per-package manager blacklist in place, so I just added one
more entry, but this is frcikin ugly...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140811/e6aaaa8c/attachment.html>


More information about the systemd-bugs mailing list