Bug#384389: [Pbuilder-maint] Bug#384389: pbuilder: SELinux support, first step: mount /selinux

2006-08-24 Thread Junichi Uekawa
Hi, > > Sounds good, I'll apply the patch; since I don't have a selinux system > > that after I release the new version could you send logs of it > > successfully running under selinux? > > Sure. But what do you expect to see from these logs? > I can send you these right away, since I did this mo

Bug#384389: [Pbuilder-maint] Bug#384389: pbuilder: SELinux support, first step: mount /selinux

2006-08-24 Thread Erich Schubert
Hi Junichi, > Sounds good, I'll apply the patch; since I don't have a selinux system > that after I release the new version could you send logs of it > successfully running under selinux? Sure. But what do you expect to see from these logs? I can send you these right away, since I did this modific

Bug#384389: [Pbuilder-maint] Bug#384389: pbuilder: SELinux support, first step: mount /selinux

2006-08-24 Thread Junichi Uekawa
Hi, > > > if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then > > Is this condition enough to determine /selinux is mountable ? > > If selinux is enabled, /selinux has to be mounted AFAIK. > So AFAIK that is the best way to test that selinux is enabled. > > > > mkdir -p $BUILD

Bug#384389: [Pbuilder-maint] Bug#384389: pbuilder: SELinux support, first step: mount /selinux

2006-08-24 Thread Erich Schubert
Hi, > > if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then > Is this condition enough to determine /selinux is mountable ? If selinux is enabled, /selinux has to be mounted AFAIK. So AFAIK that is the best way to test that selinux is enabled. > > mkdir -p $BUILDPLACE/selinux

Bug#384389: [Pbuilder-maint] Bug#384389: pbuilder: SELinux support, first step: mount /selinux

2006-08-24 Thread Junichi Uekawa
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 $BUIL

Bug#384389: pbuilder: SELinux support, first step: mount /selinux

2006-08-23 Thread Erich Schubert
Package: pbuilder Version: 0.157 Severity: normal Tags: patch Hi, currently, pbuilder won't run on SELinux systems, even in non-enforcing ("permissive") mode, where SELinux doesn't actually block any access. I'd like to get pbuilder working for the "targeted" policy at least (where processes can b