Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 155014 - slocate package update overwrites /etc/updatedb.conf
slocate package update overwrites /etc/updatedb.conf
Product: Fedora
Classification: Fedora
Component: slocate (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Miloslav Trmač
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2005-04-15 13:58 EDT by James Laska
Modified: 2013-09-02 02:05 EDT (History)
1 user (show)

See Also:
Fixed In Version: 2.7-21
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-16 05:13:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description James Laska 2005-04-15 13:58:00 EDT
# slocate-2.7-20

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
Comment 1 Miloslav Trmač 2005-04-16 05:13:18 EDT
Good catch, thanks!

Fixed in slocate-2.7-21.

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