Bug 30928

Summary: wpad_config breaks apache configuration when uninstalling ucs-school-webproxy
Product: UCS@school Reporter: Florian Best <best>
Component: Proxy servicesAssignee: Florian Best <best>
Status: CLOSED FIXED QA Contact: Felix Botner <botner>
Severity: normal    
Priority: P5 CC: gohmann, schwardt
Version: unspecifiedKeywords: interim-2
Target Milestone: UCS@school 3.1 R2   
Hardware: Other   
OS: Linux   
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:

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".