Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Aug 2008 13:48:08 +0100
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: get periodic to not scan a partition
Message-ID:  <20080802134808.5d7b3eee@gumby.homeunix.com.>
In-Reply-To: <69728418-D91B-41C4-B4E0-F3913584AEC4@poughkeepsieschools.org>
References:  <88DEC8CC-1BBC-4AAA-AECF-0F8736043212@poughkeepsieschools.org> <20080802131909.07ccddab@gumby.homeunix.com.> <69728418-D91B-41C4-B4E0-F3913584AEC4@poughkeepsieschools.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2 Aug 2008 08:30:20 -0400
"B. Cook" <bcook@poughkeepsieschools.org> wrote:

> 
> On Aug 2, 2008, at 8:19 AM, RW wrote:
> 
> > On Sat, 2 Aug 2008 06:22:17 -0400
> > "B. Cook" <bcook@poughkeepsieschools.org> wrote:
> >
> >> hello all,
> >>
> >> I have a machine doing backups with backuppc (excellent program
> >> btw) and I have them being stored in /exports
> >>
> >> /dev/ad4s1h     57G     31G     21G    60%    /exports
> >>
> >> /dev/ad4s1h on /exports (ufs, local, noatime, soft-updates)
> >>
> >> it is now almost 6:20 am and periodic has been running since 3:01..
> >> and it will complete in another 4 hours..
> >>
> >> root     92866  0.6  0.1  3064  1488  ??  D     3:01AM   1:00.93
> >> find / exports -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm
> >> -o+x ) ( - perm -u+s -or -perm -g+s ) -print0
> >>
> >> is there something I can do to get periodic to not look
> >> in /exports?
> >
> > The above search is looking for setuid binaries, if you
> > mount /exports as noexec and/or nosuid then it wont get searched.
> >
> 
> I will see what happens when I do that.. as I remember it did  
> something to break the building of world and I think port building
> as well..
> 
> this /exports also holds /usr/obj /usr/src and /usr/ports they are  
> symlinks to here.

In that case I'd try disabling the search with
daily_status_security_chksetuid_enable=no in periodic.conf, and
possibly putting a modified version in /usr/local/etc/periodic/security.



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