All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Avoid config files being overwritten
@ 2014-11-14  9:43 Jian Liu
  2014-11-14  9:43 ` [PATCH 1/5] base-files: files will be over written when updating using rpm Jian Liu
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Jian Liu @ 2014-11-14  9:43 UTC (permalink / raw)
  To: openembedded-core

Configure files and scripts may be over written when updating packages with rpm.

For example, if updating base-files with a new version of rpm, the file 
/etc/nsswitch.conf which is created by base-files will be substituted by a new file.

This is not what we want since our config files may be lost after updating. 

A resolution is to revise spec file of rpm and put %config before config files 
like "%config /etc/nsswitch.conf".

Theoretically all editable files created by rpm packages should be protected 
with "%config". But currently we only concern about the following packages:
  base-files
  initscripts
  logrotate
  lvm2
  libpam
  nfs-utils



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-11-21  2:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-14  9:43 [PATCH 0/6] Avoid config files being overwritten Jian Liu
2014-11-14  9:43 ` [PATCH 1/5] base-files: files will be over written when updating using rpm Jian Liu
2014-11-20 20:37   ` Burton, Ross
2014-11-21  2:06     ` Liu Jian
2014-11-21  2:23     ` ChenQi
2014-11-20 20:40   ` Burton, Ross
2014-11-14  9:43 ` [PATCH 2/5] initscripts: " Jian Liu
2014-11-14  9:43 ` [PATCH 3/5] logrotate: " Jian Liu
2014-11-19 17:54   ` Dan McGregor
2014-11-20  2:11     ` Liu Jian
2014-11-20 20:37     ` Burton, Ross
2014-11-14  9:43 ` [PATCH 4/5] libpam: " Jian Liu
2014-11-14  9:43 ` [PATCH 5/5] nfs-utils: " Jian Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.