Steven Pritchard wrote:
On Fri, Apr 07, 2006 at 09:13:19PM +0200, Bernd Bartmann wrote:

The openvpn .spec-file supplied in the source code archive does not specify "%config(noreplace)" for the init file, i.e. if you run "rpm -Uvh openvpn.rpm" and you have a modified init script it is simply overwritten without notice. I would expect that the rpm update operation either creates a openvpn.rpmsave or openvpn.rpmnew file.


A quick grep through the Fedora Core and Extras spec files shows that
most don't even mark their init scripts as %config, much less
%config(noreplace).

I just took a look at the spec-files for daemons that are in the FC5 core-updates released so far. ALL of them have %config set for the init script:

%config is set for named, smb, sendmail, spamassassin
%config(noreplace) is set for squid

Anyway it does not hurt to protect the init script against being overwritten.

Best regards,
Bernd.

Reply via email to