Your message dated Sat, 8 Jan 2011 13:46:41 +1100
with message-id <[email protected]>
and subject line closed in 2:0.2.20091117-2
has caused the Debian Bug report #569297,
regarding selinux-policy-default: should label /lib32 instead of /lib64 on 
Debian
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
569297: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=569297
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: selinux-policy-default
Version: 2:0.2.20091117-1
Severity: normal

Fedora and some other distributions use directories /lib and /lib64 for shared
objects.  Debian uses /lib32 and /lib.  We need to correct the file contexts.


diff -ru refpolicy-0.2.20091117.old/policy/modules/system/libraries.fc 
refpolicy-0.2.20091117/policy/modules/system/libraries.fc
--- refpolicy-0.2.20091117.old/policy/modules/system/libraries.fc       
2009-08-11 01:01:39.000000000 +1000
+++ refpolicy-0.2.20091117/policy/modules/system/libraries.fc   2010-02-11 
20:24:31.000000000 +1100
@@ -37,19 +37,21 @@
 #
 /lib                                   -d      
gen_context(system_u:object_r:lib_t,s0)
 /lib/.*                                                
gen_context(system_u:object_r:lib_t,s0)
+ifdef(`distro_debian',`
+/lib32                                 -d      
gen_context(system_u:object_r:lib_t,s0)
+/lib32/.*                                      
gen_context(system_u:object_r:lib_t,s0)
+/lib32/ld-[^/]*\.so(\.[^/]*)*          --      
gen_context(system_u:object_r:ld_so_t,s0)
+/lib64                                 -l      
gen_context(system_u:object_r:lib_t,s0)
+', `
 /lib64                                 -d      
gen_context(system_u:object_r:lib_t,s0)
 /lib64/.*                                      
gen_context(system_u:object_r:lib_t,s0)
-/lib/ld-[^/]*\.so(\.[^/]*)*            --      
gen_context(system_u:object_r:ld_so_t,s0)
 /lib64/ld-[^/]*\.so(\.[^/]*)*          --      
gen_context(system_u:object_r:ld_so_t,s0)
+')
+/lib/ld-[^/]*\.so(\.[^/]*)*            --      
gen_context(system_u:object_r:ld_so_t,s0)
 
 /lib/security/pam_poldi\.so            --      
gen_context(system_u:object_r:textrel_shlib_t,s0)
 /lib64/security/pam_poldi\.so          --      
gen_context(system_u:object_r:textrel_shlib_t,s0)
 
-ifdef(`distro_debian',`
-/lib32                                 -l      
gen_context(system_u:object_r:lib_t,s0)
-/lib64                                 -l      
gen_context(system_u:object_r:lib_t,s0)
-')
-
 ifdef(`distro_gentoo',`
 /lib                                   -l      
gen_context(system_u:object_r:lib_t,s0)
 /lib32                                 -d      
gen_context(system_u:object_r:lib_t,s0)
@@ -61,7 +63,11 @@
 # /opt
 #
 /opt/(.*/)?lib(/.*)?                           
gen_context(system_u:object_r:lib_t,s0)
+ifdef(`distro_debian',`
+/opt/(.*/)?lib32(/.*)?                         
gen_context(system_u:object_r:lib_t,s0)
+', `
 /opt/(.*/)?lib64(/.*)?                         
gen_context(system_u:object_r:lib_t,s0)
+')
 /opt/(.*/)?java/.+\.jar                        --      
gen_context(system_u:object_r:lib_t,s0)
 /opt/(.*/)?jre.*/.+\.so(\.[^/]*)*      --      
gen_context(system_u:object_r:textrel_shlib_t,s0)
 /opt/(.*/)?jre/.+\.jar                 --      
gen_context(system_u:object_r:lib_t,s0)
@@ -109,9 +115,13 @@
 /usr/(.*/)?java/.+\.jsa                        --      
gen_context(system_u:object_r:lib_t,s0)
 
 /usr/(.*/)?lib(/.*)?                           
gen_context(system_u:object_r:lib_t,s0)
+ifdef(`distro_debian',`
+/usr/(.*/)?lib32(/.*)?                         
gen_context(system_u:object_r:lib_t,s0)
+/usr/(.*/)?lib(32)?(/.*)?/ld-[^/]*\.so(\.[^/]*)* 
gen_context(system_u:object_r:ld_so_t,s0)
+', `
 /usr/(.*/)?lib64(/.*)?                         
gen_context(system_u:object_r:lib_t,s0)
-
 /usr/(.*/)?lib(64)?(/.*)?/ld-[^/]*\.so(\.[^/]*)* 
gen_context(system_u:object_r:ld_so_t,s0)
+')
 
 /usr/(.*/)?nvidia/.+\.so(\..*)?                --      
gen_context(system_u:object_r:textrel_shlib_t,s0)
 



--- End Message ---
--- Begin Message ---
This was fixed in 2:0.2.20091117-2.

-- 
[email protected]
http://etbe.coker.com.au/          My Main Blog
http://doc.coker.com.au/           My Documents Blog


--- End Message ---

Reply via email to