On Wednesday, November 24, 2021 4:51:36 AM EST Miro HronĨok wrote:
>> Should there be a gating or other test that catches this?
>
> I've also noticed this problem, but with old python directories
> lingering after upgrades.
> For example, on my upgraded-from-ages-ago Fedora 35 Workstation
> machine, I still had empty directory trees for old pythons, i.e.
> directory trees containing empty "package" directories and empty
> __pycache__ directories in
> /usr/lib{,64}/python3.{7,8,9}/site-packages/
> Looks like a missing file / directory ownership problem in some python
> packages.
Yes, I regularly file bugzillas for packages that do that.
Therein lies the problem. I did not include the findings from /usr/share.
There are too many problems for me to start filing bug reports. But I think if
a package has exclusive use of a directory in /var/cache /var/log /var/spool
/var/lib /etc /usr/share, it should declare ownership. It is a very simple
test to write. This can be megabytes of old logs or data.
And, I was also very surprised to find 10's of gigabytes of data in
$HOME/.cache/debuginfod_client I don't know how it got there, why it's so
big, or how to limit it.
Cheers,
-Steve