Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-118641

Queries that can have option values for seinfo wrongly use sepolicy path breaking the functionality

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.2
    • rhel-8.8.0, rhel-9.6, rhel-10.0
    • setools
    • setools-4.6.0-2.el10
    • No
    • Moderate
    • rhel-security-selinux
    • 16
    • None
    • QE ack
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      What were you trying to do that didn't work?

      seinfo -t /path/to/policy.33 , shows 0 finds 

      What is the impact of this issue to you?

      Doesn't allow to properly work with querying the policy file

      Please provide the package NVR for which the bug is seen:

      Its a BUG in upstream so all versions have this issue.

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. run command `seinfo -t /etc/selinux/targeted/policy/policy.33`
      2. You can run any query flag like -a, -r, etc they all will fail

      Expected results

      It should list all the values of based on requested query argument from the policy 

      Actual results

      It shows 0 results because it searches for string '/path/to/policy.33' into default policy.

       

       

              rh-ee-vsyncako Veronika Syncakova
              rhn-support-plawate Pranav Lawate
              Veronika Syncakova
              Vit Mojzis Vit Mojzis
              Milos Malik Milos Malik
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: