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:
- 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
08-11-2008, 05:11 PM
"Colin Walters"
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
08-12-2008, 05:16 PM
Orion Poplawski
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
08-12-2008, 05:23 PM
Alan Cox
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