When I attempt to start gradm I get the following message: selinux gradm2 # gradm -E Could not open /dev/grsec. open: No such device or address Reproducible: Always Steps to Reproduce: 1. build 2.6.7-hardened-r7 kernel 2. build gradm-2.0.1 3. run gradm -E Actual Results: Same as above. Expected Results: Gradmin enabled. Portage 2.0.50-r9 (x86, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-hardened-r7) ================================================================= System uname: 2.6.7-hardened-r7 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -fforce-addr" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache fixpackages loadpolicy sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="berkdb crypt gdbm libwww ncurses nls pam perl png python readline selinux ssl tcpd tiff x86 zlib"
works here..
Created attachment 37397 [details] Result of "emerge -v --deep gradm"
Created attachment 37398 [details] Kernel configuration for 2.6.7-hardened-r7 kernel
Unmerged gradm and build straigh from the tarball. The problem I found during installation was that /etc/grsec/acl does not exist. If it does not then the installation cannot proceed. I did 'touch /etc/grsec/acl' and was able to get the make install to work. After this I set the admin password via gradm -P admin. Once all this was done then I could do gradm -E. It appears that either the installation is incorrect in assuming that /etc/grsec/acl will exist or that something must be done before gradm is emerged (e.g. install something else). I say only this out of ignorance.
works here and for everybody else but you.