用“ yum update”更新系统软件包后,无法替换无法覆盖的配置文件,但是我们可以在附近找到* .rpmnew文件。根据设计,系统管理员必须合并配置文件。
在Gentoo Linux中,有一个etc-update工具,它允许交互地合并配置文件更改,例如:
Beginning of differences between /etc/pear.conf and /etc/._cfg0000_pear.conf
[...]
End of differences between /etc/pear.conf and /etc/._cfg0000_pear.conf
1) Replace original with update
2) Delete update, keeping original as is
3) Interactively merge original with update
4) Show differences again
我想知道是否有一种方法可以在RHEL / Fedora / CentOS中以交互方式合并配置?