[nycbug-talk] FreeBSD 340.noid periodic script + jails
Charles Sprickman
spork at bway.net
Mon Jan 8 22:12:49 EST 2007
On Thu, 4 Jan 2007, Pete Wright wrote:
> 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 /.
Sorry for the late reply to your late reply. :)
That looks like it should help us out.
The "patch" was just to add another line to the find command to exclude
anything with "jail" in it's name.
Thanks,
Charles
> HTH
>
> -p
>
>
> --
> ~~oO00Oo~~
> Peter Wright
> pete at nomadlogic.org
> www.nomadlogic.org/~pete
> 310.869.9459
>
>
More information about the talk
mailing list