Did this issue start happening after an update/upgrade?  Was there a
prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.12 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as
"Confirmed".


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12-rc4


** Changed in: linux (Ubuntu)
       Status: Triaged => Incomplete

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

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

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  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.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to