eDirectory fails to start on RHEL 8 with SELinux mode set to "enforcing"

  • 7024867
  • 15-Oct-2020
  • 15-Oct-2020


eDirectory 9.2.x


eDirectory fails to start due to the following error: "SELinux is preventing systemd from open access on the file /var/opt/novell/eDirectory/data/ndsd.pid".


According to documentation, eDirectory is not supported on RHEL 8 with SELinux mode set to "enforcing". See here.

As a workaround for this specific error, you can run the following two commands in sequence:

# ausearch -c 'systemd' --raw | audit2allow -M my-systemd
# semodule -X 300 -i my-systemd.pp

This creates a local policy module to allow systemd to access the pid file. This workaround has not been tested by QA and is not officially supported.