After more digging I've found that it's not the libpem-systemd package itself, but one of commands that comes from systemd.
systemd-tmpfiles --create That command is executed during system startup and it sets permissions on a lot of system directories, according to some configuration file. One of those directories is this one: root@apache:~# ls -ld /run/shibboleth/ drwxr-x--- 2 _shibd _shibd 4096 May 27 12:18 /run/shibboleth/ After running the systemd-tmpfiles --create permissions of that directory are changed to following: root@apache:~# ls -ld /run/shibboleth/ drwxr-xr-x 2 _shibd _shibd 4096 May 27 12:18 /run/shibboleth/ so in the end running chmod 755 on /run/shibboleth solves the issue -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1974251 Title: libapache2-mod-shib module doesn't work with 2.4.52 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1974251/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs