Bug 13238

Summary: CU 177 (stable): Monit - error while loading shared libraries: libssl.so.1.1
Product: IPFire Reporter: Jon <jon.murphy>
Component: ---Assignee: Matthias Fischer <matthias.fischer>
Status: CLOSED FIXED QA Contact:
Severity: Major Usability    
Priority: - Unknown - CC: adolf.belka, matthias.fischer
Version: 2   
Hardware: x86_64   
OS: Unspecified   
See Also: https://bugzilla.ipfire.org/show_bug.cgi?id=13197
https://bugzilla.ipfire.org/show_bug.cgi?id=13240
https://bugzilla.ipfire.org/show_bug.cgi?id=13246

Description Jon 2023-08-06 15:02:11 UTC
I received this error after upgrading from CU 176 to CU 177

[root@ipfire ~] # /etc/rc.d/init.d/monit start
Starting monit...
/usr/bin/monit: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory      [ FAIL ]
[root@ipfire ~] # 

Used on:
APU4D4
IPFire 2.27 (x86_64) - Core-Update 177
Comment 1 Matthias Fischer 2023-08-06 16:19:50 UTC
Confirmed.

This happens because of https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=cc78ea658d06f1866fb235c14535bd52bb4a479b

This was announced in https://blog.ipfire.org/post/ipfire-2-27-core-update-175-released. "OpenSSL 1.1.1's files remain untouched on existing installations until the release of Core Update 176"

So the old libssl.so.1* and libcrypto.so.1* files were removed. We overlooked 'monit'.

PAK_VER needs to be bumped to 22 so that it can be shipped again.

=> https://lists.ipfire.org/pipermail/development/2023-August/016263.html
Comment 2 Jon 2023-08-15 14:52:38 UTC
The "error while loading shared libraries: libssl.so.1.1" is gone.  

Tested on:
APU4D4
IPFire 2.27 (x86_64) - Core-Update 178 Development Build: master/5ca80b3b

Monit seems to be running A-OK.
```
[root@ipfireAPU ~] # monit status
Monit 5.33.0 uptime: 10h 55m

System 'ipfireAPU.localdomain'
  status                       OK
  monitoring status            Monitored
  monitoring mode              active
  on reboot                    start
  load average                 [0.06] [0.04] [0.00]
  cpu                          0.5%usr 0.3%sys 0.0%nice 0.1%iowait 0.0%hardirq 0.0%softirq 0.0%steal 0.0%guest 0.0%guestnice 
  memory usage                 226.7 MB [5.8%]
  swap usage                   0 B [0.0%]
  uptime                       11h 48m
  boot time                    Mon, 14 Aug 2023 22:00:45
  filedescriptors              480 [0.1% of 396027 limit]
  data collected               Tue, 15 Aug 2023 09:48:57

[root@ipfireAPU ~] # 
```

A new error popped up.  I will open a new bug.

[root@ipfireAPU ~] # /etc/rc.d/init.d/monit start
Starting monit...
/etc/monitrc:251: Include failed -- No such file or directory '/etc/monit.d/*'
Starting Monit 5.33.0 daemon with http interface at [localhost]:2812                                           [  OK  ]
[root@ipfireAPU ~] #