<div dir="auto"><div>I will improve the protocol cruft-ng uses to parse the output of its explain/ add-on script.</div><div dir="auto"><br></div><div dir="auto">So now we have:</div><div dir="auto">* some [a-zA-Z0-9...]: a package name to attribute files too. That overrides explain/[name]</div><div dir="auto">* /var ... : the individual volatile files</div><div dir="auto"><br></div><div dir="auto">There would be a third category:</div><div dir="auto">* @ /usr/lib/systemd/system/something.service : the core C code of cruft-ng will evaluate the owner of this file and subsequent listed files will be attributed to this package</div><div dir="auto"><br></div><div dir="auto">This way all the explain/ scripts can use this new facility with remplacementing "dpkg -S" lookup all over the place (I'm thinking of SERVICES and TMPFILES, maybe LOGROTATE).</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Greetings</div><div dir="auto">Alexandre </div><div dir="auto"><br><div class="gmail_quote gmail_quote_container" dir="auto"><div dir="ltr" class="gmail_attr">Le dim. 3 mai 2026, 22:56, Alexandre Detiste <<a href="mailto:alexandre.detiste@gmail.com">alexandre.detiste@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le dim. 3 mai 2026 à 13:16, Simon McVittie <<a href="mailto:smcv@debian.org" target="_blank" rel="noreferrer">smcv@debian.org</a>> a écrit :<br>
> Could cruft-ng perhaps look at the package that owns the file<br>
> (dpkg -S equivalent) rather than its filename?<br>
<br>
It can but that makes it slower. It will call "dpkg -S" repeatedly.<br>
</blockquote></div></div></div>