2.6.14.2 + 2.1.7-2.6.14.2-200511120003 = Cannot open /dev/gr

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

2.6.14.2 + 2.1.7-2.6.14.2-200511120003 = Cannot open /dev/gr

Postby Elven » Wed Nov 23, 2005 12:28 am

..sec

on running /sbin/gradm2.

Running on latest debian unstable:
root@box src $ gradm2 -v
gradm v2.1.6

root@box src $ file /dev/grsec
/dev/grsec: character special (1/12)

This leaves me somewhat between a rock and a hard place, because I cannot enable RBAC. :/

Yes, the right kernel is running, and GRSEC is enabled with the proper settings in /proc/config.gz. I double checked, then double checked.

Help?

-- Elven
Elven
 
Posts: 2
Joined: Wed Nov 23, 2005 12:23 am

Postby Thrawn » Wed Nov 23, 2005 10:09 am

A look in the makefile of gradm will solve this.

@if [ -z "`cut -d" " -f3 /proc/mounts | grep "^devfs"`" ] ; then \
rm -f $(DESTDIR)/dev/grsec ; \
if [ ! -e $(DESTDIR)/dev/grsec ] ; then \
mkdir -p $(DESTDIR)/dev ; \
$(MKNOD) -m 0622 $(DESTDIR)/dev/grsec c 1 13 ; \
fi \
fi


But without gradm-2.1.7 you will get the next error - incompatible versions of grsecurity and gradm.

So you have to build your own .deb cause debian sid is still version 2.1.6
Thrawn
 
Posts: 35
Joined: Wed Nov 23, 2005 9:54 am


Return to grsecurity support