Hi Mark,

>> Jan 10 09:44:42 panther amavis[16260]: (26708-17) (!!)run_command: child
>> process [16260]: Can't open /dev/null: Permission denied at /.../amavisd
>> line 2354.
>
>> At the time that this happened, /dev/null was showing permissions of 
>> 0660.
>> A "temporary fix" (and the one I employed in December) was to 'chomd 666
>> /dev/null' and away it went.
>
> Silly. Why would /dev/null be read-protected for non-owner (and 
> non-group)???

For future reference, in case anyone else runs into this problem and comes 
searching in the archives for it...   I am running syslog-ng 2.0, and had 
added a log destination that pointed to /dev/null, for discarding certain 
messages that I could care less about and which merely serve to clutter log 
files.  Problem is, it appears that syslog-ng resets the permissions on 
/dev/null !

Solution: Remove /dev/null destination from syslog-ng.conf.

Presumably, more than just Amavis would ultimately run into problems, but 
Amavis just happened to be the program that complained most loudly ...

Take care,
Anthony


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to