include causes a syntax error in /etc/grsec/policy

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

include causes a syntax error in /etc/grsec/policy

Postby martinvegter » Sun Mar 22, 2015 2:34 pm

gradm -E gives me following error:

Code: Select all
"i" caused a syntax error on line 48 of /etc/grsec/policy


my policy looks like this (snippet):

Code: Select all
  40
  41 role default
  42 subject /
  43         /                       h
  44         -CAP_ALL
  45         connect disabled
  46         bind    disabled
  47
  48 include <./users>
  49


it was generated by the learning process (gradm -F -L learning.log -O .)

When I comment out the include (line 48), the syntax error disappears.

Any suggestions how to fix this?
martinvegter
 
Posts: 6
Joined: Tue Jan 27, 2015 8:49 am

Return to grsecurity support