[grsec] Grsecurity + Vserver patch (gradm2 installation problem)
Fredrik
lists at stone.nu
Tue Dec 13 05:07:56 EST 2005
Hi,
Hope it's Okay to post to this list even if it is probably a modified
grsecurity patch to play nice with vserver (or it may be the other way
around)
I have tried several vserver+grsecurity patches (both for 2.4.x and
2.6.x kernels) and they compile fine and I get lots of nice grsec log
messages when booting. When I try to install gradm2 (gradm-2.1.7) I get
the following error:
# make install
Installing gradm...
Installing gradm_pam...
Installing grlearn...
Installing gradm manpage...
Could not open /dev/grsec.
open: No such device or address
make: *** [install] Error 1
I get this for all of the different patches I have tried [1] anyone know
what it could be?
$ gradm --status
Could not open /dev/grsec.
open: No such device or address
$ stat /dev/grsec
File: `/dev/grsec'
Size: 0 Blocks: 0 IO Block: 4096 character
special file
Device: 803h/2051d Inode: 553869 Links: 1 Device type: 1,d
Access: (0622/crw--w--w-) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2005-12-13 13:18:04.000000000 +0100
Modify: 2005-12-13 13:18:04.000000000 +0100
Change: 2005-12-13 13:18:04.000000000 +0100
$ uname -a
Linux kang 2.6.11.11-vs2.0-rc4 #1 SMP Mon Dec 12 19:10:10 CET 2005 i686
GNU/Linux
Or if anyone know if grsecurity (with rbac) works with vserver and which
patch I should use?
[1] http://linux-vserver.org/Tools+and+patches
[2] The patch I found for a later kernel downloaded from:
http://team.lea-linux.org/bgigon/vserver/mirror/
// Fredrik
More information about the grsecurity
mailing list