[Bug 279698] 'make delete-old' fails to delete directories because of some really old files in them
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 279698] 'make delete-old' fails to delete directories because of some really old files in them"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 279698] 'make delete-old' fails to delete directories because of some really old files in them"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Jun 2024 15:54:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279698
Bug ID: 279698
Summary: 'make delete-old' fails to delete directories because
of some really old files in them
Product: Base System
Version: 14.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: bugs@FreeBSD.org
Reporter: yuri@freebsd.org
Here is what 'make delete-old' prints:
[root@yv /usr/src]# make delete-old
>>> Removing old files (only deletes safe to delete libs)
>>> Old files removed
>>> Removing old directories
rmdir: /usr/share/man/en.UTF-8/cat9: Directory not empty
rmdir: /usr/share/man/en.UTF-8/cat8: Directory not empty
rmdir: /usr/share/man/en.UTF-8/cat7: Directory not empty
rmdir: /usr/share/man/en.UTF-8/cat5: Directory not empty
rmdir: /usr/share/man/en.UTF-8/cat4: Directory not empty
rmdir: /usr/share/man/en.UTF-8/cat3: Directory not empty
rmdir: /usr/share/man/en.UTF-8/cat2: Directory not empty
rmdir: /usr/share/man/en.UTF-8/cat1: Directory not empty
rmdir: /usr/share/man/en.UTF-8: Directory not empty
rmdir: /usr/share/man/en.ISO8859-1/cat8: Directory not empty
rmdir: /usr/share/man/en.ISO8859-1/cat4: Directory not empty
rmdir: /usr/share/man/en.ISO8859-1: Directory not empty
rmdir: /usr/share/man/cat8: Directory not empty
rmdir: /usr/share/man/cat7: Directory not empty
rmdir: /usr/share/man/cat3: Directory not empty
rmdir: /usr/share/man/cat2: Directory not empty
rmdir: /usr/share/man/cat1: Directory not empty
rmdir: /usr/share/certs/blacklisted: Directory not empty
>>> Old directories removed
To remove old libraries run 'make delete-old-libs'.
[root@yv /usr/src]#
It fails to remove the directories because there are some old files in them,
for example:
[root@yv /usr/src]# ls -l /usr/share/man/en.UTF-8/cat5/
total 280
-rw-r--r-- 1 root wheel 399 Oct 29 2011 auth.conf.5.gz
-rw-r--r-- 1 root wheel 3713 Jan 6 2011 crontab.5.gz
-rw-r--r-- 1 root wheel 1314 May 31 2011 devfs.rules.5.gz
-rw-r--r-- 1 root wheel 916 Apr 22 2010 ethers.5.gz
-rw-r--r-- 1 root wheel 5315 Jun 22 2010 exports.5.gz
-rw-r--r-- 1 root wheel 3147 Feb 15 2010 fstab.5.gz
-rw-r--r-- 1 root wheel 1362 Aug 15 2011 group.5.gz
-rw-r--r-- 1 root wheel 1091 Sep 14 2011 hosts.5.gz
-rw-r--r-- 1 root wheel 1995 Aug 14 2011 libmap.conf.5.gz
-rw-r--r-- 1 root wheel 2737 Aug 20 2011 loader.conf.5.gz
-rw-r--r-- 1 root wheel 3314 Oct 24 2010 nsswitch.conf.5.gz
-rw-r--r-- 1 root wheel 1872 Oct 29 2011 pam.conf.5.gz
-rw-r--r-- 1 root wheel 31709 Aug 17 2010 pf.conf.5.gz
-rw-r--r-- 1 root wheel 25074 Aug 18 2010 rc.conf.5.gz
-rw-r--r-- 1 root wheel 2573 Sep 14 2011 resolv.conf.5.gz
-rw-r--r-- 1 root wheel 5061 Aug 13 2010 src.conf.5.gz
-rw-r--r-- 1 root wheel 11158 Jan 11 2010 ssh_config.5.gz
-rw-r--r-- 1 root wheel 2035 Jan 6 2012 ttys.5.gz
[root@yv /usr/src]#
Other directories also have some very old files.
Shouldn't 'make delete-old' determine that these files are old and don't belong
there?
--
You are receiving this mail because:
You are the assignee for the bug.