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
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