PDA

View Full Version : upgrade 20.04 to 20.10 problem with SSSD



bert.ram.aerts
October 18th, 2020, 09:22 PM
Hi,

Yesterday I upgraded my laptop from Ubuntu 20.04 to Ubuntu 20.10.

In syslog I read:
Oct 17 20:24:30 Dell7577Linux systemd[1]: sssd.service: Scheduled restart job, restart counter is at 4.
Oct 17 20:24:30 Dell7577Linux systemd[1]: Stopped System Security Services Daemon.
Oct 17 20:24:30 Dell7577Linux systemd[1]: Starting System Security Services Daemon...
Oct 17 20:24:30 Dell7577Linux sssd[1070]: SSSD couldn't load the configuration database [2]: No such file or directory.
Oct 17 20:24:30 Dell7577Linux systemd[1]: sssd.service: Main process exited, code=exited, status=4/NOPERMISSION
Oct 17 20:24:30 Dell7577Linux systemd[1]: sssd.service: Failed with result 'exit-code'.
Oct 17 20:24:30 Dell7577Linux systemd[1]: Failed to start System Security Services Daemon.
Oct 17 20:24:30 Dell7577Linux systemd[1]: Dependency failed for SSSD PAM Service responder socket.
Oct 17 20:24:30 Dell7577Linux systemd[1]: Dependency failed for SSSD PAM Service responder private socket.
Oct 17 20:24:30 Dell7577Linux systemd[1]: sssd-pam-priv.socket: Job sssd-pam-priv.socket/start failed with result

Also at boot there are 4 blocks of failing sssd messages about the same issue.

How can I solve this?

Kind regards,

Bert

ActionParsnip
October 18th, 2020, 09:31 PM
Did you add the system to a Windows domain?

Frogs Hair
October 18th, 2020, 09:33 PM
20.10 final has not been released yet. How did you upgrade ?

QIII
October 18th, 2020, 09:36 PM
Moved to Ubuntu Development Version

bert.ram.aerts
October 18th, 2020, 09:36 PM
sudo do-release-upgrade -d

bert.ram.aerts
October 18th, 2020, 09:38 PM
Did you add the system to a Windows domain?

I use samba to mount a windows NTFS harddisk from another PC.

bert.ram.aerts
October 20th, 2020, 11:20 AM
SOLVED
# debug with
sudo sssd -d9 -i
# solution
sudo cp /usr/lib/x86_64-linux-gnu/sssd/conf/sssd.conf /etc/sssd/.
sudo chmod 600 /etc/sssd/sssd.conf

P-I H
October 20th, 2020, 12:31 PM
Nice finding.
Works OK, no errors in Logs
Debug after copy

p-i@asus-b450-f:~$ sudo sssd -d9 -i
[sudo] password for p-i:
(2020-10-20 13:25:38:218954): [sssd] [main] (0x0010): pidfile exists at /run/sssd.pid
SSSD is already running
p-i@asus-b450-f:~$

eldroid-z
October 23rd, 2020, 09:34 AM
SOLVED
# debug with
sudo sssd -d9 -i
# solution
sudo cp /usr/lib/x86_64-linux-gnu/sssd/conf/sssd.conf /etc/sssd/.
sudo chmod 600 /etc/sssd/sssd.conf

Had the same problem after updating to 20.10 today,
Your solution works like a charm, Thank You

Gavin Fowler
October 23rd, 2020, 01:06 PM
SOLVED
# debug with
sudo sssd -d9 -i
# solution
sudo cp /usr/lib/x86_64-linux-gnu/sssd/conf/sssd.conf /etc/sssd/.
sudo chmod 600 /etc/sssd/sssd.conf

I upgraded today from 2.10->20.10 and this worked perfectly for me too - many thanks for posting.