Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grsecurity and gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jtshaw
n00b
n00b


Joined: 07 Aug 2003
Posts: 39
Location: Atlanta, GA

PostPosted: Mon Dec 13, 2004 5:20 pm    Post subject: grsecurity and gentoo Reply with quote

I'm having a bit of an issue. I'm currently using gentoo-sources 2.4.28-r2.

The kernel works all fine and dandy so long as I don't use any of the grsecurity features. As soon as I do use them, I get an error at boot saying I don't have devfs or udev enabled. Anyone now a way around this?
Back to top
View user's profile Send private message
msalerno
Veteran
Veteran


Joined: 17 Dec 2002
Posts: 1338
Location: Sweating in South Florida

PostPosted: Mon Dec 13, 2004 7:15 pm    Post subject: Reply with quote

Do you have devfs or udev enabled?

According to the Gentoo install handbook, you should have devfs installed for the 2.4 kernel, if you use udev, then you would need to configure that.
Back to top
View user's profile Send private message
jtshaw
n00b
n00b


Joined: 07 Aug 2003
Posts: 39
Location: Atlanta, GA

PostPosted: Tue Dec 14, 2004 6:53 pm    Post subject: Reply with quote

Yes, I have devfs enabled and set to automatically boot on startup.

I built two kernels, the only difference between them is the first one I compiled without grsecurity, and the second one I compiled with grsecurity.

The first one boots just fine, the second one gets the complaints about devfs. Looking at the kernel output on the 2nd one I can even see the line stating it started devfs. When the system gives me the error message and I boot into single user mode, I can even see devices in /dev. The problem, it seams, is some of the devices are missing. I'm trying to figure out what grsecurity setting is causing this...
Back to top
View user's profile Send private message
jtshaw
n00b
n00b


Joined: 07 Aug 2003
Posts: 39
Location: Atlanta, GA

PostPosted: Tue Dec 14, 2004 11:07 pm    Post subject: Reply with quote

I got it to work... looks like whatever patch makes grsecurity and pax work ok with the devfs dependant startup scripts is only included in the hardened sources.

I'm not sure why they wouldn't include that in the regular gentoo-sources if they are also going to include the grsecurity patch....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum