himmelblau-idm / himmelblau

Azure Entra ID Authentication, with PAM and NSS modules.
GNU General Public License v3.0
47 stars 8 forks source link

missing dependency utf8proc_NFKC_Casefold Rocky 8 #296

Open tastle73 opened 2 hours ago

tastle73 commented 2 hours ago

Description systemctl started himmelblaud. It failed silently. Found this in syslog: symbol lookup error: /usr/sbin/himmelblaud: undefined symbol: utf8proc_NFKC_Casefold

Steps to Reproduce

  1. systemctl start himmelblaud

Logs and Output

Nov 15 15:42:00 rj systemd[1]: Started Himmelblau Authentication Daemon. Nov 15 15:42:00 rj himmelblaud[1480534]: /usr/sbin/himmelblaud: symbol lookup error: /usr/sbin/himmelblaud: undefined symbol: utf8proc_NFKC_Casefold Nov 15 15:42:00 rj systemd[1]: himmelblaud.service: Main process exited, code=exited, status=127/n/a Nov 15 15:42:00 rj systemd[1]: himmelblaud.service: Failed with result 'exit-code'.

Environment

dmulder commented 2 hours ago

Sorry, I meant to leave a note about this. Rocky/RHEL 8 does not provide utf8proc, AFAIK. You have to build and install it yourself for now. Packaging utf8proc is one of the things on my todo list.

dmulder commented 2 hours ago

Also, FYI, you have to disable Hello auth on Rocky 8, since it doesn't support openssl 3.

dmulder commented 2 hours ago

Here are instructions for installing utf8proc:

wget https://github.com/JuliaStrings/utf8proc/archive/refs/tags/v2.6.1.tar.gz -O utf8proc-2.6.1.tar.gz
mkdir -p utf8proc-rocky8
tar -xvf utf8proc-2.6.1.tar.gz -C utf8proc-rocky8 --strip-components=1
cd utf8proc-rocky8
make && sudo make install
tastle73 commented 1 hour ago

There is actually a(n) utf8proc RPM. It doesn't seem to have the right symbols in it though?

dmulder commented 1 hour ago

There is actually a(n) utf8proc RPM. It doesn't seem to have the right symbols in it though?

Hrm, what version is it?

tastle73 commented 1 hour ago

2.6.1-3.module+el8.7.0+1065+42200b2e

----- On Nov 15, 2024, at 5:00 PM, David Mulder @.***> wrote:

There is actually a(n) utf8proc RPM. It doesn't seem to have the right symbols in it though? Hrm, what version is it?

— Reply to this email directly, [ https://github.com/himmelblau-idm/himmelblau/issues/296#issuecomment-2480007329 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AAR3FIMA4LUCMI3MN6GEECL2AZVJHAVCNFSM6AAAAABR37FLGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBQGAYDOMZSHE | unsubscribe ] . You are receiving this because you authored the thread. Message ID: @.***>

dmulder commented 1 hour ago

2.6.1-3.module+el8.7.0+1065+42200b2e

Well that's strange. That's the same version I'm building with. I recall now that the issue I had was that el8 doesn't package the utf8proc devel package, so I'm unable to build against it (no header files, etc). So I fetch the tar and build it myself for that reason.

I'll have to test this myself and see if I can track down the cause.