Bug 853437 - updating dnsmasq overwrites dnsmasq.service
Summary: updating dnsmasq overwrites dnsmasq.service
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnsmasq
Version: 17
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Tomáš Hozza
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-31 13:59 UTC by Gene Czarcinski
Modified: 2012-11-13 13:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-13 13:11:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Gene Czarcinski 2012-08-31 13:59:39 UTC
Description of problem:
The regular practice is to use %config(noreplace) for configuration files going into /etc/ ... well, the dnsmasq.service file is also a configuration file since runtime parameters can be specified in a conf file or on the command line or both.

Version-Release number of selected component (if applicable):
Fedora 17, dnsmasq-2.59-5.fc17

How reproducible:
yes.

Steps to Reproduce:
1.
2.
3.
  
Actual results:
dnsmasq.service file is overwritten

Expected results:
not overwritten

Additional info:

Comment 1 Fedora Admin XMLRPC Client 2012-10-22 13:20:55 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Tomáš Hozza 2012-11-13 13:11:29 UTC
Please read Packaging guidelines regarding the Systemd:
https://fedoraproject.org/wiki/Packaging:Systemd#.25files_section

Systemd unit .service files must not be marked as %config files. If the user wants to reconfigure a .service file he should copy the .service file from /lib/systemd/system to /etc/systemd/system and edit it there. Unit files in /etc/systemd/system override those in /lib/systemd/system if they carry the same name.

Closing as NOTABUG


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