Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Devuan updates for November 2022 and sssd error

After running OS updates on Devuan unstable, I got this failure.

(2022-10-31 10:09:50): [be[ipa.internal.com]] [dp_load_module] (0x0400): About to load module [ipa].
(2022-10-31 10:09:50): [be[ipa.internal.com]] [dp_module_open_lib] (0x1000): Loading module [ipa] with path [/usr/lib/x86_64-linux-gnu/sssd/libsss_ipa.so]
(2022-10-31 10:09:50): [be[ipa.internal.com]] [dp_module_open_lib] (0x0010): Unable to load module [ipa] with path [/usr/lib/x86_64-linux-gnu/sssd/libsss_ipa.so]: libndr.so.2: cannot open shared object file: No such file or directory
(2022-10-31 10:09:50): [be[ipa.internal.com]] [dp_load_module] (0x0020): Unable to create DP module.
(2022-10-31 10:09:50): [be[ipa.internal.com]] [dp_target_init] (0x0010): Unable to load module ipa
(2022-10-31 10:09:50): [be[ipa.internal.com]] [dp_load_targets] (0x0020): Unable to load target [id] [80]: Accessing a corrupted shared library.
(2022-10-31 10:09:50): [be[ipa.internal.com]] [dp_init_done] (0x0020): Unable to initialize DP targets [1432158209]: Internal Error

Needed to add file /etc/apt/sources.list.d/temp.list with contents.

deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20221001T092433Z/ unstable main contrib

And then downgrade samba-libs, either with aptitude which can dynamically identify other dependencies to also downgrade, or just with apt-get.

sudo apt-get install libsmbclient=2:4.16.5+dfsg-1 samba-libs=2:4.16.5+dfsg-1

Downgrading sssd to 2.7.4-1 from 2.7.4-1+b1 is not necessary.

I could have avoided this this time by running this first:

sudo apt-mark hold samba-libs

Comments