Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164695 - app-portage/eix does not consider package.mask in /usr/portage/profiles/selinux
Summary: app-portage/eix does not consider package.mask in /usr/portage/profiles/selinux
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-31 12:29 UTC by Dustin Polke
Modified: 2007-02-05 13:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2007-01-31 12:29:41 UTC
Similar as in bug #142503, package.mask is not considered by eix, thus showing versions as available when they are masked.

gandalf / # ll /etc/make.profile 
lrwxrwxrwx 1 root root 49 Dec 12 22:47 /etc/make.profile -> /usr/portage/profiles/selinux/2005.1/x86/hardened

gandalf / # eix sys-apps/coreutils
[U] sys-apps/coreutils 
     Available versions:  5.94-r1 6.4 ~6.7 ~6.7-r1
     Installed:           5.94-r1 (06-10-13  0:45)(-acl -build nls selinux -static)
     Homepage:            http://www.gnu.org/software/coreutils/
     Description:         Standard GNU file utilities (chmod, cp, dd, dir, ls...), text utilities (sort, tr, head, wc..), and shell utilities (whoami, who,...)

gandalf / # emerge =coreutils-6.4

These are the packages that would be merged, in order:

Calculating dependencies   
!!! All ebuilds that could satisfy "=coreutils-6.4" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/coreutils-6.4 (masked by: package.mask)
# Mike Frysinger <vapier@gentoo.org> (3 Sep 2006)
# Masked until selinux is updated #144509

gandalf selinux # eix -V
eix 0.7.9 (gcc-3.4.6, i686-pc-linux-gnu)


Reproducible: Always

Steps to Reproduce:
1. Use selinux profile
2. type 'eix ${package}' with ${package} listed in /usr/portage/profiles/selinux/package.mask

Actual Results:  
eix shows maksed packages as available.

Expected Results:  
eix should show masked packages as masked.
Comment 1 Dustin Polke 2007-01-31 12:37:38 UTC
For completeness sake:

Portage 2.1.1-r2 (selinux/2005.1/x86/hardened, gcc-vanilla, glibc-2.3.6-r5, 2.6.18-hardened i686)
=================================================================
System uname: 2.6.18-hardened i686 Pentium III (Katmai)
Gentoo Base System version 1.12.6
Last Sync: Wed, 31 Jan 2007 08:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks loadpolicy metadata-transfer parallel-fetch sandbox selinux sesandbox sfperms strict test userfetch use
rpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ f
tp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.inode.at/source/"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/
distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/modified /usr/local/portage/own"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="aalib alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plug
ins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pc
m_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null als
a_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 authdaemond authli
b bash-completion berkdb cjk clamav clamd colordiff courier crypt dbus dhcp dlloader elibc_glibc fam fortran ftp gdbm glibc-omitfp hal hardened hardenedphp idn
 imap input_devices_keyboard input_devices_mouse iproute2 java javascript kerberos kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd
_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text ldap libcaca linguas_de linguas_
en logrotate maildir memlimit midi mime mmx ncurses nfs nls no-old-linux nptl nptlonly pam php pic python readline samba selinux sse ssl swat symlink syslog te
st udev unicode userland_GNU video_cards_fbdev video_cards_vesa x86 xml zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
Comment 2 Martin Väth 2007-01-31 21:53:03 UTC
Indeed, the package.mask-files in the profile had been read but not applied.
I have fixed this in the eix svn trunk (eix-0.8.7).
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2007-02-05 13:19:58 UTC
eix 0.8.7 is in the tree now, thanks