2015-02-01 18:51:31 |
Chaskiel Grundman |
bug |
|
|
added bug |
2015-02-01 18:53:37 |
Chaskiel Grundman |
tags |
|
apport-collected trusty |
|
2015-02-01 18:53:38 |
Chaskiel Grundman |
description |
the postinst for apache2 2.4.7-1ubuntu4.1 copies an index.html into /var/www/html if it cannot find one in */var/www*
I upgraded a server from lucid->precise->trusty today, and the top page was broken at the end due to this (my site was already in /var/www/html)
install_default_files()
{
if is_fresh_install $@ || we_are_upgrading_from_wheezy $@ ; then
if [ ! -e /var/www/index.html -a \
! -h /var/www/index.html -a \
! -e /var/www/index.cgi -a \
! -e /var/www/index.pl -a \
! -e /var/www/index.php -a \
! -e /var/www/index.xhtml -a \
! -e /var/www/index.htm ] ; then
cp /usr/share/apache2/default-site/index.html /var/www/html/index.html
fi
fi
} |
the postinst for apache2 2.4.7-1ubuntu4.1 copies an index.html into /var/www/html if it cannot find one in */var/www*
I upgraded a server from lucid->precise->trusty today, and the top page was broken at the end due to this (my site was already in /var/www/html)
install_default_files()
{
if is_fresh_install $@ || we_are_upgrading_from_wheezy $@ ; then
if [ ! -e /var/www/index.html -a \
! -h /var/www/index.html -a \
! -e /var/www/index.cgi -a \
! -e /var/www/index.pl -a \
! -e /var/www/index.php -a \
! -e /var/www/index.xhtml -a \
! -e /var/www/index.htm ] ; then
cp /usr/share/apache2/default-site/index.html /var/www/html/index.html
fi
fi
}
---
Apache2ConfdDirListing: []
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2010-07-27 (1650 days ago)
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
Package: apache2 2.4.7-1ubuntu4.1
PackageArchitecture: amd64
ProcEnviron:
LC_CTYPE=en_US.UTF-8
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.13.0-45.74-generic 3.13.11-ckt13
Tags: trusty
Uname: Linux 3.13.0-45-generic x86_64
UpgradeStatus: Upgraded to trusty on 2015-02-01 (0 days ago)
UserGroups:
_MarkForUpload: True
modified.conffile..etc.apache2.conf.available.charset.conf: [modified]
mtime.conffile..etc.apache2.conf.available.charset.conf: 2011-01-07T14:46:11 |
|
2015-02-01 18:53:39 |
Chaskiel Grundman |
attachment added |
|
Apache2Modules.txt https://bugs.launchpad.net/bugs/1416885/+attachment/4309963/+files/Apache2Modules.txt |
|
2015-02-01 18:53:40 |
Chaskiel Grundman |
attachment added |
|
Dependencies.txt https://bugs.launchpad.net/bugs/1416885/+attachment/4309964/+files/Dependencies.txt |
|
2015-02-01 18:53:42 |
Chaskiel Grundman |
attachment added |
|
cyrus-ssl.conf.txt https://bugs.launchpad.net/bugs/1416885/+attachment/4309965/+files/cyrus-ssl.conf.txt |
|
2015-02-01 18:53:43 |
Chaskiel Grundman |
attachment added |
|
cyrus.conf.txt https://bugs.launchpad.net/bugs/1416885/+attachment/4309966/+files/cyrus.conf.txt |
|
2015-02-01 18:53:45 |
Chaskiel Grundman |
attachment added |
|
error.log.txt https://bugs.launchpad.net/bugs/1416885/+attachment/4309967/+files/error.log.txt |
|
2015-02-02 01:01:48 |
Robie Basak |
apache2 (Ubuntu): status |
New |
Incomplete |
|
2015-02-02 16:55:57 |
Chaskiel Grundman |
apache2 (Ubuntu): status |
Incomplete |
New |
|
2015-02-03 10:47:42 |
Robie Basak |
bug |
|
|
added subscriber Robie Basak |
2015-02-03 10:47:49 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Server Team |
2015-02-03 10:49:26 |
Robie Basak |
summary |
postinst checks wrong path when installing default index.html |
Default DocumentRoot migration occurs even if /var/www/html was already being used |
|
2016-03-31 13:32:24 |
Christian Ehrhardt |
apache2 (Ubuntu): status |
New |
Triaged |
|
2016-03-31 13:32:30 |
Christian Ehrhardt |
apache2 (Ubuntu): importance |
Undecided |
Medium |
|
2018-08-22 14:34:06 |
Christian Ehrhardt |
bug |
|
|
added subscriber Christian Ehrhardt |
2018-08-22 14:34:08 |
Christian Ehrhardt |
apache2 (Ubuntu): status |
Triaged |
Fix Released |
|