Package: sysklogd
Version: 1.5-1
Severity: normal
File: /etc/init.d/sysklogd

Hi,
sysklogd init script creates /dev/xconsole named pipe, but its context
is ...:device_t and should be corrected by restorecon like udev init
script does for other device nodes.

diff -ruN sysklogd-1.5.orig/debian/rc sysklogd-1.5/debian/rc
--- sysklogd-1.5.orig/debian/rc 2007-11-27 15:23:15.000000000 +0100
+++ sysklogd-1.5/debian/rc      2007-11-27 15:26:50.000000000 +0100
@@ -37,6 +37,7 @@
        chmod 0640 /dev/xconsole
     fi
     chown root:adm /dev/xconsole
+    [ -x /sbin/restorecon ] && /sbin/restorecon /dev/xconsole
 }
 
 running()


Regards
-- 
zito

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-5-xen-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=cs_CZ.ISO-8859-2 (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages sysklogd depends on:
ii  klogd [linux-kernel-log-daemo 1.5-1      Kernel Logging Daemon
ii  libc6                         2.7-1      GNU C Library: Shared libraries

sysklogd recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to