Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2011 07:24:03 -0400
From:      Glen Barber <glen.j.barber@gmail.com>
To:        current@freebsd.org
Subject:   "No such file or directory" in daily setuid checks
Message-ID:  <4DB40853.5@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm running a fairly recent -CURRENT on a new storage machine:

kaos % uname -a
FreeBSD kaos 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sat Apr 16 06:39:04 EDT
2011     root@kaos:/usr/obj/usr/src/sys/GENERIC  amd64

I'm using ZFS v28 with dedup (thank you, pjd!) on an NFS-exported
dataset, to which I backup another machine using rsnapshot:

kaos % zpool list
NAME    SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
zroot  2.70T  28.9G  2.67T     1%  11.80x  ONLINE  -

kaos % zfs get dedup zroot/usr/backup
NAME              PROPERTY  VALUE          SOURCE
zroot/usr/backup  dedup     sha256,verify  local

kaos % showmount -e
Exports list on localhost:
/usr/backup                        192.168.1.0

I've been seeing the following in my daily periodic emails:

Checking setuid files and devices:
find: /usr/backup/hourly.14/orion: No such file or directory
find: /usr/backup/hourly.14: No such file or directory
find: /usr/backup/hourly.15/orion: No such file or directory
find: /usr/backup/hourly.15: No such file or directory
[...]

Files/directories do exist, however:

kaos % ll /usr/backup/hourly.14/orion/usr/
total 4
drwxr-xr-x  5 root  wheel  5 Apr 23 17:01 home
drwxr-xr-x  4 root  wheel  5 Apr 23 17:01 local

kaos % ls /usr/backup/hourly.14/orion/usr/home/gjb/ | wc -l
      82

The UID for my primary logon has changed between these two machines, so
I do expect to see output from the weekly 340.noid check, but I'm not
sure what to make of the 'No such file or directory' output in the daily
emails.

If it matters, the machine that is backing up to the NFS dataset is
running 8-STABLE:

orion % uname -a
FreeBSD orion 8.2-STABLE FreeBSD 8.2-STABLE #9 r219355: Sun Mar  6
19:31:45 EST 2011     root@orion:/usr/obj/usr/src/sys/ORION  amd64

I'm not sure if this is ZFS or NFS related, and I'm not entirely sure
where to begin looking.  Any ideas?

Regards,

-- 
Glen Barber



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DB40853.5>