Possible /dev/null corruption

Anonymous anonymous at easysw.com
Fri Apr 28 06:21:53 PDT 2006


Hello all!

For all current versions:

If a log file points to /dev/null, the log-rotating is not disabled.
Only changing the file permissions and ownership is catched in
check_log_file() in log.c

When the file reaches MaxLogSize (the size is counted internally, not
via the "stat" call), "/dev/null" is renamed to "/dev/null.O" and a
bew ordinary file "/dev/null" is created.

Bye,

Martin








More information about the cups-devel mailing list