Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7559 - portage, libsandbox, and kde not shutting down
Summary: portage, libsandbox, and kde not shutting down
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-05 19:18 UTC by Toby Dickenson
Modified: 2002-09-07 11:38 UTC (History)
1 user (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 Toby Dickenson 2002-09-05 19:18:52 UTC
I see there is a section in the portage-2.0.36 ebuild to remove libsandbox  
from /etc/ld.so.preload.   
  
My recent portage upgrade sequence is 2.0.28, 2.0.34, and 2.0.36. Im not sure  
exactly why, but I still had libsandbox in /etc/ld.so.preload.  
  
(In my case, the only repeatable effect was causing a segfault when pressing 
the 'shutdown' button in kdm. It would stop X, but then segfault before 
starting the shutdown)  
  
The bit of code in the ebuild to remove this line from ld.so.preload is inside  
a "if [ -d /usr/lib/sandbox ]". probing using epm, it appears I never had this  
directory.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-06 22:52:08 UTC
I think that is leftover from when sandbox was in /usr ...

Guess best way will be to fix /etc/ld.so.preload in the ebuild:

pkg_postinst() {
    if [ -f /etc/ld.so.preload ] ; then
        cp /etc/ld.so.preload ${T}
        grep -v libsandbox ${T}/ld.so.preload > /etc/ld.so.preload
    fi
}
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-09-07 11:38:50 UTC
Just added this fix to the 2.0.36 ebuild, should be fixed. Closing.