[DSE-User] dpkg tries create selinux/context.dpgk-new and fails

Russell Coker russell at coker.com.au
Fri Jul 24 00:47:39 UTC 2009


On Fri, 24 Jul 2009, Gijs Hillenius <gijs at hillenius.net> wrote:
> > Why is it attempting to create /selinux/context?  Does your package
> > include that file?  Please show me an strace snippet from when it's doing
> > that.
>
>  dpkg -c dspam-3.9.0_ALPHA2-1_i386.deb
>
> shows lots of files, including:
>
> drwxr-xr-x root/root         0 2009-07-23 09:23 ./selinux/
> -rw-rw-rw- root/root         0 2009-06-20 15:29 ./selinux/context
>
> and the output of strace is 448k. I'll mail it to Russell straight, hope
> that is ok. He may post the relevant bits...

That package is broken.  No package should ever contain the 
file /selinux/context.  /selinux is a mount point for a virtual filesystem.  
So the package is just as broken as if it included /proc/something in it's 
file list.

How did it get to contain that file?

-- 
russell at coker.com.au
http://etbe.coker.com.au/          My Main Blog
http://doc.coker.com.au/           My Documents Blog



More information about the Selinux-user mailing list