Summary: | app-portage/gentoolkit: revdep-rebuild should not scan /usr/lib{,64}/debug | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Xake <kanelxake> |
Component: | Third-Party Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | bug, j6yNRdsH5Fc3, whissi |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Xake
2011-04-24 15:30:52 UTC
On hardened-kernel it also triggers many messages in dmesg: [497448.474532] grsec: From 127.0.0.6: denied RWX mprotect of /usr/lib64/debug/lib32/libm-2.14.1.so.debug by /lib32/ld-2.14.1.so[ld-linux.so.2:5023] uid/euid:0/0 gid/egid:0/0, parent /usr/bin/ldd[ldd:5021] uid/euid:0/0 gid/egid:0/0 [497448.486960] grsec: From 127.0.0.6: denied RWX mprotect of /usr/lib64/debug/lib32/libmemusage.so.debug by /lib32/ld-2.14.1.so[ld-linux.so.2:5030] uid/euid:0/0 gid/egid:0/0, parent /usr/bin/ldd[ldd:5028] uid/euid:0/0 gid/egid:0/0 Ah, both of you did not mention the version of gentoolkit. The latest version of ~ gentoolkit has the new python version of revdep-rebuild. Can you test if that one also looks at debug files as libs? I meant last stable version:) Now i tried 0.3.0.6 and still the same: [sob kwi 28 21:45:25 2012] grsec: From 127.0.0.6: denied RWX mprotect of /usr/lib64/debug/usr/lib64/gconv/UNICODE.so.debug by /lib64/ld-2.14.1.so[ld-linux-x86-64:41918] uid/euid:0/0 gid/egid:0/0, parent /usr/bin/ldd[ldd:41915] uid/euid:0/0 gid/egid:0/0 *** Bug 601536 has been marked as a duplicate of this bug. *** Hi, Using =app-portage/gentoolkit-0.4.2-r1 and revdep-rebuild.sh This is still scanning these files, and now that I've upgraded to glibc-2.26, getting hundreds of segfaults in dmesg, similar to: "ld-linux.so.2[54721]: segfault at 4 ip 00000000f7fab5b4 sp 00000000ffcc2cd0 error 4 in ld-2.26.so[f7fa0000+25000]" In the past, I tried the python version, but it wasn't detecting properly and don't remember anymore the reasons why. I prefer to stay with the .sh script. Thanks Dyweni (In reply to Dyweni from comment #5) > Hi, > > Using =app-portage/gentoolkit-0.4.2-r1 and revdep-rebuild.sh > > This is still scanning these files, and now that I've upgraded to > glibc-2.26, getting hundreds of segfaults in dmesg, similar to: > "ld-linux.so.2[54721]: segfault at 4 ip 00000000f7fab5b4 sp 00000000ffcc2cd0 > error 4 in ld-2.26.so[f7fa0000+25000]" If you have glibc built with -g or -ggdb in CFLAGS then maybe you can get a backtrace from a core dump as described here: https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces#Core_dumps |