Enhancement #3376

Mark yum plugin configuration file as config

Added by Giacomo Sanchietti over 5 years ago. Updated over 5 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-yum
Target version:v6.7
Resolution: NEEDINFO:No

Description

Actually, inside the nethserver-yum package, the etc/yum/pluginconf.d/nethserver_events.conf file is replaced even when modified.

Mark the file as configuration file inside the spec.

Associated revisions

Revision 2b670183
Added by Giacomo Sanchietti over 5 years ago

Merge pull request #1 from Stell0/master

spec: mark ethserver_events.conf as configuration file. Refs #3376

History

#1 Updated by Giacomo Sanchietti over 5 years ago

  • Status changed from NEW to TRIAGED
  • Target version set to v6.7
  • % Done changed from 0 to 20

#2 Updated by Giacomo Sanchietti over 5 years ago

  • Status changed from TRIAGED to ON_DEV
  • % Done changed from 20 to 30

#3 Updated by Giacomo Sanchietti over 5 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#4 Updated by Giacomo Sanchietti over 5 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70
In nethserver-testing:
  • nethserver-yum-1.3.5-1.2.g2b67018.ns6.noarch.rpm
Test case
  • Install the update
  • Edit the configuration file
  • Reinstall the update, the file must be unchanged

#5 Updated by Giacomo Sanchietti over 5 years ago

  • Assignee set to Giacomo Sanchietti

#6 Updated by Giacomo Sanchietti over 5 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

Config file edited:

[root@localhost ~]# grep verbose /etc/yum/pluginconf.d/nethserver_events.conf
verbose = 1

After reinstall the package, the files has not been overwritten:

[root@localhost ~]# grep verbose /etc/yum/pluginconf.d/nethserver_events.conf
verbose = 1

[root@localhost ~]# rpm -V nethserver-yum
..5....T.  c /etc/yum/pluginconf.d/nethserver_events.conf

#7 Updated by Giacomo Sanchietti over 5 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in
  • 6.7/nethserver-updates: nethserver-yum-1.3.6-1.ns6.noarch.rpm
  • 7.2/nethserver-testing: nethserver-yum-1.3.6-1.ns7.noarch.rpm

Also available in: Atom PDF