From owner-freebsd-current@FreeBSD.ORG Mon Apr 25 09:18:59 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5A40106566B for ; Mon, 25 Apr 2011 09:18:59 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6A3838FC0C for ; Mon, 25 Apr 2011 09:18:59 +0000 (UTC) Received: by iwn33 with SMTP id 33so2440735iwn.13 for ; Mon, 25 Apr 2011 02:18:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:x-openpgp-key-id:x-openpgp-key-fingerprint :x-openpgp-key-url; bh=G+tV54HePoKWBQxRcMhgfc3z8Tk7/ibHwIantSDL4ec=; b=slHffT8GCY+QgdJDLjXw5DLPghZzrKRkjpBSaWXiMOv42sV7m006SMN9KlbcvH/xTr rmmGfSWpC+s+/JRm/+X35mm8HGa5ehpYaRrXQz1TJGQxVaYYA7CT57V5YcRhkNs/2Xgm OoDL1VARSvp2+seQFZ7/NomhCpY/+SG5BzuAY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-openpgp-key-id :x-openpgp-key-fingerprint:x-openpgp-key-url; b=QV0XPGqw8170DaPhwA8eJgHAiJjazYiB7P9l7oPjuRyG/+4PT8gIyh03qUYgpgOPYY Fn50bHrMzXeLGl5x9iMY6boMSev6jpHirCIc4iJh6ghKsv4PWZOf7zLFf2EpghoxlpqW cPu1XazaD6UC2UF5wdEWXpmLmbt6UZaOSQdAI= Received: by 10.42.150.66 with SMTP id z2mr4294522icv.462.1303721506221; Mon, 25 Apr 2011 01:51:46 -0700 (PDT) Received: from DataIX.net (adsl-99-190-84-116.dsl.klmzmi.sbcglobal.net [99.190.84.116]) by mx.google.com with ESMTPS id xj16sm1971908icb.18.2011.04.25.01.51.43 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 25 Apr 2011 01:51:44 -0700 (PDT) Sender: "J. Hellenthal" Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.4/8.14.4) with ESMTP id p3P8pePf027290 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 25 Apr 2011 04:51:40 -0400 (EDT) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.4/8.14.4/Submit) id p3P8pdnO027289; Mon, 25 Apr 2011 04:51:39 -0400 (EDT) (envelope-from jhell@DataIX.net) Date: Mon, 25 Apr 2011 04:51:38 -0400 From: "J. Hellenthal" To: Glen Barber Message-ID: <20110425085138.GA22646@DataIX.net> References: <4DB40853.5@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: <4DB40853.5@gmail.com> X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E X-OpenPGP-Key-URL: http://bit.ly/0x89D8547E Cc: current@freebsd.org Subject: Re: "No such file or directory" in daily setuid checks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 09:18:59 -0000 --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 24, 2011 at 07:24:03AM -0400, Glen Barber wrote: >Hi, > >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 > Hi Glen, ;) By chance do you have these properties set on the pool or datasets: listsnaps (zpool property) snapdir (zfs property) A ( ls -A ) in the offending directory should verify this by showing a hidden snapdir that would normally not be shown. It might be wise to update the script to just not take those special directories into consideration unless some rc_var is turned on. Recommended naming convention for the var: ? daily_status_security_chksetuid_snapdir_recursive=3D"NO" If so can you flip these off and test it again by running the same commands that are run in the 100.chksetuid script ? Actually I just looked over the script, "That syntax is just fuggin crazy" ( find /path/to/offending/directory ) should do it. --=20 Regards, J. Hellenthal WWJD --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) Comment: http://bit.ly/0x89D8547E iQEcBAEBAgAGBQJNtTYZAAoJEJBXh4mJ2FR+wBUIAJKBswPxr2urtkKkkHosK52Z RD8hw9mksYXKYAO59YG/vA6G3ES6yqbdAK01j9TWiz4KuAmfckbYC2OHjfBmq7ur phow3DJzR4LLQUUSWz1SzCS/4zZ3siSHoE8zpgFv5IBkNS4i0yHsBQNq+pzKPhA5 cJ9TQm4jK1uGiJeFq2mWhMJiNSy8Ok7TxdzY0nDkNwFm2MAa975Uk5XUypAZQ0VR thgDwuT2cml5o/W4DkJjfAXoSECgcz8zKtpqxrqtDGoSPlT/UPWpWGLs67JPuzl5 SnJYMHhWyKdiDTftsw+vooJfyOarVafXIkW+AXbXoPXnRnuG5VHgwLnrwLK/jI0= =7L4x -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--