Page 1 of 1

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

PostPosted: Sun Mar 22, 2015 2:34 pm
by martinvegter
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?