You are not logged in.

#1 2021-11-23 13:30:37

mrfu
Member
From: Hagenbach, Germany
Registered: 2020-11-24
Posts: 14

libldap 2.6.0-2.0 (testing) will break sudo 1.9.8.p2-1.0 (core)

After updating (testing repos enabled), sudo will not work anymore.

testing/libldap 2.6.0-2.0
core/sudo 1.9.8.p2-1.0

Error message (in german):

$ sudo su
sudo: Fehler in /etc/sudo.conf, Zeile 0, während Plugin »sudoers_policy« geladen wurde
sudo: »/usr/lib/sudo/sudoers.so« konnte nicht geladen werden: libldap-2.4.so.2: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
sudo: Schwerwiegender Fehler, Plugins konnten nicht geladen werden

Please consider rebuilding sudo before putting libldap 2.6.0-2.0 from testing to core

P.S.:
Had been lucky to run the update in chroot, so it was easy to run pacman -S core/libldap and setting libldap to be ignored in /etc/pacman.conf

Offline

#2 2021-11-23 18:01:55

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: libldap 2.6.0-2.0 (testing) will break sudo 1.9.8.p2-1.0 (core)

I don't speak das Deutsch that well, so I'm not sure what that first sudoers error is about, but yeah that second error looks like it's saying it can't find libldap 2.4, which makes sense if libldap is now at version 2.6.  sudo does note it's dependence on libldap, so I'm not sure why it wasn't automatically queued for rebuild when libldap changed.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#3 2021-11-23 18:29:08

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,042
Website

Re: libldap 2.6.0-2.0 (testing) will break sudo 1.9.8.p2-1.0 (core)

Yep, I'll push to stable, as soon the build master is sane again (openjdk is in double or missing, I don't know, how to fix that).

The following packages in staging are missing from the database or vice versa:
in_repository jdk-openjdk-17.u35-1.0-i486.pkg.tar.zst
in_repository jre-openjdk-17.u35-1.0-i486.pkg.tar.zst
in_repository jre-openjdk-headless-17.u35-1.0-i486.pkg.tar.zst
in_repository openjdk-doc-17.u35-1.0-i486.pkg.tar.zst
in_repository openjdk-src-17.u35-1.0-i486.pkg.tar.zst
SANITY CHECK FAILED

The following packages in staging are missing from the file-database or vice versa:
in_repository jdk-openjdk-17.u35-1.0
in_repository jre-openjdk-17.u35-1.0
in_repository jre-openjdk-headless-17.u35-1.0
in_repository openjdk-doc-17.u35-1.0
in_repository openjdk-src-17.u35-1.0
SANITY CHECK FAILED
passed.

Offline

#4 2021-11-23 20:23:48

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: libldap 2.6.0-2.0 (testing) will break sudo 1.9.8.p2-1.0 (core)

I would advise against pushing to stable until we get the testing branch compatible with itself again.  Maybe rebullding sudo alone will be enough for that, although on my system, gconf, krb5 and smbclient are also marked as dependencies as well.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#5 2021-11-23 23:07:31

deep42thought
Administrator
From: Jena, Germany
Registered: 2017-06-17
Posts: 617

Re: libldap 2.6.0-2.0 (testing) will break sudo 1.9.8.p2-1.0 (core)

sry for the openjdk mess - somehow, the sorting function got confused and could not identify the older of both versions to remove. I removed the superfluid openjdk, now

Offline

#6 2021-11-24 08:14:29

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,042
Website

Re: libldap 2.6.0-2.0 (testing) will break sudo 1.9.8.p2-1.0 (core)

@deep42though: thanks for fixing, np. I just didn't want to create an even bigger mess. ;-)
@levi: you're right, we should wait till openldap 2.6 moves from testing to stable automatically.
I have a libldap24 shim package ready for the case too many packages are breaking.
Additionally openldap 2.6 fails to run all tests (something with failed MDB databases, this
affects also upstream, IIRC).

Offline

#7 2021-11-24 16:16:27

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: libldap 2.6.0-2.0 (testing) will break sudo 1.9.8.p2-1.0 (core)

Note we're using libldap not openldap, but the versions seem the same number at least.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#8 2021-11-24 20:18:35

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,042
Website

Re: libldap 2.6.0-2.0 (testing) will break sudo 1.9.8.p2-1.0 (core)

libldap is a subpackage of openldap. :-)

Offline

#9 2021-11-24 21:10:25

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: libldap 2.6.0-2.0 (testing) will break sudo 1.9.8.p2-1.0 (core)

Ah, that explains it then.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

Board footer

Powered by FluxBB