Bug 1121832 - config files not delared in spec file
Summary: config files not delared in spec file
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: owfs
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomasz Torcz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-22 03:08 UTC by Richard Keech
Modified: 2014-07-22 05:32 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-22 05:32:02 UTC


Attachments (Terms of Use)

Description Richard Keech 2014-07-22 03:08:33 UTC
Description of problem:

When the owfs-fs package is updated, changes made to /usr/lib/systemd/system/owfs.service are lost.  This is because the config files are not appropriately declared in the spec file.


Expected results:

Modified config files are preserved as per normal RPM behaviour.


Additional info:

Suggest to add following line, or similar, to %files section of spec file:

%config /usr/lib/systemd/system/owfs.service

Comment 1 Tomasz Torcz 2014-07-22 05:32:02 UTC
Files in /usr are not config files, and they are supposed to be overwritten on upgrade. If you need to modify unit file, copy it to /etc/systemd/system or use snippets mechanism.


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