> nor did I take the "-l" flag off.)

I've done some more digging and I think the "-l" flag was the problem.

I've just noticed a syslog entry that I had missed:  "wwwoffled[1358]:
Cannot open log file '/var/log/wwwoffle' [Permission denied]."

What appears to have happened was that wwwoffled started as root,
created /var/log/wwwoffle as writable only by root, and then changed
user to daemon.  It and its forks then lost access to the log file,
causing problems.

The workround is dead easy:  "chown daemon. /var/log/wwwoffle".

Hopefully Andrew will sometime add a chown(2) call somewhere between
opening/creating the file and the setuid call :-).

Since changing the log file ownership I've seen pictures half-fill,
pause, and then complete, and not seen any partial pictures.  While I've
only seen a small sample I am hopeful that everything will be OK now.

-- 
John F Hall

Reply via email to