View Issue Details

IDProjectCategoryView StatusLast Update
0009679Kali LinuxKali Package Bugpublic2026-05-15 08:24
Reportervanguard Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0009679: openssl - Kali-livebuild crashes
Description

Dear maintainers,

since latest update the build of kali-live crashes. It looks like some files have changed in openssl. The last output in build.log is this:

---- snip ----

.....
.....
Setting up python3-discovery (1.2.2-2) ...^M
Setting up libumfpack6:amd64 (1:7.12.2+dfsg-1) ...^M
Setting up debsecan (0.4.20.2) ...^M
Setting up hostapd-mana (2.6.5+git20240805.8853d5a-0kali1) ...^M
Can't open "/usr/lib/ssl/openssl.cnf" for reading, No such file or directory^M
4067A17CF57F0000:error:80000002:system library:BIO_new_file:No such file or directory:../crypto/bio/bss_file.c:67:calling fopen(/usr/lib/ssl/openssl.cnf, r)^M
4067A17CF57F0000:error:10000080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:75:^M

--- snap ----

I checked, but in ~/kali-live-/chroot/usr/lib/ssl/ there is a symlink called openssl.cnf and 5this is pointing to /etc/ssl/openssl.cnf.

Further investigations showed, that the openssl.cnf was renamed to openssl.cnf.dpkg-new.

This let me guess, that the new openssl.cnf was not yet generated or not installed or is missing at all.

I suppose in a native installed kali this will not be noticed (all my native kali installations are fine), but in live-build-creation it causes a crash.

It would be nice, if you could take a look at this little issue.

Please feel free to ask for more information (.i.e. the complete build.log or whatever).

Thank you for your help!

Best regards

Hans

Activities

vanguard

vanguard

2026-05-14 13:40

reporter   ~0021668

To precise it: At the momentduring build and configuring the openssl certificates, the openssl.cnf below /etc/ssl/ was renamed to openssl.cnf.dpkg-new, NOT the link
below ~/kali-live-/chroot/usr/lib/ssl/ !
Maybe this coould be fixed by the order (or time), the packages are unpacked and configured?

vanguard

vanguard

2026-05-15 08:24

reporter   ~0021671

I found a workaround for this problem, but it is a bit tricky:

Environment is running a kali live system.

  1. Upgrade the running kali live using apt. This makes sure, latest openssl and openssh is installed.

  2. start the build process

  3. during the build process watch the chroot and when in ~/kali-live/chroot/etc/ssl/ is created, copy oepnssl.cnf and kali.cnf from the kali environment
    to ~/kali-live/chroot/etc/ssl/

  4. Now the build does no more crash. Good luck!

Hint: You csn copy these files at any moment from another terminal before openssl wants to be configured. I made it at the monent, when aide is configured, because the configuration of aide lasts some time,
which gives me long time anough, to type the required commands. Bad solution, but works.

Hope, this issue will be fixed some day.

Issue History

Date Modified Username Field Change
2026-05-14 07:36 vanguard New Issue
2026-05-14 13:40 vanguard Note Added: 0021668
2026-05-15 08:24 vanguard Note Added: 0021671