Since we have introduced DAILY_UPDATE=no in /etc/updatedb.conf I typically
toggle this to DAILY_UPDATE=yes. I found after a rawhide update that my config
file change was replaced when a new package was installed (slocate-2.7-20).
Does it make sense to set /etc/updatedb.conf as a %config(noreplace) file in the
slocate.spec? This appears to be the process followed by other packages whose
config files live in /etc (e.g. bind).
[ slocate.spec from slocate-2.7-20 ]
%attr(644,root,root) %config /etc/updatedb.conf
[ proposed change to slocate.spec ]
%attr(644,root,root) %config(noreplace) /etc/updatedb.conf
Good catch, thanks!
Fixed in slocate-2.7-21.