Public bug reported:

If an attempt is made to mount an overlay filesystem over the /var/log
directory, this causes sssd to refuse to start up.

The startup fails at the point where sssd attempts to write to its
logfiles:

sssd: Could not open file [/var/log/sssd/sssd.log]. Error:
[13][Permission denied]

sssd is running as root, and should have no problem writing to logfiles.
Removing the -f option from sssd causes sshd to not attempt to write to
/var/log/ssshd/ssshd.log and sshd startup succeeds.

Running sssd without any flags logs to syslog, and this works correctly,
logging to /var/log/syslog on the overlayfs filesystem.

Removing the file /etc/apparmor.d/usr.sbin.sssd causes sssd to start up
correctly, logging to the overlayfs /var/log/sssd directory without an
issue.

Looks like the apparmour configration for sssd breaks when an overlayfs
is present.

** Affects: sssd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1620744

Title:
  sssd + overlay filesystem startup failure: Could not open file
  [/var/log/sssd/sssd.log]. Error: [13][Permission denied]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1620744/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to