libpam-chroot broken

Bug #237308 reported by peterh
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libpam-chroot (Ubuntu)
Fix Released
Undecided
Unassigned
Hardy
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: libpam-chroot

See Workaraound https://answers.launchpad.net/ubuntu/+question/33707

my question is where does this symbol: __stack_chk_fail_local come from?

cu Peter

Revision history for this message
peterh (peter-holik) wrote :

I found the problem:

instead of "ld --shared" "gcc -shared" has to be used

--- Makefile.orig 2008-06-05 16:48:05.000000000 +0200
+++ Makefile 2008-06-05 16:46:05.000000000 +0200
@@ -3,7 +3,7 @@
 CC=gcc
 CFLAGS=-fPIC -O2 -Wall -Werror -pedantic
 CPPFLAGS=-I.
-LDFLAGS=-x --shared -lpam
+LDFLAGS=-shared -lpam
 DESTDIR=/

 OUT=pam_chroot.so
@@ -12,7 +12,7 @@
 all: $(OUT)

 %.so: %.o
- ld $(LDFLAGS) -o $@ $<
+ gcc $(LDFLAGS) -o $@ $<

 clean:
        rm -f *.o $(OUT)

Revision history for this message
Enrico204 (enrico-bassetti) wrote :

That's working for me, thank you!

I'm going to make unofficial i386 and (maybe) amd64 .deb

Enrico

Revision history for this message
Enrico204 (enrico-bassetti) wrote :

Here the deb binary.

Enrico

Revision history for this message
peterh (peter-holik) wrote :

It would be nice to have an official package for hardy

Peter

William Grant (wgrant)
Changed in libpam-chroot:
assignee: nobody → wgrant
status: New → In Progress
William Grant (wgrant)
Changed in libpam-chroot:
status: In Progress → Confirmed
William Grant (wgrant)
Changed in libpam-chroot:
assignee: wgrant → nobody
Revision history for this message
Zack (zack-gilburd) wrote :

What's going on with this bug? It's been about 9 months and this seems like a very easy, and necessary, fix.

Revision history for this message
Zack (zack-gilburd) wrote :

In the meantime, here is the latest properly compiled intrepid amd64 build.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Hardy has seen the end of its life and is no longer receiving any updates. Marking the Hardy task for this ticket as "Won't Fix".

Changed in libpam-chroot (Ubuntu Hardy):
status: New → Won't Fix
Revision history for this message
James Cowgill (jcowgill) wrote :

Was fixed in 0.9-4ubuntu2 / 0.9.4.1 (oneiric)

Changed in libpam-chroot (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.