I've tested[1] the proposed package and it passes[2] the testcase in the SRU justification. 1. uvt-simplestreams-libvirt sync release=trusty arch=amd64 uvt-kvm create --cpu 2--disk 10 t1 release=trusty arch=amd64 uvt-kvm wait --insecure t1 uvt-kvm ssh --insecure t1 # inside trusty vm 2. Welcome to the light, powerful, text window manager, Byobu. You can toggle the launch of Byobu at login with: 'byobu-disable' and 'byobu-enable' For tips, tricks, and more information, see: * http://bit.ly/byobu-help ubuntu@t1:~⟫ cat /etc/issue Ubuntu 14.04.3 LTS \n \l 1 ubuntu@t1:~⟫ sudo apt-get install php5 Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: apache2 apache2-bin apache2-data libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap php5-cli php5-common php5-json php5-readline ssl-cert Suggested packages: apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils php-pear php5-user-cache openssl-blacklist The following NEW packages will be installed: apache2 apache2-bin apache2-data libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap php5 php5-cli php5-common php5-json php5-readline ssl-cert 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. Need to get 6,150 kB of archives. After this operation, 25.8 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libapr1 amd64 1.5.0-1 [85.1 kB] Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main libaprutil1 amd64 1.5.3-1 [76.4 kB] Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main php5-json amd64 1.3.2-2build1 [34.4 kB] Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5-common amd64 5.5.9+dfsg-1ubuntu4 .11 [444 kB] Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5-cli amd64 5.5.9+dfsg-1ubuntu4.11 [2,164 kB] Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5-readline amd64 5.5.9+dfsg-1ubunt u4.11 [12.1 kB] Get:7 http://archive.ubuntu.com/ubuntu/ trusty/main libaprutil1-dbd-sqlite3 amd64 1.5.3-1 [10.5 k B] Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main libaprutil1-ldap amd64 1.5.3-1 [8,634 B] Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-bin amd64 2.4.7-1ubuntu4.5 [8 43 kB] Get:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-data all 2.4.7-1ubuntu4.5 [1 59 kB] Get:11 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2 amd64 2.4.7-1ubuntu4.5 [87.6 kB] Get:12 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libapache2-mod-php5 amd64 5.5.9+dfsg -1ubuntu4.11 [2,208 kB] Get:13 http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5 all 5.5.9+dfsg-1ubuntu4.11 [1,3 02 B] Get:14 http://archive.ubuntu.com/ubuntu/ trusty/main ssl-cert all 1.0.33 [16.6 kB] Fetched 6,150 kB in 36s (168 kB/s) Preconfiguring packages ... Selecting previously unselected package libapr1:amd64. (Reading database ... 51148 files and directories currently installed.) Preparing to unpack .../libapr1_1.5.0-1_amd64.deb ... Unpacking libapr1:amd64 (1.5.0-1) ... Selecting previously unselected package libaprutil1:amd64. Preparing to unpack .../libaprutil1_1.5.3-1_amd64.deb ... Unpacking libaprutil1:amd64 (1.5.3-1) ... Selecting previously unselected package php5-json. Preparing to unpack .../php5-json_1.3.2-2build1_amd64.deb ... Unpacking php5-json (1.3.2-2build1) ... Selecting previously unselected package php5-common. Preparing to unpack .../php5-common_5.5.9+dfsg-1ubuntu4.11_amd64.deb ... Unpacking php5-common (5.5.9+dfsg-1ubuntu4.11) ... Selecting previously unselected package php5-cli. Preparing to unpack .../php5-cli_5.5.9+dfsg-1ubuntu4.11_amd64.deb ... Unpacking php5-cli (5.5.9+dfsg-1ubuntu4.11) ... Selecting previously unselected package php5-readline. Preparing to unpack .../php5-readline_5.5.9+dfsg-1ubuntu4.11_amd64.deb ... Unpacking php5-readline (5.5.9+dfsg-1ubuntu4.11) ... Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64. Preparing to unpack .../libaprutil1-dbd-sqlite3_1.5.3-1_amd64.deb ... Unpacking libaprutil1-dbd-sqlite3:amd64 (1.5.3-1) ... Selecting previously unselected package libaprutil1-ldap:amd64. Preparing to unpack .../libaprutil1-ldap_1.5.3-1_amd64.deb ... Unpacking libaprutil1-ldap:amd64 (1.5.3-1) ... Selecting previously unselected package apache2-bin. Preparing to unpack .../apache2-bin_2.4.7-1ubuntu4.5_amd64.deb ... Unpacking apache2-bin (2.4.7-1ubuntu4.5) ... Selecting previously unselected package apache2-data. Preparing to unpack .../apache2-data_2.4.7-1ubuntu4.5_all.deb ... Unpacking apache2-data (2.4.7-1ubuntu4.5) ... Selecting previously unselected package apache2. Preparing to unpack .../apache2_2.4.7-1ubuntu4.5_amd64.deb ... Unpacking apache2 (2.4.7-1ubuntu4.5) ... Selecting previously unselected package libapache2-mod-php5. Preparing to unpack .../libapache2-mod-php5_5.5.9+dfsg-1ubuntu4.11_amd64.deb ... Unpacking libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.11) ... Selecting previously unselected package php5. Preparing to unpack .../php5_5.5.9+dfsg-1ubuntu4.11_all.deb ... Unpacking php5 (5.5.9+dfsg-1ubuntu4.11) ... Selecting previously unselected package ssl-cert. Preparing to unpack .../ssl-cert_1.0.33_all.deb ... Unpacking ssl-cert (1.0.33) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for ureadahead (0.100.0-16) ... Processing triggers for ufw (0.34~rc-0ubuntu2) ... Setting up libapr1:amd64 (1.5.0-1) ... Setting up libaprutil1:amd64 (1.5.3-1) ... Setting up libaprutil1-dbd-sqlite3:amd64 (1.5.3-1) ... Setting up libaprutil1-ldap:amd64 (1.5.3-1) ... Setting up apache2-bin (2.4.7-1ubuntu4.5) ... Setting up apache2-data (2.4.7-1ubuntu4.5) ... Setting up apache2 (2.4.7-1ubuntu4.5) ... Enabling module mpm_event. Enabling module authz_core. Enabling module authz_host. Enabling module authn_core. Enabling module auth_basic. Enabling module access_compat. Enabling module authn_file. Enabling module authz_user. Enabling module alias. Enabling module dir. Enabling module autoindex. Enabling module env. Enabling module mime. Enabling module negotiation. Enabling module setenvif. Enabling module filter. Enabling module deflate. Enabling module status. Enabling conf charset. Enabling conf localized-error-pages. Enabling conf other-vhosts-access-log. Enabling conf security. Enabling conf serve-cgi-bin. Enabling site 000-default. * Starting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 12 7.0.1.1. Set the 'ServerName' directive globally to suppress this message * Setting up ssl-cert (1.0.33) ... Setting up php5-json (1.3.2-2build1) ... php5_invoke: Enable module json for cli SAPI php5_invoke: Enable module json for apache2 SAPI Setting up php5-common (5.5.9+dfsg-1ubuntu4.11) ... Creating config file /etc/php5/mods-available/pdo.ini with new version php5_invoke: Enable module pdo for cli SAPI php5_invoke: Enable module pdo for apache2 SAPI Creating config file /etc/php5/mods-available/opcache.ini with new version php5_invoke: Enable module opcache for cli SAPI php5_invoke: Enable module opcache for apache2 SAPI Setting up php5-cli (5.5.9+dfsg-1ubuntu4.11) ... update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode Creating config file /etc/php5/cli/php.ini with new version php5_invoke pdo: already enabled for cli SAPI php5_invoke opcache: already enabled for cli SAPI php5_invoke json: already enabled for cli SAPI Setting up php5-readline (5.5.9+dfsg-1ubuntu4.11) ... Creating config file /etc/php5/mods-available/readline.ini with new version php5_invoke: Enable module readline for cli SAPI php5_invoke: Enable module readline for apache2 SAPI Processing triggers for ureadahead (0.100.0-16) ... Processing triggers for ufw (0.34~rc-0ubuntu2) ... Setting up libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.11) ... Creating config file /etc/php5/apache2/php.ini with new version php5_invoke pdo: already enabled for apache2 SAPI php5_invoke readline: already enabled for apache2 SAPI php5_invoke opcache: already enabled for apache2 SAPI php5_invoke json: already enabled for apache2 SAPI Module mpm_event disabled. Enabling module mpm_prefork. apache2_switch_mpm Switch to prefork * Restarting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 12 7.0.1.1. Set the 'ServerName' directive globally to suppress this message ...done. apache2_invoke: Enable module php5 * Restarting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 12 7.0.1.1. Set the 'ServerName' directive globally to suppress this message ...done. Setting up php5 (5.5.9+dfsg-1ubuntu4.11) ... Processing triggers for libc-bin (2.19-0ubuntu6.6) ... ubuntu@t1:~⟫ wget https://gist.githubusercontent.com/raharper/ee431e851b1b8bb6ba1d/raw/7dcc99d187 a08e3e9e0f33ea47a955b6f1b68038/test_insteadof.sh -O test_insteadof.sh --2015-09-17 18:39:12-- https://gist.githubusercontent.com/raharper/ee431e851b1b8bb6ba1d/raw/7dc c99d187a08e3e9e0f33ea47a955b6f1b68038/test_insteadof.sh Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 23.235.44.133 Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|23.235.44.133|:443... conne cted. HTTP request sent, awaiting response... 200 OK Length: 1359 (1.3K) [text/plain] Saving to: ‘test_insteadof.sh’ 100%[=======================================================>] 1,359 --.-K/s in 0s 2015-09-17 18:39:13 (84.1 MB/s) - ‘test_insteadof.sh’ saved [1359/1359] ubuntu@t1:~⟫ vi test_insteadof.sh ubuntu@t1:~⟫ cat test_insteadof.sh #!/bin/bash cleanup() { rm -f $TESTPHP rm -f $CLASSPHP } trap cleanup EXIT INT HUP TERM echo "Generating php5 test-case..." TESTPHP=`mktemp /tmp/test_phpinsteadof_XXXX.php` CLASSPHP=`mktemp /tmp/test_phpinsteadof_XXXX.php` # manual testing shows 12 or more to be the trigger NR_TRAITS=${1-12} cat > $TESTPHP << EOF #!/usr/bin/php -q $CLASSPHP << EOF