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

Gijs Hillenius gijs at hillenius.net
Thu Jul 23 21:12:51 UTC 2009


On 23 Jul 2009, Russell Coker wrote:

>> dpkg: error processing dspam-3.9.0_ALPHA2-1_i386.deb (--install):
>> unable to create `/selinux/context.dpkg-new' (while processing
>> `./selinux/context'): Permission denied Processing triggers for man-db ...
>> Errors were encountered while processing:
>> dspam-3.9.0_ALPHA2-1_i386.deb
>
> 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...


-- 
If only God would give me some clear sign!  Like making a large deposit
in my name at a Swiss Bank.
		-- Woody Allen



More information about the Selinux-user mailing list