View previous topic :: View next topic |
Author |
Message |
Thaidog Veteran
Joined: 19 May 2004 Posts: 1053
|
Posted: Sun Feb 01, 2009 5:06 am Post subject: sys-apps/policycoreutils has been masked |
|
|
I am trying to emerge policycoreutils but it is giving me the masked by package.mask message. I added the package to package.keywords but it still will not emerge. What am I doing wrong? _________________ Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Feb 01, 2009 5:32 am Post subject: |
|
|
add to /etc/portage/package.unmask if you really want it. should be really broken or a security risk to be in package.mask. |
|
Back to top |
|
|
ali3nx l33t
Joined: 21 Sep 2003 Posts: 722 Location: Winnipeg, Canada
|
Posted: Sun Feb 01, 2009 5:35 am Post subject: |
|
|
If your working with selinux it may be wise to ensure your using the appropriate hardened profiles or most of the userland selinux or sec related packages may be masked by your profile |
|
Back to top |
|
|
Thaidog Veteran
Joined: 19 May 2004 Posts: 1053
|
Posted: Sun Feb 01, 2009 6:13 pm Post subject: |
|
|
DONAHUE wrote: | add to /etc/portage/package.unmask if you really want it. should be really broken or a security risk to be in package.mask. |
did not work...I keep having to add a ton of packages to package.unmask - I did the following to add hardened to my profile but it is still giving me the same error:
ln -sf /usr/portage/profiles/selinux/2007.0/x86/hardened /etc/make.profile _________________ Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21619
|
Posted: Sun Feb 01, 2009 6:18 pm Post subject: |
|
|
Please post the output of find /etc/portage -type f | while read file; do echo "${file}:"; nl "${file}"; echo; done; emerge --info ; emerge --pretend --verbose sys-apps/policycoreutils. |
|
Back to top |
|
|
Thaidog Veteran
Joined: 19 May 2004 Posts: 1053
|
Posted: Sun Feb 01, 2009 9:19 pm Post subject: |
|
|
Adding this with lynx...
livecd desktop # find /etc/portage -type f | while read file; do echo "${file}"; echo; done; emerge --info; emerge --pretend --verbose sys-apps/policycoreutils
/etc/portage/.keep_sys-apps_portage-0
/etc/portage/savedconfig/sys-apps/busybox-1.12.2-r1
/etc/portage/package.keywords
/etc/portage/package.unmask
/etc/portage/package.mask
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.24-gentoo-r7-i686-Intel-R-_Pentium-R-_4_CPU_3.40GHz-with-glibc2.0
Timestamp of tree: Sat, 31 Jan 2009 23:35:01 +0000
app-shells/bash: 3.2_p39
dev-lang/python: 2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.63
sys-devel/automake: 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -mfpmath=sse -fomit-frame-pointer -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O3 -mfpmath=sse -fomit-frame-pointer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
EDIT - trying to capture the first part of the text with find /etc/portage -type f | while read file; do echo "${file}"; echo; done; emerge --info; emerge --pretend --verbose sys-apps/policycoreutils > build.text 2>&1
It is not getting the first part of the output for some reason. _________________ Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon Feb 02, 2009 5:17 pm Post subject: |
|
|
Moved from Installing Gentoo to Portage & Programming.
not about getting gentoo installed, so moved here _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21619
|
Posted: Tue Feb 03, 2009 4:32 am Post subject: |
|
|
You entered the shell construct incorrectly. You lost the call to nl, which would have shown us the contents of those files.
Your attempt to redirect failed because that shell construct runs three separate subshells. You only redirected the third of the three subshells. The output from the find construct and the emerge --info were not redirected. Wrap the whole thing in parentheses and put the redirection outside if you want to redirect the entire construct to one file. Also, you did not post the output of the pretend emerge. |
|
Back to top |
|
|
|