Package: rsyslog
Version: 5.8.3-1
Severity: normal
On 2011-07-10 15:00 +0200, Michael Biebl wrote:
> Am 10.07.2011 14:22, schrieb Sven Joachim:
>> /dev/xconsole does not exist.
> - /dev/xconsole: This is a socket which needs to be created explictly, not a
> bug
> in systemd itself but rather rsyslog using native systemd service files.
> In the rsyslog sysv init script we have a mknod call, this should probably be
> added to the rsyslog.service too (or the rsyslog.conf log rules removed)
Filing this as a bug report now, so that it isn't forgotten.
I added these three lines to rsyslog.service:
ExecStartPre=-/bin/mknod -m 640 /dev/xconsole p
ExecStartPre=-/bin/chown root:adm /dev/xconsole
ExecStartPre=-/sbin/restorecon /dev/xconsole
Maybe it would be better to put those commands into a shell script and
only run them if /dev/xconsole does not exist.
Cheers,
Sven
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]