[MDEV-25960] yum update overwrites customized logrotation config (/etc/logrotate.d/mysql) Created: 2021-06-18  Updated: 2021-06-23  Resolved: 2021-06-23

Status: Closed
Project: MariaDB Server
Component/s: Upgrades
Affects Version/s: 10.3.29, 10.4.19, 10.5.10, 10.2, 10.3, 10.4, 10.5, 10.6
Fix Version/s: 10.2.39

Type: Bug Priority: Major
Reporter: Nilnandan Joshi Assignee: Alexey Bychko (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

When upgrade MariaDB server from 10.5.9 to 10.5.10 with yum update, It overwrites customized logrotation config (/etc/logrotate.d/mysql). Looks like that file doesn't marked as config file. This file must be marked as config to preserve the changes or make a backup at least.



 Comments   
Comment by Elena Stepanova [ 2021-06-18 ]

DEBs don't seem to override the config, only RPMs, but better to double-check.

Comment by Alexey Bychko (Inactive) [ 2021-06-22 ]

fix has been tested locally and pushed to bb-10.2-MDEV-25960 / 10.2e-abychko

Comment by Alexey Bychko (Inactive) [ 2021-06-22 ]

fixes are in 10.[x]e-abychko, testing

Comment by Alexey Bychko (Inactive) [ 2021-06-23 ]

pushed to 10.2 CS and all ES branches

Generated at Thu Feb 08 09:41:42 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.