Bug#384389: [Pbuilder-maint] Bug#384389: pbuilder: SELinux support,
	first step: mount /selinux
    Junichi Uekawa 
    dancer at netfort.gr.jp
       
    Thu Aug 24 15:11:33 UTC 2006
    
    
  
Hi,
> The workaround is simple - just mount /selinux
> 
> suggested fix:
> in "/usr/lib/pbuilder/pbuilder-modules", add to mount_proc:
> ---
> if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
Is this condition enough to determine /selinux is mountable ?
>	mkdir -p $BUILDPLACE/selinux
This directory may already exist, so error should be ignored
>	mount -t selinuxfs /selinux "$BUILDPLACE/selinux"
Is 'selinuxfs' always available when the above condition is true?
regards,
	junichi
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project
    
    
More information about the Pbuilder-maint
mailing list