Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-hardened
Navigation:
Lists: gentoo-hardened: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Andrew Gaffney <agaffney@g.o>
From: Chris PeBenito <pebenito@g.o>
Subject: Re: SELinux failure during emerge: setfscreatecon() takes exactly 1 argument
Date: Sun, 20 Sep 2009 01:23:39 -0400
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
Attachment:
portage-selinux-mkdir.diff (Text Data)
References:
SELinux failure during emerge: setfscreatecon() takes exactly 1 argument
-- Mike Edenfield
Re: SELinux failure during emerge: setfscreatecon() takes exactly 1 argument
-- Andrew Gaffney
Navigation:
Lists: gentoo-hardened: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: SELinux failure during emerge: setfscreatecon() takes exactly 1 argument
Next by thread:
"How hard" is Linux kernel-side hardening?
Previous by date:
Re: "How hard" is Linux kernel-side hardening?
Next by date:
Re: "How hard" is Linux kernel-side hardening?


Updated Nov 22, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.