2012-02-24 18:55:47

by daniel.gassen

[permalink] [raw]
Subject: [refpolicy] Issues during compilation of latest refpolicy version 2012-02-15

Hello all,

during compilation of the latest unmodified(!) policy source, i receive
the following error on a default Debian 6.0.4 system:

...
/usr/bin/checkmodule: loading policy configuration from tmp/auditadm.tmp
policy/modules/roles/auditadm.te":10:ERROR 'syntax error' at token
'attribute_role' on line 4582:
attribute_role chfn_roles;
#line 10
/usr/bin/checkmodule: error(s) encountered while parsing configuration
make: *** [tmp/auditadm.mod] Fehler 1
...

The previous version (dated 2011-07-26) compiles without any errors.

Mit freundlichen Gr??en / Kind regards,

Daniel Gassen
Security Services / gCERT Coordinator
Phone: +49 621 60-45903, Mobile: +49 174 3496548, Fax: +49 621 60-22121,
E-Mail: daniel.gassen at basf.com
Postal Address: BASF IT Services GmbH, IN-CS - C010, 67059 Ludwigshafen,
Germany
BASF - The Chemical Company
BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
Managing Directors:
Andreas Biermann, Dr. Ralf Sonnberger
Chairman of the Supervisory Board: Andrew Pike
http://www.information-services.basf.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.tresys.com/pipermail/refpolicy/attachments/20120224/3dedfd0d/attachment.html


2012-02-24 19:09:26

by dominick.grift

[permalink] [raw]
Subject: [refpolicy] Issues during compilation of latest refpolicy version 2012-02-15

On Fri, 2012-02-24 at 19:55 +0100, daniel.gassen at basf.com wrote:
> Hello all,
>
> during compilation of the latest unmodified(!) policy source, i
> receive the following error on a default Debian 6.0.4 system:
>

Do you have the latest user space? I think refpolicy depends on the
release of 2011-07-27 for role attribute support.

http://userspace.selinuxproject.org/trac/wiki/Releases

Release 2011-07-27

New features in this release include:

Add class field in role_transition rules by Harry Ciao
Add role attribute support by Harry Ciao

> ...
> /usr/bin/checkmodule: loading policy configuration from
> tmp/auditadm.tmp
> policy/modules/roles/auditadm.te":10:ERROR 'syntax error' at token
> 'attribute_role' on line 4582:
> attribute_role chfn_roles;
> #line 10
> /usr/bin/checkmodule: error(s) encountered while parsing
> configuration
> make: *** [tmp/auditadm.mod] Fehler 1
> ...
>
> The previous version (dated 2011-07-26) compiles without any errors.
>
> Mit freundlichen Gr??en / Kind regards,
>
> Daniel Gassen
> Security Services / gCERT Coordinator
>
> Phone: +49 621 60-45903, Mobile: +49 174 3496548, Fax: +49 621
> 60-22121, E-Mail: daniel.gassen at basf.com
> Postal Address: BASF IT Services GmbH, IN-CS - C010, 67059
> Ludwigshafen, Germany
>
> BASF - The Chemical Company
>
> BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
> Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
> Managing Directors:
> Andreas Biermann, Dr. Ralf Sonnberger
> Chairman of the Supervisory Board: Andrew Pike
> http://www.information-services.basf.com
>
> _______________________________________________
> refpolicy mailing list
> refpolicy at oss.tresys.com
> http://oss.tresys.com/mailman/listinfo/refpolicy