Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201352 - sys-apps/baselayout-2.0.0_rc6: setting RC_QUIET to yes causes filesystem to not get unmounted on shutdown
Summary: sys-apps/baselayout-2.0.0_rc6: setting RC_QUIET to yes causes filesystem to n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-05 14:09 UTC by Alessandro Guido
Modified: 2008-04-04 12:12 UTC (History)
3 users (show)

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


Attachments
Stop inheriting quiet from the env for our tools (quiet.patch,665 bytes, patch)
2007-12-14 22:07 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Guido 2007-12-05 14:09:13 UTC
with RC_QUIET="yes" in /etc/conf.d/rc filesystem do not get unmounted before shutdown or reboot.

I realized it because my reiserfs partitions have to replay unfinished transaction on the following boot.

Reproducible: Always




Portage 2.1.4_rc7 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0, 2.6.24-rc4 i686)
=================================================================
System uname: 2.6.24-rc4 i686 Intel(R) Pentium(R) M processor 1.86GHz
Timestamp of tree: Wed, 05 Dec 2007 11:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r4
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.5, 1.7.9-r1, 1.8.5-r3, 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-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=pentium-m -fomit-frame-pointer"
CHOST="i686-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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=pentium-m -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="distlocks metadata-transfer nodoc noinfo parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="--quiet -j2"
PKGDIR="/var/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="/var/portage"
PORTDIR_OVERLAY="/var/portage/local/my-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa bitmap-fonts cdr cli dbus dvd dvdr dvdread emboss evo firefox fortran gif hal iconv isdnlog jpeg kde kdehiddenvisibility mad midi mikmod mmx mp3 mpeg mudflap nls nptl nptlonly ogg opengl openmp pcre pdf png pppd qt3support quicktime reflection session spell spl sse sse2 ssl svg threads truetype-fonts type1-fonts unicode vorbis win32codecs x86 xinerama xml xorg xscreensaver xv 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="none nvidia"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marcin Kurek 2007-12-11 22:19:55 UTC
Same problem here. After reboot the reiserfs partition (Root) sometimes is in dirty state, but I have RC_QUIET set to "no" then this seems to be something else.

Portage 2.1.4_rc7 (default-linux/ppc/ppc32/2007.0/desktop/G4/Pegasos, gcc-4.2.2, glibc-2.7-r0, 2.6.23-gentoo-r3 ppc)
=================================================================
System uname: 2.6.23-gentoo-r3 ppc 7447/7457, altivec supported
Timestamp of tree: Thu, 06 Dec 2007 17:00:01 +0000
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
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.4.4-r7, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
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.6.3, 1.7.9-r1, 1.8.5-r3, 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-r2
ACCEPT_KEYWORDS="ppc ~ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=7450 -mtune=7450 -O2 -maltivec -mabi=altivec -pipe"
CHOST="powerpc-unknown-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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mcpu=7450 -mtune=7450 -O2 -maltivec -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --deep"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1,--hash-style=both"
LINGUAS="en pl"
MAKEOPTS="-j2 -s"
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/xeffects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 7zip X a52 aac accessibility acl aio akode alsa altivec amr amuled aotuv apache2 apm applet arts artworkextra async atlas audiofile automount bash-completion beagle berkdb bitmap-fonts blas bluetooth boost bootsplash branding bzip2 cairo cdda cddb cdio cdparanoia cdr cli config_wizard cracklib crypt cscope css ctype cups curl cvs dbus debugger devil dga dio disk-partition djbfft djvu dri dts dv dvd dvdnav dvdr dvdread dx dynagraph dynamic editor eds effects emboss emerald emf enca encode erandom esd evo exif exo expat extensions extraicons extramodules extras fam fame fat fbcon ffmpeg fftw filter_default firefox flac font-server fontconfig foomaticdb fortran fpx ftp fuse gadu gdbm gecko-sdk gif gimp glib glibc-omitfp glitz glut gnome gnutls gphoto2 gpm grammar graphviz gs gstreamer gtk gtk2 gtkhtml hal hfs iconv id3 ieee1394 imagemagick imlib imlib2 ipod ipv6 irda isdnlog jabber jack java javacomm javascript jbig jfs jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos lame lapack lcms ldap libburn linuxthreads-tls lzo mad math matroska midi mikmod mime mjpeg mmap mng modplug mono motif mounts-check mouse mozdevelop mozsvg mozxmlterm mp3 mp4 mpeg mpeg2 mpi mplayer mudflap musepack musicbrainz nautilus ncurses network newspr nfs nls nptl nptlonly nsplugin ntfs ogg oldworld openal openexr opengl openmp oss pam panel-plugin pci pcre pdf perl pertty physfs pic pin-exec plotutils plugin plugins png pnp posix ppc ppcsha1 ppds pppd ps python qt-copy qt3 qt3support qt4 quicktime quotas rdesktop readline realmedia recode reflection reiser4 reiserfs risky rle rtsp ruby samba scanner sdl sdl-sound sensord serial session sharedmem sheep shorten sid sir slang smartcard sndfile sockets softmmu sound soundtouch sox speech speex spell spl srt ssl startup-notification stats stencil-buffer stream subp subtitles subversion suid svg swat swscaler syslog sysvipc szip t1lib tabs tcl tcltk tcpd tetex tga theora thesaurus threads thumbnail thunar-vfs tidy tiff timidity tk tlen tomsfastmath transparency truetype truetype-fonts type1-fonts udev unicode urandom usb userlocales utempter v4l v4l2 vcd visualization vnc voice vorbis wifi wma wmf wxwindows x264 xanim xattr xcb xcomposite xforms xfs xine xinerama xinetd xml xorg xosd xpm xrandr xscreensaver xv xvid zlib" ALSA_CARDS="virmidi mpu401 loopback emu10k1 emu10k1x via82xx usb-audio" 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 keyboard mouse joystick wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" USERLAND="GNU" VIDEO_CARDS="radeon r100 r200 r300 v4l"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-12-14 22:07:42 UTC
Created attachment 138511 [details, diff]
Stop inheriting quiet from the env for our tools

This took a long time and plently of head scratching to pin down!

But this patch should fix it :)
Comment 3 Alessandro Guido 2007-12-14 23:32:10 UTC
(In reply to comment #2)
> Created an attachment (id=138511) [edit]
> Stop inheriting quiet from the env for our tools
> 
> This took a long time and plently of head scratching to pin down!
> 
> But this patch should fix it :)
> 

Indeed, it works.

Thank you very much.
Comment 4 Alessandro Guido 2008-04-04 12:12:05 UTC
baselayout-2 in portage with openrc works fine