[sr-dev] [kamailio/kamailio] tls: minor openssl version upgrade error (#662)

Victor Seva notifications at github.com
Tue Jun 7 16:42:55 CEST 2016


Works!! :+1: 

Previous patch: upgrade libssl1.0.0 -> error
```
root at sp1:/var/sipwise# apt-get install libssl1.0.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  libssl1.0.0
1 upgraded, 0 newly installed, 0 to remove and 55 not upgraded.
Need to get 1045 kB of archives.
After this operation, 7168 B of additional disk space will be used.
Get:1 http://sp:9998/debian/ jessie/main libssl1.0.0 amd64 1.0.1t-1+deb8u2 [1045 kB]
Fetched 1045 kB in 0s (18.7 MB/s)   
Preconfiguring packages ...
(Reading database ... 110066 files and directories currently installed.)
Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u2_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.1t-1+deb8u2) over (1.0.1k-3+deb8u5) ...
Setting up libssl1.0.0:amd64 (1.0.1t-1+deb8u2) ...
Processing triggers for libc-bin (2.19-18+deb8u4) ...
Executing postapt init removal by Sipwise [sysv]
root at sp1:/var/sipwise# invoke-rc.d kamailio-lb restart
Restarting kamailio-lb:
Active node or transition.
loading modules under config path: /usr/lib/x86_64-linux-gnu/kamailio/modules:/usr/lib/kamailio/modules
Listening on 
             udp: 10.15.20.143 [10.15.20.143]:5060
             udp: 127.0.0.1:5060
             tcp: 10.15.20.143 [10.15.20.143]:5060
             tcp: 127.0.0.1:5060
             tls: 10.15.20.143 [10.15.20.143]:5061
Aliases: 

kamailio error, failed to start.
invoke-rc.d: initscript kamailio-lb, action "restart" failed.
```

After patch (binary built with 1.0.1t-1+deb8u2), downgraded libssl1.0.0 (to previous version) -> works

```
root at sp1:/var/sipwise# apt-get install libssl1.0.0=1.0.1k-3+deb8u5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be DOWNGRADED:
  libssl1.0.0
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 44 not upgraded.
Need to get 1038 kB of archives.
After this operation, 7168 B disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://sp:9998/debian-security/ jessie-security/main libssl1.0.0 amd64 1.0.1k-3+deb8u5 [1038 kB]
Fetched 1038 kB in 0s (1268 kB/s)     
[master 292277a] saving uncommitted changes in /etc prior to apt run
 Author: sipwise <sipwise at sp1>
 2 files changed, 2 insertions(+), 2 deletions(-)
Preconfiguring packages ...
dpkg: warning: downgrading libssl1.0.0:amd64 from 1.0.1t-1+deb8u2 to 1.0.1k-3+deb8u5
(Reading database ... 110066 files and directories currently installed.)
Preparing to unpack .../libssl1.0.0_1.0.1k-3+deb8u5_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.1k-3+deb8u5) over (1.0.1t-1+deb8u2) ...
Setting up libssl1.0.0:amd64 (1.0.1k-3+deb8u5) ...
Processing triggers for libc-bin (2.19-18+deb8u4) ...
Executing postapt init removal by Sipwise [sysv]
root at sp1:/var/sipwise# invoke-rc.d kamailio-lb restart
Restarting kamailio-lb:
Active node or transition.
loading modules under config path: /usr/lib/x86_64-linux-gnu/kamailio/modules:/usr/lib/kamailio/modules
Listening on 
             udp: 10.15.20.143 [10.15.20.143]:5060
             udp: 127.0.0.1:5060
             tcp: 10.15.20.143 [10.15.20.143]:5060
             tcp: 127.0.0.1:5060
             tls: 10.15.20.143 [10.15.20.143]:5061
Aliases: 

kamailio started.
```

> I am not familiar when the libssl can break the api, but I am fine to introduce your kind of check if you know the api compatibility is preserved when MMNN is the same.

Neither do I, lets keep it like it is right now.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/662#issuecomment-224302784
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160607/388739fb/attachment.html>


More information about the sr-dev mailing list