Bug 24517 - Hiawatha upgrade overwrites config files under /etc/hiawatha/
Summary: Hiawatha upgrade overwrites config files under /etc/hiawatha/
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA6-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2019-03-15 13:14 CET by Jani Välimaa
Modified: 2019-03-15 17:57 CET (History)
3 users (show)

See Also:
Source RPM: hiawatha-10.8.4-1.mga6
CVE:
Status comment:


Attachments

Description Jani Välimaa 2019-03-15 13:14:33 CET
User modified config files under /etc/hiawatha/ gets overwritten when updating.
Comment 1 Jani Välimaa 2019-03-15 13:30:30 CET
Should be fixed with hiawatha-10.8.4-1.1.mga6 in core/udpates_testing.

Marked /etc/hiawatha/* with %config(noreplace) in .spec.

Assignee: bugsquad => qa-bugs

Comment 2 Rolf Pedersen 2019-03-15 15:43:01 CET
[rolf@d90d7 ~]$ sudo urpmi http://mirrors.kernel.org/mageia/distrib/6/x86_64/media/core/updates_testing/hiawatha-10.8.4-1.1.mga6.x86_64.rpm


installing hiawatha-10.8.4-1.1.mga6.x86_64.rpm from /var/cache/urpmi/partial
Preparing...                     #############################################################
      1/1: hiawatha              #############################################################
      1/1: removing hiawatha-10.8.4-1.mga6.x86_64
                                 #############################################################
[rolf@d90d7 ~]$ sudo service hiawatha restart
Redirecting to /bin/systemctl restart hiawatha.service
[rolf@d90d7 ~]$ less /etc/hiawatha/hiawatha.conf
[rolf@d90d7 ~]$

This version did not overwrite hiawatha.conf and websites seem intact.
Thanks.

CC: (none) => rolfpedersen

Comment 3 Thomas Backlund 2019-03-15 17:27:39 CET
Setting OK based on test in comment 2.

Flusihing out fast to protect systems that has not installed last update yet.

Advisory:

type: bugfix
subject: Updated hiawatha packages fixes config file protection
src:
  6:
   core:
     - hiawatha-10.8.4-1.1.mga6
description: |
  This update fixes an issue where customized configs gets overwritten on update.
references:
 - https://bugs.mageia.org/show_bug.cgi?id=24517

Keywords: (none) => advisory, validated_update
Whiteboard: (none) => MGA6-64-OK
CC: (none) => tmb, sysadmin-bugs

Comment 4 Mageia Robot 2019-03-15 17:57:05 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2019-0023.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.