Bug 5781 - Syslog-ng.conf destination "consoleall" causes warnings
Summary: Syslog-ng.conf destination "consoleall" causes warnings
Alias: None
Product: Sisyphus
Classification: Development
Component: syslog-ng (show other bugs)
Version: unstable
Hardware: all Linux
: P2 minor
Assignee: inger@altlinux.org
QA Contact: qa-sisyphus
Depends on:
Reported: 2004-12-26 02:02 MSK by Ilya V. Pobelov
Modified: 2009-05-10 09:32 MSD (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ilya V. Pobelov 2004-12-26 02:02:56 MSK
Default /etc/syslog-ng.conf has destination rule
destination consoleall  { file("/dev/tty12"); };
which causes warnings in syslog
"Changing permissions on special file /dev/tty12"
To avoid it, permissions on /dev/tty12 should be consistent with common for all
destination consoleall  { file("/dev/tty12" owner(root) group(tty) perm(0620)); 
Tested version - syslog-ng-1.6.2-alt2
Steps to Reproduce:
1. Install syslog-ng with default config
2. Watch warnings in syslog
Actual Results:  
Warnings "Changing permissions on special file /dev/tty12" in syslog

Expected Results:  
No such warnings
Comment 1 Ilya V. Pobelov 2004-12-26 02:17:20 MSK
O, I am sorry, I don't figure out the full picture. syslog-ng gives this warning
every time at startup or when syslog-ng.conf accessed (even for reading) anyway.
So you may feel free to close these bug, or still make changes in syslog-ng.conf
to have same permissions for /dev/tty12 as for others. Or it was intentionally?
Comment 2 Michael Shigorin 2006-12-17 21:02:11 MSK
Судя по последней сборке, датированной апрелем 2004 -- пакету нужен другой

Бага странная (и с первого взгляда напоминает самодеятельность не слышавших про
pam_console авторов), но раз предлагаете закрыть, то так и сделаю.