I'm running Ubuntu 10.10 and the problem still exists - /dev/xconsole
doesn't exist.

If I manually create the node then restart rsyslog it works.
 # mknod -m 640 /dev/xconsole
 # chown root:adm /dev/xconsole
 # restart rsyslog

However, if I reload rsyslog as is done from logrotate it no longer works.
 # reload rsyslog

>From the man page for rsyslog, when it receives the HUP signal it closes
all file handles then reopens them. rsyslog runs as user syslog. When it
is initially run, it starts as root, opens the file handles then drops
the privs to user syslog. Upon a reload it's already running as syslog
so can't open /dev/xconsole.

As a fix, I changed to owner to syslog and now upon reloading rsyslog it works 
fine. I don't know if that's the best way to overcome the problem though or 
what else uses /dev/xconsole.
 # chown syslog /dev/xconsole

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/459730

Title:
  rsyslog doesn't create /dev/xconsole

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to