Moin
ich habe bei mir gestern die Shorewall ans laufen gebracht. Jetzt müllt sie aber die ganze zeit die Konsole (strg+alt+F2) zu.
Kann mir jemand sagen, wie man ihr das abgewöhnt ?
Danke schonmal..
Frank
Shorewall müllt die Konsole zu !
Hi,
in /etc/default/klogd zum Beispiel:
in /etc/default/klogd zum Beispiel:
Code: Alles auswählen
#KLOGD="-x"
KLOGD="-c 5"
When -c is given on the commandline the klogd daemon will execute a system call to inhibit all kernel messages from being displayed on the console. Former versions always issued this system call and defaulted to all kernel messages except for panics. This is handled differently nowardays so klogd doesn't need to set this value anymore. The argument given to the -c switch specifies the priority level of messages which will be directed to the console. Note that messages of a priority value LOWER than the indicated number will be directed to the console.
For example, to have the kernel display all messages with a priority level of 3 (KERN_ERR) or more severe the following command would be executed:
klogd -c 4
Shorewall müllt die Konsole zu !
Hallo,
Du kannst das log-Verhalten über /etc/shorewall/shorewall.conf
einrichten. Weitere Informationen:
http://www.shorewall.net/shorewall_logging.html
Gruß
Matthias
Du kannst das log-Verhalten über /etc/shorewall/shorewall.conf
einrichten. Weitere Informationen:
http://www.shorewall.net/shorewall_logging.html
Gruß
Matthias
Eine andere Variante einzustellen ab welchem Log Level Kernel Messages auf der Console erscheinen, ist den ersten der folgenden vier Werte zu verändern:
Sinnvoll ist z.B. dort ein Wert von 4, manuell zu setzen über
oder permanent in der Konfigurationsdatei /etc/sysctl.conf die Zeile
hinzufügen bzw. bei der evtl. schon vorhandenen einfach das Kommentarzeichen entfernen.
Gruss, Tobias
Code: Alles auswählen
cat /proc/sys/kernel/printk
7 4 1 7
Code: Alles auswählen
echo 4 4 1 7 > /proc/sys/kernel/printk
Code: Alles auswählen
kernel.printk = 4 4 1 7
Gruss, Tobias