Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204922 - sys-apps/devfsd is part of the hardened systemprofile but is deprecated
Summary: sys-apps/devfsd is part of the hardened systemprofile but is deprecated
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High normal
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-08 17:27 UTC by Kai Krakow
Modified: 2008-01-08 19:00 UTC (History)
0 users

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 Kai Krakow 2008-01-08 17:27:41 UTC
For solving some problems I tried to "emerge -e system" on hardened Gentoo (system profile is /usr/portage/profiles/hardened/x86/2.6). It tried to recompile sys-apps/devfsd (part of my original installation). Since this package is deprecated with newer kernels which I run (sys-kernel/hardened-sources-2.6.22-r8) I thought a simple solution would be to simply unmerge devfsd and continue with emerging the rest of the system.

But "emerge -C devfsd" tells me that it will probably break something because I am trying to unmerge a package which is part of the system profile.

Probably it is safe to remove the package, but the next world upgrade will pull it in again so I did not remove it (because I won't be able to recompile it then if things break). This should be fixed safely somehow. I don't like to do experiments with this as it is a server in production.

Reproducible: Always




Portage 2.1.3.19 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.20-hardened-r5 i686)
=================================================================
System uname: 2.6.20-hardened-r5 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Timestamp of tree: Tue, 08 Jan 2008 01:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -momit-leaf-frame-pointer -funit-at-a-time -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe -momit-leaf-frame-pointer -funit-at-a-time -ggdb -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.intergenia.de"
LC_ALL="de_DE.utf8"
LINGUAS="de en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/php-testing /usr/portage/local/layman/webapps-experimental /usr/local/overlays/misc"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip acl acpi aio apache2 async audit authdaemond authlib bash-completion bashlogger bcmath berkdb bzip2 bzlib calendar cdb checkpath chroot clamav cli contentcache courier cracklib crypt ctype curl dba dbx disassembler discard-path ecc exif expat extras fam fastcgi fbcon flash flatfile fontconfig force-cgi-redirect ftp gd gdbm geoip gif glibc-omitfp gmp gnutls gocr gpgme graphicsmagick graphviz gs hardened hpn html iconv idea idn ifsession imap imlib inifile innodb inode ithreads java java-internal jbig jpeg jpeg2k lcms libclamav linuxthreads-tls logrotate lzw mcal memcache memlimit mhash midi mime ming mmap mmx mode-owner mpeg munin-apache mysql mysqli mzscheme ncurses nls nptl nptlonly ocrad openssl opensslcrypt overload pam pcntl pcre pdflib pear perl php pic png pop posix postfix python pyzord readline rewrite ruby sasl sendfile session sftplogging shaper sharedext sharedmem slang smime soap sockets softquota soundex spell sqlite sqlite3 srp sse sse2 ssl suhosin svg svgz symlink sysfs sysvipc tcpd tesseract threads tidy tiff tokenizer truetype truetype-fonts unicode urandom userlocales utf8 vim-pager vim-syntax vroot wddx wmf x86 xattr xml xml2 xmlrpc xorg xsl zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2008-01-08 17:32:55 UTC
It's not in the system set, but virtual/dev-manager is. However, devfsd is the only thing you've got installed that satisfies that virtual. You need to either emerge udev or put virtual/dev-managed in package.provided and manage a static /dev. If you're already got udev, just unmerge devfsd and ignore the warnings.
Comment 2 Kai Krakow 2008-01-08 19:00:56 UTC
(In reply to comment #1)
> It's not in the system set, but virtual/dev-manager is. However, devfsd is the
> only thing you've got installed that satisfies that virtual. You need to either
> emerge udev or put virtual/dev-managed in package.provided and manage a static
> /dev. If you're already got udev, just unmerge devfsd and ignore the warnings.

Thanks, I'm managing /dev statically on the server. I've replaced devfsd with udev without warnings and try to use udev on next reboot now (thus replacing the static /dev). Hope that works. ;-) But the emerge warning is fixed by this.