mirror of
/repos/baseimage-docker.git
synced 2025-12-30 08:01:31 +01:00
The syslog-ng script should restore /dev/xconsole permissions because that's what the official init script does
This commit is contained in:
parent
7bde5d9993
commit
612b1504af
@ -24,6 +24,8 @@ esac
|
|||||||
if [ ! -e /dev/xconsole ]
|
if [ ! -e /dev/xconsole ]
|
||||||
then
|
then
|
||||||
mknod -m 640 /dev/xconsole p
|
mknod -m 640 /dev/xconsole p
|
||||||
|
chown root:adm
|
||||||
|
[ -x /sbin/restorecon ] && /sbin/restorecon $XCONSOLE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec syslog-ng -F -p /var/run/syslog-ng.pid $SYSLOGNG_OPTS
|
exec syslog-ng -F -p /var/run/syslog-ng.pid $SYSLOGNG_OPTS
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user