[nycbug-talk] FreeBSD 340.noid periodic script + jails
Pete Wright
pete at nomadlogic.org
Thu Jan 4 12:14:19 EST 2007
On Tue, Dec 26, 2006 at 11:15:55PM -0500, Charles Sprickman wrote:
> Hi all,
>
> Just thought I'd run this one by the group...
>
> You're probably familiar with the periodic script
> (/etc/periodic/weekly/340.noid) that reports on what files on a host that
> have an unknown user or group. One annoyance I've found beyond the
> occasional tarball that unpacks with unused uids is that many times there
> are UIDs that exist in a jail but not on the main host.
>
> For now we just threw a patch in there to skip the path that matches where
> we stash the jails. Ideally I'd like to figure out a method that would
> not involve applying this everytime we see a change there in a mergemaster
> run.
>
> We brainstormed a bit and came up entry. Anyone else faced with this tiny
> annoyance?
>
sorry for the really late reply on this, just catching up on my email,
what does your patch look like? according to the periodic.conf man page
you can define this variable:
weekly_noid_dirs
(str) A list of directories under which orphaned files are
searched for. This would usually be set to /.
HTH
-p
--
~~oO00Oo~~
Peter Wright
pete at nomadlogic.org
www.nomadlogic.org/~pete
310.869.9459
More information about the talk
mailing list