• policycoreutils-3.5-2.el9
    • None
    • None
    • rhel-sst-security-selinux
    • 18
    • None
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • If docs needed, set a value
    • None

      Description of problem:

      1. mkdir mypolicy
      1. sepolicy generate -p mypolicy -n testpolicy --admin_user -r webadm_r
        Created the following files:
        mypolicy/testpolicy.te # Soubor typu prosazování
        mypolicy/testpolicy.if # Soubor rozhraní
        mypolicy/testpolicy.fc # Soubor kontextového souboru
        mypolicy/testpolicy_selinux.spec # Spec soubor
        mypolicy/testpolicy.sh # Skript nastavení
      1. mypolicy/testpolicy.sh
        Compiling targeted testpolicy module
        Creating targeted testpolicy.pp policy package
        rm tmp/testpolicy.mod.fc tmp/testpolicy.mod
        + /usr/sbin/semodule -i testpolicy.pp
        Failed to resolve roleattributeset statement at /var/lib/selinux/targeted/tmp/modules/400/testpolicy/cil:9
        Failed to resolve AST
        /usr/sbin/semodule: Failed!

              rhn-engineering-plautrba Petr Lautrbach
              rhn-engineering-plautrba Petr Lautrbach
              Petr Lautrbach Petr Lautrbach
              Milos Malik Milos Malik
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: