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

Bug 285341

Summary: app-portage/gentoolkit: revdep-rebuild: "sandbox:main signal SIGQUIT already had a handler" warnings
Product: Portage Development Reporter: Paul Varner (RETIRED) <fuzzyray>
Component: SandboxAssignee: Portage Tools Team <tools-portage>
Status: CONFIRMED ---    
Severity: normal CC: buggyb, denilsonsa, dschridde+gentoobugs, esigra, felix, flockmock, hyedad, navid.zamani, posting, rafdev
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Varner (RETIRED) gentoo-dev 2009-09-17 17:34:36 UTC
revdep-rebuild has the following function:

clean_trap() {
        trap "cleanup_and_die $*" SIGHUP SIGINT SIGQUIT SIGABRT SIGTERM
        rm -f "$@"
}

Which is used to clean up incomplete temp files during execution.  However, when emerge is run it causes the sandbox to emit the following warning:

sandbox:main  signal SIGQUIT already had a handler ...

Do we need to change revdep-rebuild or is there some way to suppress the sandbox warning.
Comment 1 Christoph 2009-10-22 20:12:45 UTC
can confirm that on at least 2 of my amd64 systems.

additional i've got to tell you that when the above message appears on my systems no binary files where installed.

[snipp]
>>> Installing (1 of 1) media-gfx/imagemagick-6.5.2.9
sandbox:main  signal SIGQUIT already had a handler ...

sandbox:main  signal SIGQUIT already had a handler ...

>>> Auto-cleaning packages...
[/snipp]

so after a revdep-rebuild all libs are still borked and i've got to run >FEATURES="-sandbox" revdep-rebuild -i< to fix them.

if you need more information than my emerge --info down below please feel free to ask for it.

regards Christoph

emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 22 Oct 2009 09:15:02 +0000
app-shells/bash:     4.0_p28
dev-lang/python:     2.5.4-r3, 2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/tmp"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ "
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/vmware-own"
SYNC="rsync://192.168.0.10/gentoo-portage"
USE="acl amd64 apache2 berkdb bzip bzip2 cgi cli cracklib crypt ctype cups dbus directfb dri fastcgi ffmpeg fontconfig foomaticdb fortran ftp gd gdbm gif gpm iconv image imagemagick imap innodb ipv6 isdnlog jpeg latin1 ldap logrotate mmx modules mpeg mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pam_xml pcre perl php png pop3 ppds pppd python readline reflection samba session simplexml smtp spl sse sse2 ssl suexec swat sysfs tcpd tiff truetype unicode usb xml xml2 xmlreader xmlrpc xmlwriter xorg xpm zip 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="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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 SpanKY gentoo-dev 2009-10-22 20:39:31 UTC
the output is *warning* only and sandbox itself has not changed behavior.  it has always registered the SIGQUIT signal.
Comment 3 Christoph 2009-10-23 05:58:20 UTC
you're right realized today that the above mentioned command also don't fix the libs. sry for accusing sandbox for that.
Comment 4 SpanKY gentoo-dev 2009-10-28 05:48:41 UTC
should be fixed by not whining about inherited ignored signals

http://git.overlays.gentoo.org/gitweb/?p=proj/sandbox.git;a=commitdiff;h=1693cc5c19d038247147ed19943c78ff47e43c87
Comment 5 SpanKY gentoo-dev 2009-10-28 05:49:00 UTC
*** Bug 288188 has been marked as a duplicate of this bug. ***
Comment 6 Paul Varner (RETIRED) gentoo-dev 2010-02-05 18:21:21 UTC
*** Bug 303603 has been marked as a duplicate of this bug. ***
Comment 7 Navid Zamani 2010-02-05 18:59:09 UTC
Just to add information from bug 303603 here: This happens in eix-sync and in cron jobs too. Not just in revdep-rebuild.
Comment 8 Navid Zamani 2010-02-05 19:02:44 UTC
Oh, and I don’t get how this bug can be marked as “RESOLVED FIXED”, when I still have the problem here, while using the very latest version of everything (e.g. portage-2.2_rc62)?

As long as it’s not in the repository, ready to install, it should not be marked “fixed”.
It’s sad that this happens so often.
Comment 9 Navid Zamani 2010-02-05 19:05:47 UTC
(In reply to comment #8)
Oh my... I’m sorry!
I’m actually not using the latest versions on my *server*. The one with emerge being called in the cron job. I sometimes forget which computer it is.
So I take back my last comment. Sorry. :)

Thanks for fixing it!

Comment 10 Buggy B. 2010-06-03 09:43:00 UTC
At my amd64 box with:
[I] sys-apps/sandbox (2.2@02.06.2010): sandbox'd LD_PRELOAD hack
[I] sys-apps/portage (2.2_rc67@02.06.2010): Portage is the package management 
[I] app-portage/gentoolkit (0.3.0_rc10-r1@29.04.2010): Collection of 

while running revdep-rebuild at the stage of "emerge -1" I always get subj. + always have no rebuilded broken software and this "buggy" situation lasts min. 6 last months!

please decide "who" sandbox or gentoolkit is responsible or may be both?!
and please fix it with repository update - no local fixes we need, fully agreed with Comment #8, thank you much! =)
Comment 11 Dennis Schridde 2010-07-01 07:32:48 UTC
I am still experiencing this issue, please reopen!

sys-apps/portage-2.2_rc67
app-portage/gentoolkit-0.3.0_rc10-r1

Portage 2.2_rc67 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.0.1
Timestamp of tree: Thu, 01 Jul 2010 05:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=athlon64-sse3 -fstack-protector -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -O2 -march=athlon64-sse3 -fstack-protector -ftree-vectorize"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/gentoo"
PORTDIR_OVERLAY="/var/cache/portage/layman/java-overlay /var/cache/portage/layman/kde /var/cache/portage/layman/oss-overlay /var/cache/portage/layman/pcsx2 /var/cache/portage/layman/sunrise /var/cache/portage/local"
[...]
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 12 Paul Varner (RETIRED) gentoo-dev 2010-07-01 14:21:59 UTC
Reopening for investigation.
Comment 13 Stephen Bosch 2010-07-14 15:35:00 UTC
(In reply to comment #12)
> Reopening for investigation.
> 

Happening here too:

>>> Installing (8 of 8) media-gfx/gimp-2.6.8
sandbox:main  signal SIGQUIT already had a handler ...

 * Updating desktop mime database ...
 * Updating shared mime info database ...
 * Updating icons cache ...                                                            [ ok ]
 * No GNOME 2 GConf schemas found
 * Updating desktop mime database ...
 * Updating shared mime info database ...
 * Updating icons cache ...                                                            [ ok ]
 * Compilation and optimization of Python modules for CPython 2.6 ...                  [ ok ]
sandbox:main  signal SIGQUIT already had a handler ...

sandbox:main  signal SIGQUIT already had a handler ...


emerge --info:

$ emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.32-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Pentium-R-_M_processor_1500MHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 14 Jul 2010 09:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en fr nb en_GB en_CA"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/lisp /usr/local/portage/layman/dottout"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi aim alsa ao apm arts audiofile bash-completion berkdb branding bzip2 cairo calendar cdda cddb cdinstall cdparanoia cdr clamav cli cracklib crypt css cups curl curlwrappers cxx dbus dga dri dv dvb dvd dvdr encode exif expat fbcon festival ffmpeg firefox flac fontconfig foomaticdb fortran ftp gdbm gif gimp ginac glut gnuplot gphoto2 gpm gsm gtk hal handbook hddtemp iconv icq icu idn imagemagick imap imlib ipv6 jabber java jingle joystick jpeg jpeg2k kde kontact lame latex lcms libnotify lm_sensors mad mbrola mmx mng modules mp3 mp4 mpeg mplayer msn mudflap musicbrainz mysql ncurses nls nptl nptlonly nsplugin odbc offensive ofx ogg opengl openmp oscar oss pam pcmcia pcre pda pdf perl plasma plotutils png posix ppds pppd python qt3support qt4 raw rdesktop readline reflection samba scanner sdl session spl sql sse sse2 ssl startup-notification svg svga sysfs syslog tcpd theora threads tiff truetype unicode usb v4l v4l2 vcd vim-syntax vnc vorbis webkit wifi win32codecs wmf wxwidgets x264 x86 xine xinerama xinetd xorg xscreensaver xulrunner xv xvid yahoo 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 mmap_emul 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en fr nb en_GB en_CA" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS