Bug 44220 - Clean up *.dpkg-new files in /etc/apache2/sites-available
Clean up *.dpkg-new files in /etc/apache2/sites-available
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Apache
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-03 12:09 CEST by Alexander Kläser
Modified: 2020-07-03 20:53 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
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): Cleanup
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2017-04-03 12:09:48 CEST
After an update form 4.1-4 to 4.2-0, there exist two *dpkg-new files below /etc/apache2/sites-available:
---------- 8< ----------
> $ ls -1 /etc/apache2/sites-available/
> 000-default.conf
> 000-default.conf.debian
> 000-default.conf.dpkg-new
> default-ssl.conf
> default-ssl.conf.debian
> default-ssl.conf.dpkg-new
> univention.conf
> univention-directory-manager.conf
> univention-proxy.conf
> univention-saml.conf
> univention-self-service.conf
---------- 8< ----------

And it seems that the *dpkg-new files are the actual files belonging to the package apache2:
---------- 8< ----------
> $ rgrep default-ssl /var/lib/dpkg/status
>  /etc/apache2/sites-available/default-ssl.conf 62e941b4a0ff9e7794e82c98c8a846a2
> 
> $ md5sum /etc/apache2/sites-available/default-ssl.conf*
> 5abd66562b60331928422dce61cdffe4  /etc/apache2/sites-available/default-ssl.conf
> 5789966db28dc47aa79ac63f1ee01e35  /etc/apache2/sites-available/default-ssl.conf.debian
> 62e941b4a0ff9e7794e82c98c8a846a2  /etc/apache2/sites-available/default-ssl.conf.dpkg-new
> 
> dpkg -S default-ssl
> local diversion from: /etc/apache2/sites-available/default-ssl.conf
> local diversion to: /etc/apache2/sites-available/default-ssl.conf.debian
> apache2: /etc/apache2/sites-available/default-ssl.conf
> local diversion from: /etc/apache2/sites-available/default-ssl.conf
> local diversion to: /etc/apache2/sites-available/default-ssl.conf.debian
---------- 8< ----------

AFAIS, we should adjust this in order to avoid problems during future package updates.
Comment 1 Ingo Steuwer univentionstaff 2020-07-03 20:53:27 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.