havana openstack-dashboard from UCA enforces /etc/apache2/conf.d/openstack-dashboard.conf symlink
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
horizon (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
After installing the openstack-dashboard from the Havana pocket of the
UCA on Ubuntu 12.04, I removed the
/etc/apache2/
local/custom config in
/etc/apache2/
practice.
On upgrade the openstack-dashboard re-added the symlink which caused
conflicting WSGI Process Groups and apache to fail to start, which in
turn caused the package upgrade to fail.
I then tried removing both
/etc/apache2/
/etc/apache2/
added a dangling symlink in
/etc/apache2/
Eventually I was able to unbreak the upgrade by re-adding
/etc/apache2/
empty.
I believe if either:
a) /etc/apache2/
removed by the administrator
and/or
b) /etc/apache2/
the administrator
then the package postinst should not re-add the
conf.d/
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: openstack-dashboard 1:2013.
ProcVersionSign
Uname: Linux 3.2.0-53-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
CrashDB: cloud_archive
Date: Thu Feb 27 15:13:31 2014
MarkForUpload: True
PackageArchitec
ProcEnviron:
LANGUAGE=en_GB:
TERM=screen-
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: horizon
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
mtime.conffile.
Changed in horizon (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
Another way this could be resolved by admin, and therefore upgrade safe:
I seem to remember that apache2, now demands a .conf extension. Therefore a Debian friendly (rather than a rm) way of resolving this might be to do (untested):
dpkg-divert --add --package openstack-dashboard --rename \ sites-available /openstack- dashboard. conf \
/ etc/apache2/ sites-available /openstack- dashboard. conf.disabled
--divert /etc/apache2/