Performing the verification on Jammy.
First, checking if we can reproduce the problem.
# apt policy slapd
slapd:
Installed: 2.5.18+dfsg-0ubuntu0.22.04.1
Candidate: 2.5.18+dfsg-0ubuntu0.22.04.1
Version table:
*** 2.5.18+dfsg-0ubuntu0.22.04.1 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
100 /var/lib/dpkg/status
2.5.16+dfsg-0ubuntu0.22.04.2 500
500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
2.5.11+dfsg-1~exp1ubuntu3 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
# ldapmodify -H ldapi:// -Y EXTERNAL << _EOF_
dn: cn=module{0},cn=config
changetype: modify
add: olcModuleLoad
olcModuleLoad: /usr/lib/ldap/back_perl.la
_EOF_
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
modifying entry "cn=module{0},cn=config"
ldap_modify: Other (e.g., implementation specific) error (80)
additional info: <olcModuleLoad> handler exited with 1
# systemctl status slapd.service
● slapd.service - LSB: OpenLDAP standalone server (Lightweight Directory Access
Protocol)
Loaded: loaded (/etc/init.d/slapd; generated)
Drop-In: /usr/lib/systemd/system/slapd.service.d
└─slapd-remain-after-exit.conf
Active: active (running) since Tue 2024-07-16 01:24:07 UTC; 34s ago
Docs: man:systemd-sysv-generator(8)
Process: 1593 ExecStart=/etc/init.d/slapd start (code=exited,
status=0/SUCCESS)
Tasks: 3 (limit: 76657)
Memory: 3.5M
CPU: 14ms
CGroup: /system.slice/slapd.service
└─1600 /usr/sbin/slapd -h "ldap:/// ldapi:///" -g openldap -u
openldap -F /etc/ldap/slapd.d
Jul 16 01:24:07 j-openldap systemd[1]: Starting LSB: OpenLDAP standalone server
(Lightweight Directory Access Protocol)...
Jul 16 01:24:07 j-openldap slapd[1593]: * Starting OpenLDAP slapd
Jul 16 01:24:07 j-openldap slapd[1599]: @(#) $OpenLDAP: slapd
2.5.18+dfsg-0ubuntu0.22.04.1 (May 31 2024 15:01:55) $
Ubuntu Developers
<[email protected]>
Jul 16 01:24:07 j-openldap slapd[1600]: slapd starting
Jul 16 01:24:07 j-openldap slapd[1593]: ...done.
Jul 16 01:24:07 j-openldap systemd[1]: Started LSB: OpenLDAP standalone server
(Lightweight Directory Access Protocol).
Jul 16 01:24:27 j-openldap slapd[1600]: lt_dlopenext failed:
(/usr/lib/ldap/back_perl.la) file not found
Now, verify that the proposed fix works.
# apt policy slapd
slapd:
Installed: 2.5.18+dfsg-0ubuntu0.22.04.2
Candidate: 2.5.18+dfsg-0ubuntu0.22.04.2
Version table:
*** 2.5.18+dfsg-0ubuntu0.22.04.2 500
500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
100 /var/lib/dpkg/status
2.5.18+dfsg-0ubuntu0.22.04.1 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
2.5.16+dfsg-0ubuntu0.22.04.2 500
500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
2.5.11+dfsg-1~exp1ubuntu3 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
# ldapmodify -H ldapi:// -Y EXTERNAL << _EOF_
dn: cn=module{0},cn=config
changetype: modify
add: olcModuleLoad
olcModuleLoad: /usr/lib/ldap/back_perl.la
_EOF_
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
modifying entry "cn=module{0},cn=config"
# systemctl status slapd.service
● slapd.service - LSB: OpenLDAP standalone server (Lightweight Directory Access
Protocol)
Loaded: loaded (/etc/init.d/slapd; generated)
Drop-In: /usr/lib/systemd/system/slapd.service.d
└─slapd-remain-after-exit.conf
Active: active (running) since Tue 2024-07-16 01:25:45 UTC; 35s ago
Docs: man:systemd-sysv-generator(8)
Process: 2405 ExecStart=/etc/init.d/slapd start (code=exited,
status=0/SUCCESS)
Tasks: 3 (limit: 76657)
Memory: 6.2M
CPU: 23ms
CGroup: /system.slice/slapd.service
└─2412 /usr/sbin/slapd -h "ldap:/// ldapi:///" -g openldap -u
openldap -F /etc/ldap/slapd.d
Jul 16 01:25:45 j-openldap systemd[1]: Starting LSB: OpenLDAP standalone server
(Lightweight Directory Access Protocol)...
Jul 16 01:25:45 j-openldap slapd[2405]: * Starting OpenLDAP slapd
Jul 16 01:25:45 j-openldap slapd[2411]: @(#) $OpenLDAP: slapd
2.5.18+dfsg-0ubuntu0.22.04.2 (Jul 12 2024 21:51:23) $
Ubuntu Developers
<[email protected]>
Jul 16 01:25:45 j-openldap slapd[2412]: slapd starting
Jul 16 01:25:45 j-openldap slapd[2405]: ...done.
Jul 16 01:25:45 j-openldap systemd[1]: Started LSB: OpenLDAP standalone server
(Lightweight Directory Access Protocol).
As can be seen above, the fix works and the service can now be started without
problems.
This concludes the verification for Jammy.
** Tags removed: server-todo verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2072976
Title:
back_perl no longer loads (file not found)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/2072976/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs