Running Learning Phase Problem

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

Running Learning Phase Problem

Postby sha8e » Wed Oct 22, 2008 10:29 am

Hi,

I am trying to run the learning phase, but I keep getting the following:
Code: Select all
gradm -F -L /etc/grsec/learning.log
Duplicate subject found for "/etc/rc.d/init.d" in role default, on line 1 of (null).
"/etc/rc.d/init.d" references the same object as "/etc/init.d" specified on an earlier line.
The RBAC system will not load until this error is fixed.


What do I have to do? Or is there a good manual to read? I read the quick start but there is nothing further than starting and stopping the phase.

Thanks in advance for your help.
sha8e
 
Posts: 2
Joined: Wed Oct 22, 2008 10:23 am

Re: Running Learning Phase Problem

Postby sha8e » Wed Oct 22, 2008 10:59 am

Hi,

Finally I managed to solve the problem, I did the following:
Code: Select all
vim /etc/grsec/learn_config


and I commented out the line:
Code: Select all
#inherit-learn /etc/rc.d/init.d


then:
Code: Select all
gradm -F -L /etc/grsec/learning.log


Everything went great :)
sha8e
 
Posts: 2
Joined: Wed Oct 22, 2008 10:23 am


Return to grsecurity support