2017-05-09 20:19:33 |
Simon Déziel |
bug |
|
|
added bug |
2017-05-10 16:09:20 |
Nish Aravamudan |
nominated for series |
|
Ubuntu Xenial |
|
2017-05-10 16:09:20 |
Nish Aravamudan |
bug task added |
|
php7.0 (Ubuntu Xenial) |
|
2017-05-10 16:09:27 |
Nish Aravamudan |
nominated for series |
|
Ubuntu Zesty |
|
2017-05-10 16:09:27 |
Nish Aravamudan |
bug task added |
|
php7.0 (Ubuntu Zesty) |
|
2017-05-10 16:09:27 |
Nish Aravamudan |
nominated for series |
|
Ubuntu Yakkety |
|
2017-05-10 16:09:27 |
Nish Aravamudan |
bug task added |
|
php7.0 (Ubuntu Yakkety) |
|
2017-05-10 16:09:37 |
Nish Aravamudan |
php7.0 (Ubuntu Zesty): status |
New |
Fix Released |
|
2017-05-10 16:09:41 |
Nish Aravamudan |
php7.0 (Ubuntu Xenial): status |
New |
Triaged |
|
2017-05-10 16:09:45 |
Nish Aravamudan |
php7.0 (Ubuntu Xenial): assignee |
|
Nish Aravamudan (nacc) |
|
2017-05-10 16:09:49 |
Nish Aravamudan |
php7.0 (Ubuntu): status |
New |
Invalid |
|
2017-05-10 16:11:04 |
Nish Aravamudan |
php7.0 (Ubuntu Yakkety): status |
New |
Fix Released |
|
2017-05-10 16:35:49 |
Nish Aravamudan |
php7.0 (Ubuntu Xenial): status |
Triaged |
In Progress |
|
2017-05-10 16:40:22 |
Nish Aravamudan |
description |
Steps to reproduce (on Xenial):
1) install libapache2-mod-php7.0 (note the warning/error)
apt install libapache2-mod-php7.0
Setting up libapache2-mod-php7.0 (7.0.15-0ubuntu0.16.04.4) ...
Warning: Could not load Apache 2.4 maintainer script helper.
2) apache isn't even running
ps aux| grep apache # returns nothing
3) the apache2 packages was not pulled in, only apache2-bin
dpkg -l| grep -w apache2
On Trusty, "apt install libapache2-mod-php5" was our way to setup PHP and have the MPM prefork enabled. I'm not sure if that was the wrong way and it worked by accident but this behavior change broke our tooling.
Additional information:
# lsb_release -rd
Description: Ubuntu 16.04.2 LTS
Release: 16.04
# apt-cache policy libapache2-mod-php7.0 apache2-bin
libapache2-mod-php7.0:
Installed: 7.0.15-0ubuntu0.16.04.4
Candidate: 7.0.15-0ubuntu0.16.04.4
Version table:
*** 7.0.15-0ubuntu0.16.04.4 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
100 /var/lib/dpkg/status
7.0.4-7ubuntu2 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
apache2-bin:
Installed: 2.4.18-2ubuntu3.1
Candidate: 2.4.18-2ubuntu3.1
Version table:
*** 2.4.18-2ubuntu3.1 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
100 /var/lib/dpkg/status
2.4.18-2ubuntu3 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: libapache2-mod-php7.0 7.0.15-0ubuntu0.16.04.4
ProcVersionSignature: Ubuntu 4.4.0-78.99-generic 4.4.62
Uname: Linux 4.4.0-78-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Tue May 9 19:58:26 2017
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SourcePackage: php7.0
UpgradeStatus: No upgrade log present (probably fresh install) |
[Impact]
* When a user installs libapache2-mod-php7.0, they expect to have a working apache2 + php installation. Currently that is not the case, because the dependency is only on apache2-bin rather than on apache2.
* Users probably haven't seen this very commonly, because most guides suggest installing php and apache2.
[Test Case]
* Install libapache2-mod-php7.0. apache2 should also be installed (and subsequently running by default) after installation.
[Regression Potential]
* This changes the dependencies of libapache2-mod-php7.0 only. I don't believe there is any regression potential here, as if a user installed libapache2-mod-php7.0 and actually intended to use it, they would have installed apache2 manually.
---
Steps to reproduce (on Xenial):
1) install libapache2-mod-php7.0 (note the warning/error)
apt install libapache2-mod-php7.0
Setting up libapache2-mod-php7.0 (7.0.15-0ubuntu0.16.04.4) ...
Warning: Could not load Apache 2.4 maintainer script helper.
2) apache isn't even running
ps aux| grep apache # returns nothing
3) the apache2 packages was not pulled in, only apache2-bin
dpkg -l| grep -w apache2
On Trusty, "apt install libapache2-mod-php5" was our way to setup PHP and have the MPM prefork enabled. I'm not sure if that was the wrong way and it worked by accident but this behavior change broke our tooling.
Additional information:
# lsb_release -rd
Description: Ubuntu 16.04.2 LTS
Release: 16.04
# apt-cache policy libapache2-mod-php7.0 apache2-bin
libapache2-mod-php7.0:
Installed: 7.0.15-0ubuntu0.16.04.4
Candidate: 7.0.15-0ubuntu0.16.04.4
Version table:
*** 7.0.15-0ubuntu0.16.04.4 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
100 /var/lib/dpkg/status
7.0.4-7ubuntu2 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
apache2-bin:
Installed: 2.4.18-2ubuntu3.1
Candidate: 2.4.18-2ubuntu3.1
Version table:
*** 2.4.18-2ubuntu3.1 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
100 /var/lib/dpkg/status
2.4.18-2ubuntu3 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: libapache2-mod-php7.0 7.0.15-0ubuntu0.16.04.4
ProcVersionSignature: Ubuntu 4.4.0-78.99-generic 4.4.62
Uname: Linux 4.4.0-78-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Tue May 9 19:58:26 2017
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SourcePackage: php7.0
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2017-05-11 22:39:05 |
Brian Murray |
php7.0 (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2017-05-11 22:39:08 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-05-11 22:39:10 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2017-05-11 22:39:13 |
Brian Murray |
tags |
amd64 apport-bug uec-images xenial |
amd64 apport-bug uec-images verification-needed xenial |
|
2017-05-12 16:43:59 |
Nish Aravamudan |
tags |
amd64 apport-bug uec-images verification-needed xenial |
amd64 apport-bug uec-images verification-done xenial |
|
2017-05-25 19:18:14 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2017-05-25 19:18:10 |
Launchpad Janitor |
php7.0 (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|