[Ocfs2-tools-devel] [PATCH 3/3] ocfs2-tools: Add (noreplace) to /etc/sysconfig/o2cb in the spec file

Sunil Mushran sunil.mushran at oracle.com
Thu Feb 18 15:09:46 PST 2010


A typo fixed in /etc/sysconfig/o2cb is making rpm upgrade move the
existing configfile to .rpmsave. This patch forces the new file to
be saved as .rpmnew and leaves the existing configfile as-is.

Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
---
 vendor/common/ocfs2-tools.spec-generic.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vendor/common/ocfs2-tools.spec-generic.in b/vendor/common/ocfs2-tools.spec-generic.in
index b988fb2..3e9b46a 100644
--- a/vendor/common/ocfs2-tools.spec-generic.in
+++ b/vendor/common/ocfs2-tools.spec-generic.in
@@ -121,7 +121,7 @@ fi
 /sbin/ocfs2_hb_ctl
 /etc/init.d/o2cb
 /etc/init.d/ocfs2
-%config /etc/sysconfig/o2cb
+%config(noreplace) /etc/sysconfig/o2cb
 /usr/share/man/man8/debugfs.ocfs2.8.gz
 /usr/share/man/man8/fsck.ocfs2.8.gz
 /usr/share/man/man8/fsck.ocfs2.checks.8.gz
-- 
1.6.3.3




More information about the Ocfs2-tools-devel mailing list