Skip to contentSkip to conversation

Debian / SE-Linux - status report 29may2004

DISCUSSION Luke Kenneth Casson Leighton 2 participants 2 messages May 29, 2004 – Jun 1, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

Status report of bugs and stuff to do with Debian / SELinux upstream integration.

NSA/SELinux kernel 2.6:

http://www.nsa.gov/selinux/code/download5.cfm
http://sf.net/projects/selinux/ (see cvs).

status: most of the selinux enhancements are available
upstream in 2.6, however the very latest patches
are only available from the above sites.

debian kernel 2.6 images:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=249510
http://open.hands.com/~lkcl/selinux

status: raised only 12 days ago. requested that se/linux
security config options be enabled in stock Debian kernels but require selinux=1 and enforcing=1
to switch it on.

coreutils:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=193328

status: 1 year old, requested information, information now
provided, upstream and maintainer prodded for
acknowledgement.

logrotate:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=224880

status: russell alerted maintainer that upstream inclusion
is done (157 days ago) but debian package 3.7-1
disables it by default due to libselinux1 not being "base/required" or "important". change made to libselinux1 to reflect that.

cron:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=193644

i think this one's my favourite.

status: 1 year old. bit of a wing-ding and misunderstanding
over a field name, fortunately the maintainer stood
his ground until the non-cron-code-experts understood the issues. updated patch sent.

pam:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=249499

status: amazingly, only 19 days old. unless there's an
earlier one and it's already been integrated
upstream. changes are only to pam_unix, apparently.
information sought from upstream and from the
maintainer.

dpkg:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=249496

status: mr russell coker's postinst.d patch is apparently
well-known and the bugreport has been merged with
other bugs, one of which (#17243) dates back to 1998! kuudosss.

init:

	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=242900

	status: raised 50 days ago.  seeking information from
	        debian maintainer.

openssh:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=193664

status: raised 1 year ago, it was discussed, and the maintainer
specifically asked for russell to push for its
inclusion upstream. message sent to openssh-dev upstream, alerting them to the patch.

star, procps, util-linux, shadow, vixie-cron:

status: although patches are available from
http://www.nsa.gov/selinux/code/download5.cfm,
no bug-report or integration into debian/selinux have been initiated for these packages.

colin walters does have debian packages available (mirrored at http://selinux.lemuria.org/walters)

Signature · 15 lines
-- 
expecting email to be received and understood is a bit like
picking up the telephone and immediately dialing without
checking for a dial-tone; speaking immediately without listening
for either an answer or ring-tone; hanging up immediately and
believing that you have actually started a conversation.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:[email protected]"> [email protected] </a> <br />


--
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.
#1 lore raw
Quoted 8 lines · Luke Kenneth Casson Leighton

NSA/SELinux kernel 2.6:

http://www.nsa.gov/selinux/code/download5.cfm
http://sf.net/projects/selinux/ (see cvs).

status: most of the selinux enhancements are available
upstream in 2.6, however the very latest patches
are only available from the above sites.

Since we submit these changes upstream, I wouldn't worry too much about this. Debian kernel will pick up the changes eventually.

Quoted 9 lines

debian kernel 2.6 images:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=249510
http://open.hands.com/~lkcl/selinux

status: raised only 12 days ago. requested that se/linux
security config options be enabled in stock Debian kernels but require selinux=1 and enforcing=1
to switch it on.

Requires inverting the logic of the selinux boot parameter. Upstream kernel enables SELinux by default unless you specify selinux=0. But patched /sbin/init can disable it completely, and this is what is done by Fedora if /etc/sysconfig/selinux specifies SELINUX=disabled (note:
/etc/sysconfig/selinux is moving to /etc/selinux/config in the new layout).

Quoted 10 lines

cron:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=193644

i think this one's my favourite.

status: 1 year old. bit of a wing-ding and misunderstanding
over a field name, fortunately the maintainer stood
his ground until the non-cron-code-experts understood the issues. updated patch sent.

Anyone looking into using that same patch for Fedora? We'd need to make sure that there is indeed no change in the effective behavior.

Quoted 9 lines

pam:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=249499

status: amazingly, only 19 days old. unless there's an
earlier one and it's already been integrated
upstream. changes are only to pam_unix, apparently.
information sought from upstream and from the
maintainer.

What about adding pam_selinux? That's more important. pam_unix changes are nice in terms of supporting least privilege and allowing use of a tight policy, but not fundamental to operation.

Quoted 6 lines

init:

	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=242900

	status: raised 50 days ago.  seeking information from
	        debian maintainer.

Note that the SysVinit patch is changing as part of the new design for supporting multiple installed policies, and the new patch depends on the changes to libselinux in CVS.

Quoted 8 lines

openssh:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=193664

status: raised 1 year ago, it was discussed, and the maintainer
specifically asked for russell to push for its
inclusion upstream. message sent to openssh-dev upstream, alerting them to the patch.

Only necessary if we decide that using pam is not adequate. There are some known issues with using pam_selinux (see fedora selinux lists). Suggested solution is to split it into two pam modules and bracket the pam stack with them to ensure proper order of invocation.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
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.