Comment 90 for bug 1364630

Revision history for this message
Teddy Larsen (o-teddy) wrote :

Commenting out:
****
# daemon.*;mail.*;\
# news.err;\
# *.=debug;*.=info;\
# *.=notice;*.=warn |/dev/xconsole
****
in /etc/rsyslog.d/50-default.conf did not work for me on Xubuntu 14.10, however doing the following did work:

terminal code:
sudo mknod -m 640 /dev/xconsole p
sudo chown root:adm /dev/xconsole

I now no longer have the broken pipe message during boot.

It seems to me, that the following function in /etc/init.d/rsyslog is never run:
create_xconsole() {
        XCONSOLE=/dev/xconsole
        if [ "$(uname -s)" != "Linux" ]; then
                XCONSOLE=/run/xconsole
                ln -sf $XCONSOLE /dev/xconsole
        fi
        if [ ! -e $XCONSOLE ]; then
                mknod -m 640 $XCONSOLE p
                chown root:adm $XCONSOLE
                [ -x /sbin/restorecon ] && /sbin/restorecon $XCONSOLE
        fi
}

Kind regards
Teddy