FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 08-11-2008, 04:55 PM
Orion Poplawski
 
Default Need advice with gridengine 6.2 and "libcore"

Gridengine 6.2 make uses of a helper library on Linux to ensure that
coredumps are always performed. A discussion of the issue can be found
here:


http://gridengine.sunsource.net/issues/show_bug.cgi?id=2552

The solution provided is to add a wrapper library called "libcore" that
basically wraps the set[e][gu]id function calls and makes sure
prctl(PR_SET_DUMPABLE,1,42,42,42); is called each time.


This ends up with a "libcore.so" in %{_libdir}, which seems like a
really bad idea.


I've checked it the current setup but have not built it into the
release. Scratch build is here:


http://koji.fedoraproject.org/koji/taskinfo?taskID=770823

Suggestions for:

- a better workaround.
- a better location/name for libcore.so.
- ?

are much appreciated.

--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 08-11-2008, 05:11 PM
"Colin Walters"
 
Default Need advice with gridengine 6.2 and "libcore"

On Mon, Aug 11, 2008 at 12:55 PM, Orion Poplawski <orion@cora.nwra.com> wrote:
> Gridengine 6.2 make uses of a helper library on Linux to ensure that
> coredumps are always performed. A discussion of the issue can be found
> here:

Ideally this is integrated with:
https://fedoraproject.org/wiki/Features/CrashHandling

For core dumps in particular though, just set the core limit to
unlimited; I don't see why the library needs to do this itself.

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 08-12-2008, 05:16 PM
Orion Poplawski
 
Default Need advice with gridengine 6.2 and "libcore"

Colin Walters wrote:

On Mon, Aug 11, 2008 at 12:55 PM, Orion Poplawski <orion@cora.nwra.com> wrote:

Gridengine 6.2 make uses of a helper library on Linux to ensure that
coredumps are always performed. A discussion of the issue can be found
here:


For core dumps in particular though, just set the core limit to
unlimited; I don't see why the library needs to do this itself.



Apparently it is an issue with setuid/setgid binaries. I haven't really
confirmed the problem myself.


--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 08-12-2008, 05:23 PM
Alan Cox
 
Default Need advice with gridengine 6.2 and "libcore"

On Tue, Aug 12, 2008 at 11:16:21AM -0600, Orion Poplawski wrote:
> Apparently it is an issue with setuid/setgid binaries. I haven't really
> confirmed the problem myself.

setuid apps don't core dump by default. The reason for that is that they
might dump useful data in the core (like say /etc/shadow)

An app on Linux can actually say "hey I want to core dump anyway" and use
prctl(PR_SET_DUMPABLE, 1);

Alan

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 07:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org