Mailinglist Archive: opensuse-bugs (2746 mails)

< Previous Next >
[Bug 753935] yast2 ntp-client calls unchanged ntp.conf "changed manually"

Reinhard Max <max@xxxxxxxx> changed:

What |Removed |Added
CC| |max@xxxxxxxx
InfoProvider|max@xxxxxxxx |

--- Comment #4 from Reinhard Max <max@xxxxxxxx> 2013-06-21 03:48:45 CEST ---
How about this algorithm for the YaST module?

If no checksum exists

If rpm -V reports the file as unchanged
Proceed in changing the file.
Create the checksum,but only if the file was actually changed.

If rpm -V reports the file as changed
Report the file as manually edited.

If a checksum exists

If the checksum matches the file
Proceed in changing the file and update the checksum.

If the checksum does not match the file
Report the file as manually edited.

This way a checksum will only exist if YaST really touched the file, and at
that point due to the file being packaged as %config(noreplace) it will never
get replaced by the new version on update.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >