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
1 On Fri, 2009-09-18 at 20:52 -0500, Andrew Gaffney wrote:
2 > On 09/18/2009 01:58 PM, Mike Edenfield wrote:
3 > > For about the past two weeks I've been receiving the following error on
4 > > our SELinux-enabled web server, any time I attempt to upgrade or install
5 > > a package from portage.
6 > >
7 > > File "/usr/lib/portage/pym/portage/_selinux.py", line 50, in mkdir
8 > > selinux.setfscreatecon()
9 > > TypeError: setfscreatecon() takes exactly 1 argument (0 given)
10 >
11 > It's a bug in portage. Look for an existing bug and file one if you don't find one.
12
13 This is already fixed in portage SVN, it just hasn't made it out in a
14 release. The patch is attached.
15
16 --
17 Chris PeBenito
18 <pebenito@g.o>
19 Developer,
20 Hardened Gentoo Linux
21
22 Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE6AF9243
23 Key fingerprint = B0E6 877A 883F A57A 8E6A CB00 BC8E E42D E6AF 9243

Attachments

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