Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387853 - net-misc/dahdi-2.5.0.1 fast track stabilisation; current stable fails to build against stable hardened-sources
Summary: net-misc/dahdi-2.5.0.1 fast track stabilisation; current stable fails to buil...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2011-10-20 11:03 UTC by Tony Vroon (RETIRED)
Modified: 2011-10-24 16:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Vroon (RETIRED) gentoo-dev 2011-10-20 11:03:24 UTC
The newly added DAHDI 2.5.0.1 ebuild is the only version that will build against the current stable hardened-sources 3.0.4
As such, I am requesting an immediate stable to avoid breaking Asterisk deployments on hardened systems.

Arch teams, if this compiles and the resulting module loads & unloads, I consider that a successful test.
TARGET KEYWORDS="amd64 x86"
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-10-20 12:02:13 UTC
amd64:


archtester dahdi # ebuild dahdi-2.5.0.1.ebuild clean install
archtester dahdi # modprobe dahdi && rmmod dahdi && echo "Success"
Success
archtester dahdi # uname -r
2.6.38-tuxonice-r1-amd64
Comment 2 Agostino Sarubbo gentoo-dev 2011-10-20 12:45:06 UTC
(In reply to comment #1)
> archtester dahdi # uname -r
> 2.6.38-tuxonice-r1-amd64

I guess you should test with 3.x kernel
Comment 3 Erik Wallin 2011-10-20 13:01:56 UTC
Works for me on amd64.

uname -r
2.6.39-gentoo-r3

with the following modules:

lsmod
dahdi_echocan_mg2       4150  120 
wct4xxp               179546  124 
dahdi                 168280  250 dahdi_echocan_mg2,wct4xxp

I'm not able to test on 3.0.4 or hardened at the moment.
Comment 4 Agostino Sarubbo gentoo-dev 2011-10-20 13:14:48 UTC
(In reply to comment #3)
> I'm not able to test on 3.0.4 or hardened at the moment.

The goal is test to linux3
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2011-10-20 15:46:42 UTC
When tested against the newest stable hardened-sources, it would appear that a different build failure occurs. My apologies, this isn't ready yet.
Comment 6 Erik Wallin 2011-10-20 17:19:46 UTC
I've tried now with hardened-sources-3.0.4-r2 on amd64.

Tested with the wct4xxp driver for a Wildcard TE410P/TE405P.

The modules loads and asterisk is happy.
Comment 7 Erik Wallin 2011-10-21 11:57:35 UTC
Verified with gentoo-sources-3.0.6 on amd64.
Comment 8 Erik Wallin 2011-10-21 13:42:02 UTC
As promised, I've now checked through the gentoo patchset for dahdi.

None of the files that are touched by the patchset for 2.5.0 have changed between 2.5.0 and 2.5.0.1.

So, we can be sure the patches are still needed and apply in the correct locations.

I'm running 2.5.0.1 in production now.
Comment 9 Erik Wallin 2011-10-24 16:08:48 UTC
Now that dahdi 2.5.0.2 is out, perhaps that's what we should be working on. I've tested that and it works with the same patches as 2.5.0.1.

Tested against
hardened-sources-3.0.4-r2
and
gentoo-sources-3.0.6
on amd64

There are no changes between 2.5.0.1 and 2.5.0.2 that interfere with the gentoo-dahdi-patchset-0.8.

Don't forget to apply the change to 07-grsecurity-no-constify.diff, where 

+#ifndef CONSTIFY_PLUGIN

should be replaced by

+#ifndef __no_const

That is required to compile against hardened-3.0.4.