Bug 11946 - haproxy: Addon-Update overwrites config file
Summary: haproxy: Addon-Update overwrites config file
Status: CLOSED FIXED
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: - Unknown - Major Usability
Assignee: Michael Tremer
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-08 16:40 UTC by starkstromkonsument
Modified: 2019-03-11 18:53 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description starkstromkonsument 2018-12-08 16:40:33 UTC
The update process of the haproxy addon to Version 1.8.14 (IPFire 2.21 Core Update 124 --> 125) overwrites the configuration file /etc/haproxy/haproxy.cfg with the default config file of the addon package. There ist no further notice about this nor any warning during the update process.

At least one user was able to reproduce this behavior (earlier this year at core update Nr. 119): https://forum.ipfire.org/viewtopic.php?f=27&t=20485&hilit=haproxy
Comment 1 Michael Tremer 2018-12-10 00:38:43 UTC
Interesting that this never was an issue before, but you are right, there is no backup being created:

https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=c519be42262c629abac86fb251a3f3921d42310d

Interestingly there was a backup include file which listed the configuration file that should have been archived.
Comment 2 starkstromkonsument 2019-03-11 18:53:44 UTC
Your patch fixed it.