Package: syslog-ng
Version: 1.6.5-2.2
Severity: wishlist

This report seems to have some relevance with #242531, but
it seems that the problem still remains.

In the present configuration of syslog-ng package, users must
make /dev/xconsole and put appropriate permission of it, if 
/dev/xconsole is absent.

Usually, it seems that the preparation of /dev/xconsole is carried out 
by the script /etc/init.d/sysklogd which is provided by sysklogd package. 
This is the reason why upgrading from sysklogd, which is a base package,
to syslog-ng makes no trouble about /dev/xconsole. However, sometimes it 
disappears accidentally (e.g. installation of udev package).

I think it's better to maintain /dev/xconsole by the syslog-ng package. 

For example, to do so, you can use the following shell code, which is 
used in /etc/init.d/sysklogd, in /etc/init.d/syslog-ng:

create_xconsole()
{
    if [ ! -e /dev/xconsole ]; then
        mknod -m 640 /dev/xconsole p
    else
        chmod 0640 /dev/xconsole
    fi
    chown root:adm /dev/xconsole
}

Concerning to the permissions, /etc/syslog-ng/syslog-ng.conf might be
suitable place to specify (#242531 suggests it), instead of the code above.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to