find issue led to possible fsck bug

Stephen Smalley sds at tycho.nsa.gov
Wed May 3 12:16:49 UTC 2006


On Tue, 2006-05-02 at 12:06 -0400, Scot L. Harris wrote:
> New clean install of FC5.
> 
> Error from running find command:
> 
> 
> [root at ws-ai ~]# find / -name "ipop*" -print
> /usr/share/logwatch/scripts/services/ipop3d
> /usr/share/logwatch/default.conf/services/ipop3d.conf
> find: WARNING: Hard link count is wrong for /selinux: this may be a bug
> in your filesystem driver.  Automatically turning on find's -noleaf
> option.  Earlier results may have failed to include directories that
> should have been searched.

Known bug in the selinuxfs pseudo filesystem code, already fixed in the
upstream kernel.
http://marc.theaimsgroup.com/?l=git-commits-head&m=114304707630016&w=2

fsck won't help with that.  Might want to use -fstype ext3 or \! -fstype
selinuxfs to find to exclude selinuxfs from the search.

-- 
Stephen Smalley
National Security Agency




More information about the fedora-list mailing list