Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 202058
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 214194
Assigned To: Doug Goldstein <cardoe@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas S. Howard <thoward1120@comcast.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 202058 depends on: Show dependency tree
Bug 202058 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-12-12 17:03 0000
Currently, the script has this:

ROOT_DEVICE=`mount|grep " / "|awk '{print $1}'

and the output is this:

rootfs
/dev/root

which breaks the rest of the script, causing a "too many arguments" and a
"expected binary operator" error.  A quick fix is:

ROOT_DEVICE=`mount|grep " / "|awk '{print $1}'|grep -v rootfs`

which provides only "/dev/root" and allows the script to finish.  

Reproducible: Always

Steps to Reproduce:
1. Shutdown w/an lvm2 system

------- Comment #1 From Jakub Moc (RETIRED) 2007-12-12 20:09:13 0000 -------
Reopen with emerge --info.

------- Comment #2 From Thomas S. Howard 2007-12-12 21:03:29 0000 -------
(In reply to comment #1)
> Reopen with emerge --info.
> 

OK, will do. Guess knowing the bash and baselayout versions might be useful.
Sorry about that:

Portage 2.1.4_rc9 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0,
2.6.23-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3 x86_64 Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
Timestamp of tree: Wed, 12 Dec 2007 16:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0_rc6
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18.50.0.3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer -msse3 -ftracer -fweb
-frename-registers"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer -msse3 -ftracer -fweb
-frename-registers"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache distlocks metadata-transfer multilib-strict parallel-fetch
prelink sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/
http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.osuosl.org/
http://gentoo.llarian.net/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LC_ALL="en_US.UTF8"        
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress --partial --verbose"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apm arts audiofile bash-completion berkdb
bitmap-fonts bzip2 cairo caps cdparanoia cdr cracklib crypt cscope ctype cups
curl dbus directfb doc dri dv dvd dvdr dvdread encode evo exif expat fam fbcon
ffmpeg firefox flac foomaticdb fortran gd gdbm ggi gif gnutls gphoto2 gpm gtk
hal iconv idn imagemagick imlib ipv6 jack java javascript joystick jpeg jpeg2k
kde kdeenablefinal kdehiddenvisibility kpathsea lcms lesstif libsamplerate
lm_sensors lzo mad matroska midi mikmod mmap mmx mng mp3 mp4 mpeg mplayer
mudflap musepack ncurses nptl nptlonly nsplugin offensive ogg openal openexr
opengl openmp pam pango pcre pdf perl plotutils png posix ppds pppd python qt3
qt3support qt4 quicktime readline reflection scanner sdl session shorten
sndfile source sox spell sse sse2 ssl svg szip tcpd theora threads tiff
truetype truetype-fonts type1-fonts unicode usb v4l v4l2 verbose vim-syntax
vorbis wavpack wmf xcb xine xml xorg xosd xpm xscreensaver xv xvid zlib"
ALSA_CARDS="hda-intel" 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="evdev joystick keyboard linuxinput
mouse ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU"
VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS

------- Comment #3 From Jakub Moc (RETIRED) 2007-12-12 21:06:15 0000 -------
@maintainers - Once again, please grow yourself a bugzilla alias that's not a
huge PITA to assign.

------- Comment #4 From Robin Johnson 2008-06-08 19:39:19 0000 -------
Fixed in .37

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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug