[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Non-evasive patch for SELinux handling suitable for a freeze exception?



Dear Release Team,

I got the request add some SELinux handling to screen's cleanup init.d
script: http://bugs.debian.org/680360 (also cited below)

SELinux support has not become a release goal, but Russell
nevertheless expressed that he'd be glad if this patch would make it
into Wheezy.

Since I have to make at least one more upload of screen with i18n
stuff and documentation fixes anyway (which will happen either later
today or within the next few days), I wonder if the release team would
grant a freeze exception for an upload of screen if I would include
his one-line patch to the init.d script as shown below?

----- Forwarded message from Russell Coker <russell@coker.com.au> -----
Date: Thu, 05 Jul 2012 20:39:11 +1000
From: Russell Coker <russell@coker.com.au>
Subject: Bug#680360: screen: Please label /var/run/screen for SE Linux

Package: screen
Version: 4.1.0~20120320gitdb59704-3
Severity: normal

Please apply a patch like the following to the init.d scripe to give
$SCREENDIR the correct SE Linux label.

--- screen-cleanup.orig	2012-07-05 20:15:33.788913184 +1000
+++ screen-cleanup	2012-07-05 20:18:59.729095142 +1000
@@ -27,6 +27,7 @@
         rm -f $SCREENDIR
         mkdir $SCREENDIR
         chown root:utmp $SCREENDIR
+	[ -x /sbin/restorecon ] && /sbin/restorecon $SCREENDIR
     fi
     find $SCREENDIR -type p -delete
 # If the local admin has used dpkg-statoverride to install the screen

[...]
----- End forwarded message -----

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5

Attachment: signature.asc
Description: Digital signature


Reply to: