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

SELinux labeling for dirsrv files seen during ipa install/uninstall should be moved to DEBUG.

    • 389-ds-1.4-8100020240116191029-945b6f6d
    • Major
    • sst_idm_ds
    • ssg_idm
    • 18
    • 25
    • None
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Bug Fix
    • Hide
      .SELinux labeling for `dirsrv` files was moved to `DEBUG` log level

      Previously, SELinux labeling for `dirsrv` files had the `INFO` log level. With this update, the `DEBUG` log level is used for the `dirsrv` files the same way as it was in previous versions.

      Show
      .SELinux labeling for `dirsrv` files was moved to `DEBUG` log level Previously, SELinux labeling for `dirsrv` files had the `INFO` log level. With this update, the `DEBUG` log level is used for the `dirsrv` files the same way as it was in previous versions.
    • Done
    • None

      Description of problem: SELinux labeling for dirsrv files seen during ipa install should be moved to DEBUG.

      Version-Release number of selected component (if applicable):
      ipa-server-4.9.10-8.module+el8.8.0+17351+9a3fb056.x86_64

      How reproducible:
      Always

      Steps to Reproduce:
      1. Install IPA server. Check the message displayed on the console.
      2. Uninstall IPA server

      Actual results:

      --IPA Install--
      Perform SELinux labeling ...
      Setting label dirsrv_var_lib_t in seLinux file context /var/lib/dirsrv/slapd-TESTRELM-TEST/bak.
      Setting label dirsrv_config_t in seLinux file context /etc/dirsrv/slapd-TESTRELM-TEST.
      Setting label dirsrv_var_lib_t in seLinux file context /var/lib/dirsrv/slapd-TESTRELM-TEST/db.
      Setting label dirsrv_var_lib_t in seLinux file context /var/lib/dirsrv/slapd-TESTRELM-TEST/ldif.
      Setting label dirsrv_var_lock_t in seLinux file context /var/run/lock/dirsrv/slapd-TESTRELM-TEST.
      Setting label dirsrv_var_log_t in seLinux file context /var/log/dirsrv/slapd-TESTRELM-TEST.
      Setting label dirsrv_tmpfs_t in seLinux file context /dev/shm/slapd-TESTRELM-TEST.
      Setting label dirsrv_var_run_t in seLinux file context /var/run/dirsrv.
      Setting label dirsrv_config_t in seLinux file context /etc/dirsrv/slapd-TESTRELM-TEST/schema.

      --IPA Uninstall--
      Unconfiguring directory server
      Removing seLinux file context /dev/shm/slapd-TESTRELM-TEST with label dirsrv_tmpfs_t.
      Removing seLinux file context /etc/dirsrv/slapd-TESTRELM-TEST with label dirsrv_config_t.
      Removing seLinux file context /etc/dirsrv/slapd-TESTRELM-TEST/schema with label dirsrv_config_t.
      Removing seLinux file context /var/lib/dirsrv/slapd-TESTRELM-TEST/bak with label dirsrv_var_lib_t.
      Removing seLinux file context /var/lib/dirsrv/slapd-TESTRELM-TEST/db with label dirsrv_var_lib_t.
      Removing seLinux file context /var/lib/dirsrv/slapd-TESTRELM-TEST/ldif with label dirsrv_var_lib_t.
      Removing seLinux file context /var/log/dirsrv/slapd-TESTRELM-TEST with label dirsrv_var_log_t.
      Removing seLinux file context /var/run/dirsrv with label dirsrv_var_run_t.
      Removing seLinux file context /var/run/lock/dirsrv/slapd-TESTRELM-TEST with label dirsrv_var_lock_t.

      Expected results:
      The above information should be part of DEBUG rather than INFO.

      Additional info:

            rhn-engineering-mareynol Mark Reynolds
            sumenon@redhat.com Sudhir Menon
            Mark Reynolds Mark Reynolds
            IdM DS QE IdM DS QE
            Evgenia Martyniuk Evgenia Martyniuk
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: