Stoppt den Ueberwachungsstaat! Jetzt klicken & handeln Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:
Open information provided by nexxes Informationstechnik GmbH

July 11, 2009

Syslog-ng and /dev/null

Posted by Dennis Birkholz

Beware to try to use /dev/null as a drop target for syslog-ng by using something like the following in your syslog-ng.conf:

destination d_drop { file("/dev/null"); };

This will chmod your /dev/null file to 0600 (also known as crw-------) at every startup and cause many failures on your system/server. Use an empty target to drop your log messages:

destination d_drop { };
Category: System Administration — Tags: , , ,
Posted at 03:11 —