Bug 842318 - package /etc/xdg/autostart files as %config
Summary: package /etc/xdg/autostart files as %config
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tracker
Version: 17
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Deji Akingunola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-23 13:10 UTC by Gerd v. Egidy
Modified: 2012-09-25 16:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-25 16:41:03 UTC
Type: Bug


Attachments (Terms of Use)
proposed patch to the .spec (475 bytes, patch)
2012-07-23 13:10 UTC, Gerd v. Egidy
no flags Details | Diff

Description Gerd v. Egidy 2012-07-23 13:10:03 UTC
Created attachment 599778 [details]
proposed patch to the .spec

Description of problem:

Currently the files in /etc/xdg/autostart owned by tracker are defined as regular files in the .spec.

Now I modify these files to provide system-wide defaults better fitting for my users.

When an updated version of tracker is released and I update the rpm, the rpm will overwrite my modifications without backup or anything.

If the files are tagged with %config instead, rpm will not overwrite them (but provide updated versions with .rpmnew suffix).

Other packages which provide autostart files (e.g. pulseaudio) also tag theirs as %config.

Comment 1 Elliott Forney 2012-08-09 20:57:52 UTC
I second this.  As an administrator of a large network, there are a number of applications started from /etc/xdg/autostart that I wish I could disable by default.

Comment 2 Rex Dieter 2012-09-18 22:55:28 UTC
Deji, any objection if I incorporate this patch?

Gerd, did you really only want 
%config
or
%config(noreplace)
?  (the latter seems to be closer to what you want)

Comment 3 Deji Akingunola 2012-09-20 15:38:28 UTC
I'm sorry for taking a long time to respond to this bug.

I have now applied the change to F17, F18 and rawhide. Thanks to gerd and Rex for the patch.

Comment 4 Fedora Update System 2012-09-20 16:08:31 UTC
tracker-0.14.2-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/tracker-0.14.2-3.fc17

Comment 5 Fedora Update System 2012-09-20 16:08:57 UTC
tracker-0.14.2-4.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/tracker-0.14.2-4.fc18

Comment 6 Fedora Update System 2012-09-21 23:57:17 UTC
Package tracker-0.14.2-3.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tracker-0.14.2-3.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-14445/tracker-0.14.2-3.fc17
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-09-25 16:41:03 UTC
tracker-0.14.2-4.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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