Bug 33169

Summary: system freeze after cron daily security check
Product: Base System Reporter: Dziugas Baltrunas <menulis>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Dziugas Baltrunas 2001-12-25 14:20:00 UTC
when there are a lot of directories in /var, a part of daily cron script, 450.status-security executes find command, which after 10 minutes freezes the system.

Fix: 

haven't find yet. my solution was to disable status-security in /etc/defaults/periodic.conf
How-To-Repeat: try to "make" lot of files and directories in partition and to cron status-security.
Comment 1 Crist J. Clark freebsd_committer freebsd_triage 2001-12-28 08:36:54 UTC
On Tue, Dec 25, 2001 at 06:12:07AM -0800, Dziugas Baltrunas wrote:
[snip]

> when there are a lot of directories in /var, a part of daily cron script, 450.status-security executes find command, which after 10 minutes freezes the system.
> >How-To-Repeat:
> try to "make" lot of files and directories in partition and to cron status-security.
> >Fix:
> haven't find yet. my solution was to disable status-security in /etc/defaults/periodic.conf

First, lets narrow this down. Could you comment out everything from
the line,

  echo 'Checking setuid files and devices:'

To,

  # Show changes in the way filesystems are mounted

Then run the security check. Does it work now?

Just how many directories are in /var? Could you give us some more
hints on how to reproduce the problem?
-- 
"It's always funny until someone gets hurt. Then it's hilarious."

Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org
Comment 2 Crist J. Clark freebsd_committer freebsd_triage 2002-07-13 23:14:22 UTC
State Changed
From-To: open->closed

Feedback timeout.