php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #75519 automagic dependency on libapparmor
Submitted: 2017-11-13 22:03 UTC Modified: 2021-07-02 17:24 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: michael at orlitzky dot com Assigned: cmb (profile)
Status: Closed Package: FPM related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: michael at orlitzky dot com
New email:
PHP Version: OS:

 

 [2017-11-13 22:03 UTC] michael at orlitzky dot com
Description:
------------
As reported in https://bugs.gentoo.org/637402, the FPM sapi has an "automagic" dependency on libapparmor. That is, PHP will be linked against libapparmor if libapparmor is present, and there is no way to disable that behavior.

That can cause problems if libapparmor is installed for a different, unrelated, reason when PHP happens to be built. If the user later uninstalls libapparmor (not knowing that PHP is linked against it), then php-fpm will begin to crash.

This is usually addressed with a ./configure flag, "--with-fpm-apparmor" or something like that.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-07-02 17:24 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-07-02 17:24 UTC] cmb@php.net
This is available as of PHP 8.0.0[1].

[1] <https://github.com/php/php-src/commit/40cdc5f298002a5a3d8386d8fc468cdd226fac59>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 19:01:31 2024 UTC