Bug 30928 - wpad_config breaks apache configuration when uninstalling ucs-school-webproxy
wpad_config breaks apache configuration when uninstalling ucs-school-webproxy
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Proxy services
unspecified
Other Linux
: P5 normal (vote)
: UCS@school 3.1 R2
Assigned To: Florian Best
Felix Botner
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-28 08:36 CET by Florian Best
Modified: 2013-06-07 21:40 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2013-03-28 08:36:14 CET
uninstalling ucs-school-webproxy leaves /etc/apache2/sites-enabled/wpad_config existing which then becomes a broken symlink to ../sites-available/wpad_config.
This cause apache to not be able to start again:

===
root@master:/etc/apache2/sites-enabled# invoke-rc.d apache2 restart
apache2: Syntax error on line 230 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/wpad-config: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
 failed!
invoke-rc.d: initscript apache2, action "restart" failed.
===

I think there is a "a2dissite wpad-config" missing in prerm.
Comment 1 Florian Best univentionstaff 2013-04-26 10:45:46 CEST
ucs-school-webproxy (9.0.2-2) 
* remove wpad-config apache site in prerm; Bug #30928

Changelog has been added.
Comment 2 Felix Botner univentionstaff 2013-05-22 16:10:38 CEST
OK
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2013-06-07 21:40:53 CEST
UCS@school 3.1 R2 has been released:
http://download.univention.de/doc/release-notes-ucsschool-3.1-rev2.pdf

If this error occurs again, please use "Clone This Bug".