Bug 28376

Summary: php-libvirt crashes on apache start with symbol lookup error: TSRMLS_SET_CTX
Product: Mageia Reporter: Zdeněk Prchal <prchal>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: andrewsfarm, ouaurelien, sysadmin-bugs
Version: 8Keywords: advisory, validated_update
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: MGA8-64-OK
Source RPM: php-libvirt-0.5.5-4.mga8.src.rpm CVE:
Status comment:

Description Zdeněk Prchal 2021-02-18 20:04:06 CET
Description of problem:

php with php-libvirt extension installed crashed with this error:
/usr/sbin/httpd: symbol lookup error: /usr/lib64/php/extensions/libvirt-php.so: undefined symbol: TSRMLS_SET_CTX

Version-Release number of selected component (if applicable):

php-libvirt-0.5.5-4.mga8, apache-mod_php-8.0.2-1.mga8, apache-2.4.46-2.mga8

How reproducible:
apache with php and php-libvirt installed do not start with this error

Steps to Reproduce:
1. install apache, php with php-libvirt
2. systemctl start httpd.service
3. look in httpd error_log
Comment 1 Lewis Smith 2021-02-18 21:20:58 CET
Thank you for the report.

Assigning to the active maintainer for php-libvirt.

Assignee: bugsquad => mageia

Comment 2 Marc Krämer 2021-03-11 19:25:28 CET
This module was never updated correctly to php 7 - I hope some one will do this for php 8 soon, or we have to drop it. Just applied some more patches.


Updated php-libvirt
Applied some php 8 patches to fix crash during startup


Updates in core/updates_testing

php-libvirt-0.5.5-4.1.mga8

SRPM:
php-libvirt-0.5.5-4.1.mga8.src.rpm

Assignee: mageia => qa-bugs

Thomas Backlund 2021-03-11 22:03:48 CET

Version: Cauldron => 8

Comment 3 Aurelien Oudelet 2021-04-15 17:53:57 CEST
@  Zdeněk Prchal ,
Status? Are you being able to test Comment 2 packages?

CC: (none) => ouaurelien

Comment 4 Thomas Andrews 2021-06-21 01:38:51 CEST
I tried to figure out how to test this, I really did - but I don't know anything about setting up or using Apache, and I failed, miserably. I did get a clean install, though.

This update has been sitting for over three months, and there's been no response from reporter to a query from over two months ago. I'm willing to pass this on with a clean install. Going by Comment 2, it needs further updates for php 8, anyway - and that would be a separate bug.

Any objections?

CC: (none) => andrewsfarm

Comment 5 Thomas Andrews 2021-06-23 01:54:11 CEST
Since there are none, I'm sending this on its way on a clean install, and validating.

Whiteboard: (none) => MGA8-64-OK
CC: (none) => sysadmin-bugs
Keywords: (none) => validated_update

Thomas Backlund 2021-06-23 16:42:35 CEST

Keywords: (none) => advisory

Comment 6 Mageia Robot 2021-06-23 19:14:21 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2021-0136.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED