Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67165

Summary: tar-1.14-90 doesn't untar some device nodes
Product: Gentoo Linux Reporter: Joern P. Meier <gb_mail>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joern P. Meier 2004-10-11 15:22:39 UTC
tar-1.14.90 (if it does compile at all) can cause critical errors on boot because it cannot untar some device nodes. This occurs when udev and device tarball is enabled (/etc/conf.d/rc: RC_DEVICE_TARBALL="yes").

First problem was, lots of device nodes could not be unpacked after "populating /dev with device nodes". Since bootup didn't proceed, I was not able to record the error messages (I think they were like the ones shown below).

However, using a Live CD and disabling RC_DEVICE_TARBALL, I was able to boot up the system and reproduce the bug as follows:

# tar -jxpf /lib/udev-state/devices.tar.bz2 -C /dev
tar: sound/sequencer2: Cannot change ownership to uid 0, gid 18: No such device
tar: sound/sequencer: Cannot change ownership to uid 0, gid 18: No such device
tar: Error exit delayed from previous errors

This is only the tip of the iceberg. I suppose lots of device nodes previously in devices.tar.bz2 have been lost by disabling RC_DEVICE_TARBALL (I don't know if they are really necessary though; anyhow, boot shouldn't fail because of this).

Reproducible: Always
Steps to Reproduce:
1. emerge tar-1.14-90 (if it compiles)
2. untar a file containing sound/sequencer etc.
3.

Actual Results:  
Untaring file failed.

Expected Results:  
File should untar without errors, or at least non-fatal errors.

Gentoo Base System version 1.5.3
Portage 2.0.51_rc9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r7 i686)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1400MHz
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium3 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium3 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts bobobo cdr
crypt cups curl dba dedicated dga directfb dvd encode esd evo f77 fbcon
foomaticdb gb gd gdbm ggi gif gnome gpm gtk gtk2 gtkhtml guile imap imlib innodb
java jikes jpeg junit kde kerberos ladcca lcms ldap libg++ libgda libwww mad
mbox mikmod mmx motif mozilla mpeg mpi mysql ncurses nenlimit nls notif
offensive oggvorbis opengl oss pam pdflib perl plotutils png ppds python qt
quicktime readline samba sasl scanner sdl slang spell sse ssl svga tcltk tcpd
tetex tiff truetype usb wmf x86 xface xml xml2 xmms xprint xv zeo zlib"
Comment 1 Joern P. Meier 2004-10-11 16:13:22 UTC
I think this is a dupe of #67051, sorry.

*** This bug has been marked as a duplicate of 67051 ***