Skip to contentSkip to conversation

rsyslogd, rklogd and Debian

refpolicy Stefan Schulze Frielinghaus 2 participants 2 messages Feb 23, 2008 – Feb 25, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

You can find rsyslogd and rklogd under /usr/sbin instead of /sbin like Fedora does.

Attached patch adds the file context especially for Debian. But I would recommend a clean up of the whole file. Because several entries exist for klogd in /sbin and /usr/sbin and so on. It's not really consistent.

modules/system/logging.fc renamed from usr/src/refpolicy-20071214/policy/modules/system/logging.fc +4 -0
@@ -19,6 +19,10 @@
 ifdef(`distro_gentoo', `
 /usr/sbin/syslog-ng	--	gen_context(system_u:object_r:syslogd_exec_t,s0)
 ')
+ifdef(`distro_debian',`
+/usr/sbin/rklogd	--	gen_context(system_u:object_r:klogd_exec_t,s0)
+/usr/sbin/rsyslogd	--	gen_context(system_u:object_r:syslogd_exec_t,s0)
+')
 
 ifdef(`distro_suse', `
 /var/lib/stunnel/dev/log -s	gen_context(system_u:object_r:devlog_t,s0)
#1 lore raw
Quoted 6 lines · Stefan Schulze Frielinghaus

You can find rsyslogd and rklogd under /usr/sbin instead of /sbin like Fedora does.

Attached patch adds the file context especially for Debian. But I would recommend a clean up of the whole file. Because several entries exist for klogd in /sbin and /usr/sbin and so on. It's not really consistent.

I added the entries and did some revising.

Signature · 10 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.