Public bug reported: I have a some chown failures in /var/log/syslog, that come from the many sssd-*.service files' ExecStartPre commands:
Example for the sssd-sudo service, started by sssd-sudo.socket: # systemctl cat sssd-sudo.service | grep chown ExecStartPre=-/bin/chown root:root /var/log/sssd/sssd_sudo.log # grep chown /var/log/syslog Sep 3 17:26:27 g-adclient1 chown[880]: /bin/chown: cannot access '/var/log/sssd/sssd_sudo.log': No such file or directory Sep 3 17:32:03 g-adclient1 chown[1118]: /bin/chown: cannot access '/var/log/sssd/sssd_sudo.log': No such file or directory Sep 3 17:34:58 g-adclient1 chown[1158]: /bin/chown: cannot access '/var/log/sssd/sssd_pam.log': No such file or directory Sep 3 17:34:58 g-adclient1 chown[1162]: /bin/chown: cannot access '/var/log/sssd/sssd_pac.log': No such file or directory They are not fatal, as the commands are prefixed with "-", but generate this noise the first time each service is started (they are socket- activated). All but sudo seem to create a log file eventually, so the next time they start, the file will be there and chown will work, but sudo doesn't seem to create one in the default config, so this error will repeat. The service file comes like this from upstream: ExecStartPre=-/bin/chown @SSSD_USER@:@SSSD_USER@ @logpath@/sssd_sudo.log There is a configure build-time option to run sssd as another user aparrently (which debian and ubuntu do not use): --with-sssd-user=<user> User for running SSSD (root) That is what sets @SSSD_USER@ ultimately, so I guess the chown is really there for when the user is not root. ** Affects: sssd (Ubuntu) Importance: Low Status: Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1894132 Title: chown errors in syslog To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1894132/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs