#995196 chrony: 'apt purge chrony' blew away customized configuration settings.

Package:
chrony
Source:
chrony
Description:
Versatile implementation of the Network Time Protocol
Submitter:
Steve Egbert
Date:
2021-09-27 19:48:03 UTC
Severity:
normal
Tags:
#995196#5
Date:
2021-09-27 19:46:07 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

= What led up to the situation? =

Attempting to reinstall 'chrony' package due to my misapplied file
ownership and permission settings toward /run/chrony and /etc/chrony/

= What exactly did you do (or not do) that was ineffective =

I ran:

  apt purge chrony

And found all my customized chrony drop-in configuration files in
/etc/chrony/conf.d subdirectory having been deleted by the purge
as well.

I was half-expecting the purge only to delete what they installed
and to let me know that some 'straggling' files were left behind
as the dpkg usually do.


= What was the outcome of this action? =

Lost all my customized settings.  Of course, I had backup;
but is this really expected of 'purge'?


= What outcome did you expect instead? =

I kinda expected my customized drop-in config files under
/etc/chrony/conf.d to remain intact (or at least renamed
at the next occurance of 'apt install chrony' time.