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

Joel Becker Joel.Becker at oracle.com
Thu Feb 18 16:17:25 PST 2010


On Thu, Feb 18, 2010 at 03:09:46PM -0800, Sunil Mushran wrote:
> 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>
sob
> ---
>  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
> 

-- 

"People with narrow minds usually have broad tongues."

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-tools-devel mailing list