Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 11832] New: glibc test-installation.pl and grsecurity problems

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 11832] New: glibc test-installation.pl and grsecurity problems
  • Date: 12 May 2006 05:49:38 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=11832

Summary: glibc test-installation.pl and grsecurity problems
Product: Codex
Version: test grimoire
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: libs
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: dmlb2000 AT gmail.com


Okay found a unique bug with grsecurity and glibc's install scripts. I
honestly
don't know how to fix it (or if we even should) but I'll tell you everything
that happens.

=== PRECONDITIONS ===
1) grsecurity kernel with CONFIG_GRKERNSEC_LINK enabled y

=== STEPS TO REPRODUCE ===
1) just cast -c glibc

=== POST-CONDITIONS ===
1) glibc fails to install due to test-installation.pl failing

=== REASONS ===
After further experimentation I hacked at the test-installation.pl to make it
work around grsecurity preventing linking in the /tmp directory. The script
creates a small test C file in /tmp it then compiles the binary into /tmp then
tries to ldd the file and parse the output. Since grsecurity prevents linking
it
doesn't output anything and the test-installation.pl script thinks the compile
failed to link somehow. I got around this by hacking at the script making it
use /root to run the binary from instead of /tmp.

I honestly don't know if we should worry about this. I just figured I'd
report
this somewhere so someone else can make a decision.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Grimoire-Bugs] [Bug 11832] New: glibc test-installation.pl and grsecurity problems, bugzilla-daemon, 05/12/2006

Archive powered by MHonArc 2.6.24.

Top of Page