Gentoo Archives: gentoo-hardened

From: Chris PeBenito <pebenito@g.o>
To: Andrew Gaffney <agaffney@g.o>
Cc: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] SELinux failure during emerge: setfscreatecon() takes exactly 1 argument
Date: Sun, 20 Sep 2009 05:23:53
Message-Id: 1253424219.2970.1.camel@defiant.pebenito.net
In Reply to: Re: [gentoo-hardened] SELinux failure during emerge: setfscreatecon() takes exactly 1 argument by Andrew Gaffney
On Fri, 2009-09-18 at 20:52 -0500, Andrew Gaffney wrote:
> On 09/18/2009 01:58 PM, Mike Edenfield wrote: > > For about the past two weeks I've been receiving the following error on > > our SELinux-enabled web server, any time I attempt to upgrade or install > > a package from portage. > > > > File "/usr/lib/portage/pym/portage/_selinux.py", line 50, in mkdir > > selinux.setfscreatecon() > > TypeError: setfscreatecon() takes exactly 1 argument (0 given) > > It's a bug in portage. Look for an existing bug and file one if you don't find one.
This is already fixed in portage SVN, it just hasn't made it out in a release. The patch is attached. -- Chris PeBenito <pebenito@g.o> Developer, Hardened Gentoo Linux Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE6AF9243 Key fingerprint = B0E6 877A 883F A57A 8E6A CB00 BC8E E42D E6AF 9243

Attachments

File name MIME type
portage-selinux-mkdir.diff text/x-patch