Skip to content

Commit

Permalink
The syslog-ng script should restore /dev/xconsole permissions because…
Browse files Browse the repository at this point in the history
… that's what the official init script does
  • Loading branch information
FooBarWidget committed May 12, 2014
1 parent 7bde5d9 commit 612b150
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions image/runit/syslog-ng
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ esac
if [ ! -e /dev/xconsole ]
then
mknod -m 640 /dev/xconsole p
chown root:adm

This comment has been minimized.

Copy link
@mpeterson

mpeterson May 18, 2014

Contributor

While testing #79 I noticed that this line is incorrect... What did you intend to do here? It's missing the chown target

This comment has been minimized.

Copy link
@richardcrichardc

richardcrichardc May 29, 2014

Presumably it should be chown root:adm /dev/xconsole

[ -x /sbin/restorecon ] && /sbin/restorecon $XCONSOLE
fi

exec syslog-ng -F -p /var/run/syslog-ng.pid $SYSLOGNG_OPTS

0 comments on commit 612b150

Please sign in to comment.