#2938 Cannot start sssd after switching to non-root
Closed: Fixed Opened by lslebodn.

Reproducer:

  • enable logging to files (and not to journald)
  • start sssd as root ("user = root" in "[sssd]" section of sssd.conf
  • start sssd as non-root ("user = sssd" in "[sssd]" section of sssd.conf

sh# service sssd start
Redirecting to /bin/systemctl start  sssd.service
Message from syslogd@hp-dl2x170g6-01 at Jan 25 04:54:44 ...
 sssd[nss]:Could not open file [/var/log/sssd/sssd_nss.log]. Error: [13][Permission denied]
Message from syslogd@hp-dl2x170g6-01 at Jan 25 04:54:44 ...
 sssd[pam]:Could not open file [/var/log/sssd/sssd_pam.log]. Error: [13][Permission denied]
Message from syslogd@hp-dl2x170g6-01 at Jan 25 04:54:44 ...
 sssd[nss]:Could not open file [/var/log/sssd/sssd_nss.log]. Error: [13][Permission denied]
Message from syslogd@hp-dl2x170g6-01 at Jan 25 04:54:44 ...
 sssd[pam]:Could not open file [/var/log/sssd/sssd_pam.log]. Error: [13][Permission denied]
Message from syslogd@hp-dl2x170g6-01 at Jan 25 04:54:46 ...
 sssd[nss]:Could not open file [/var/log/sssd/sssd_nss.log]. Error: [13][Permission denied]
Message from syslogd@hp-dl2x170g6-01 at Jan 25 04:54:46 ...
 sssd[pam]:Could not open file [/var/log/sssd/sssd_pam.log]. Error: [13][Permission denied]
Message from syslogd@hp-dl2x170g6-01 at Jan 25 04:54:50 ...
 sssd[nss]:Could not open file [/var/log/sssd/sssd_nss.log]. Error: [13][Permission denied]
Message from syslogd@hp-dl2x170g6-01 at Jan 25 04:54:50 ...
 sssd[pam]:Could not open file [/var/log/sssd/sssd_pam.log]. Error: [13][Permission denied]
Job for sssd.service failed because the control process exited with error code. See "systemctl status sssd.service" and "journalctl -xe" for details.

Fields changed

owner: somebody => lslebodn
patch: 0 => 1
status: new => assigned

Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1302821

rhbz: => [https://bugzilla.redhat.com/show_bug.cgi?id=1302821 1302821]

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.13.4

  • master:
    • 211539459651cbfb0cb03c800ce876c20420a195
    • 74cc3797e311fd5dc12473678f499041ade7784f
  • sssd-1-13:
    • 9f1186e7be7ece4d2b9bbbe444d3fc42ab57b808
    • cbb04b9439d73fff027e193093a49cdac3cdb499

resolution: => fixed
status: assigned => closed

Metadata Update from @lslebodn:
- Issue assigned to lslebodn
- Issue set to the milestone: SSSD 1.13.4

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/3979

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata