Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Failed to resolve roleattributeset statement at /var/lib/selinux/targeted/tmp/modules/400/filename/cil:5 Failed to resolve AST semodule: Failed!

    Posted on

    Hi,
    I have created a Selinux custom policy for my application, written it on the .TE format and I converted that to .pp format using below command.
    make -f /usr/share/selinux/devel/Makefile filename.pp

    I tried to install the .pp file using below command
    semodule -i filename.pp

    But I'm getting below error
    Failed to resolve roleattributeset statement at /var/lib/selinux/targeted/tmp/modules/400/filename/cil:5
    Failed to resolve AST
    semodule: Failed!

    Could you please help me to resolve the errors.

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat