Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453026 - sys-apps/systemd-197 with sys-auth/nss-myhostname - file collision in /usr/lib64/libnss_myhostname.so.2
Summary: sys-apps/systemd-197 with sys-auth/nss-myhostname - file collision in /usr/li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-19 19:01 UTC by Michał Bartoszkiewicz
Modified: 2013-02-08 16:13 UTC (History)
3 users (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 Michał Bartoszkiewicz 2013-01-19 19:01:25 UTC
nss-myhostname has been merged into systemd, causing a collision:
 * Detected file collision(s):
 * 
 * 	/usr/lib/debug/usr/lib64/libnss_myhostname.so.2.debug
 * 	/usr/lib64/libnss_myhostname.so.2
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sys-auth/nss-myhostname-0.3:0::gentoo
 * 	/usr/lib/debug/usr/lib64/libnss_myhostname.so.2.debug
 * 	/usr/lib64/libnss_myhostname.so.2
 * 
 * Package 'sys-apps/systemd-197' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

Reproducible: Always




Portage 2.2.0_alpha155 (default/linux/amd64/10.0/desktop/gnome, gcc-4.7.2, glibc-2.16.0, 3.8.0-rc4 x86_64)
=================================================================
System uname: Linux-3.8.0-rc4-x86_64-Intel-R-_Core-TM-_i7-2720QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:     8124944 total,   3551444 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Sat, 19 Jan 2013 14:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo local embe science
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 googleearth Google-TOS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/home/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --complete-graph y --quiet-build y"
FCFLAGS="-march=native -O2 -pipe -ggdb"
FEATURES="assume-digests binpkg-logs buildpkg clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -ggdb"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/ http://ftp.vectranet.pl/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
INSTALL_MASK="/etc/rmt /lib/firmware/microcode.dat /bin/systemd /usr/bin/systemd /var/run"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-z,now"
MAKEOPTS="-j10"
PKGDIR="/home/portage/packages"
PORTAGE_BUNZIP2_COMMAND="lbunzip2"
PORTAGE_BZIP2_COMMAND="lbzip2"
PORTAGE_COMPRESS="man-symlinker"
PORTAGE_COMPRESS_FLAGS="xz --"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude /lost+found"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/embe /var/lib/layman/science"
SYNC="rsync://maluch/gentoo-portage"
USE="R X a52 aac aacplus acl acpi adns alsa amd64 ass avahi avx bazaar berkdb bluetooth bzip2 cairo caps cdb cdda cddb cdr cli clutter colord crypt cryptsetup cups curl cvs cxx dbus dconf device-mapper dirac djvu dri dts dvb dvd dvdr eds egl emboss encode evo exif fam fat ffmpeg fftw firefox flac fontconfig fortran fuse gadu gd gdbm gif gimp git gmp gnome gnome-keyring gnome-online-accounts gnuplot gpg gphoto2 graphviz grilo gsl gstreamer gtk gtk3 iconv icu idn iproute2 ipv6 jabber java jpeg lame lapack latex lcms ldap libkms libnotify libproxy libsamplerate live llvm lua lzma lzo mad maildir man matroska mercurial metalink mms mmx mmxext mng modules mp3 mp4 mpeg mtp mudflap multilib musepack nautilus ncurses netlink networkmanager nls nptl nsplugin offensive ogg openal opengl openmp openvg opus osmesa pam pango pch pcre pdf pgf pkcs11 plotutils png policykit postproc postscript ppds pppd pulseaudio python qt3support qt4 raw rdp readline resolvconf rtmp samba schroedinger sdl session sip smartcard smp socialweb speex spell sqlite sse sse2 sse3 sse4_1 ssl ssse3 startup-notification subversion svg syslog system-jpeg system-sqlite systemd telepathy theora tiff tls tracker truetype udev udisks unicode upnp upnp-av upower urandom usb uuid v4l vaapi vala vdpau vim-syntax vorbis vpx wifi wxwidgets x264 xattr xcb xinerama xml xmp xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport nlpsolver" LINGUAS="en en_US pl pl_PL" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, USE_PYTHON
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-01-21 19:25:58 UTC
@freedesktop: agree on mutual blocker?
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-01-21 19:48:44 UTC
Added mutual blocker.

+  21 Jan 2013; Alexandre Rostovtsev <tetromino@gentoo.org>
+  nss-myhostname-0.3.ebuild:
+  Block >=systemd-197 since it now includes a copy of nss-myhostname (bug
+  #453026, thanks to Michał Bartoszkiewicz).

+  21 Jan 2013; Alexandre Rostovtsev <tetromino@gentoo.org>
+  systemd-197-r1.ebuild, systemd-9999.ebuild:
+  Block nss-myhostname since it was merged into systemd-197 (bug#453026, thanks
+  to Michał Bartoszkiewicz).

+  21 Jan 2013; Alexandre Rostovtsev <tetromino@gentoo.org>
+  -openrc-settingsd-1.0.ebuild, openrc-settingsd-1.0.1.ebuild:
+  Update license. Update nss-myhostname dependency due to systemd-197 (bug
+  #453026). Drop old.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-01-21 22:23:03 UTC
I don't understand why systemd would need to ship yet another separate package but well, I'm not doing the unbundling work so...
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-01-21 22:29:36 UTC
(In reply to comment #3)
> I don't understand why systemd would need to ship yet another separate
> package but well, I'm not doing the unbundling work so...

Is it shipping it or has it eaten it?
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-01-21 22:33:41 UTC
You'd have to ask Lennart, project page does not say a word about it.

It's just a few .c files though so it wouldn't be too hard to keep it separate until upstream makes it difficult obviously :)

http://0pointer.de/lennart/projects/nss-myhostname/
Comment 6 Mike Gilbert gentoo-dev 2013-01-21 22:47:19 UTC
I compared the source files, and there don't appear to be any differences in the systemd version.

Support for GNU/kFreeBSD was added to the original project, but not to the systemd version.

http://git.0pointer.de/?p=nss-myhostname.git;a=commitdiff;h=1df2a0fce427fab7754f6ac572cf68cef2e95696
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-08 16:13:37 UTC
I wonder whether the original project is still maintained. A quick look shows that a bunch of fixes was added to the systemd version but at the same time support for non-Linux systems was removed completely...