[grsec-2.2.1-2.6.37 no RBAC] gradm can't open /dev/grsec
Posted: Wed Mar 09, 2011 1:34 am
Hello!
I've finally found some time to patch and configure a new kernel, at first it was a breeze, even managed to package it and get it onto an other box where I'd rather have no gcc & co. I've tried to package gradm too, and had some success (it seems to support $(DISTDIR) and dh_make and debuild kindly provided me with a package after all, but it could be broken as there aren't any udev rules in the package).
Then gradm gives me the error about the failed open syscall pointing to /dev/grsec. (/dev/grsec is there with major,minor being 1,13.) My question is, could this be because I have disabled RBAC during configuration, or it's because my half-assed packaging attempt? (Any way to list the registerd major,minor numbers? Or at least grep it easily from the .patch?)
Thanks in advance!
I've finally found some time to patch and configure a new kernel, at first it was a breeze, even managed to package it and get it onto an other box where I'd rather have no gcc & co. I've tried to package gradm too, and had some success (it seems to support $(DISTDIR) and dh_make and debuild kindly provided me with a package after all, but it could be broken as there aren't any udev rules in the package).
Then gradm gives me the error about the failed open syscall pointing to /dev/grsec. (/dev/grsec is there with major,minor being 1,13.) My question is, could this be because I have disabled RBAC during configuration, or it's because my half-assed packaging attempt? (Any way to list the registerd major,minor numbers? Or at least grep it easily from the .patch?)
Thanks in advance!