Hello,
when I start full learning from command line gradm works fine
but when full learning is started by init script /etc/init.d/localmount, gradm is broken
# gradm -S
The RBAC system is currently disabled.
# gradm -P
Setting up grsecurity RBAC password
Password:
Re-enter Password:
Password written to /etc/grsec/pw.
# gradm -P admin
Setting up password for role admin
Password:
Re-enter Password:
Password written to /etc/grsec/pw.
# gradm -F -L /etc/grsec/learning.logs
# gradm -S
The RBAC system is currently enabled.
# gradm -D
Password:
following line is inserted into /etc/init.d/localmount function start(), after "Mounting local filesystems", before "return 0":
gradm -F -L /etc/grsec/learning.logs
# reboot
# gradm -S
The /dev/grsec device is not properly installed on your system or you are not using a grsecurity kernel.
# gradm -D
Password:
Invalid password.
# gradm -a admin
Password:
Invalid password.
learning is active as file /etc/grsec/learning.logs is growing
Gentoo Hardened,
grsecurity-2.9.1-3.7.6-201302071938.patch
gradm-2.9.1-201301041755.tar.gz