updates killing my files
Hugo van der Kooij
hvdkooij at vanderkooij.org
Wed Apr 18 21:51:44 CEST 2007
On Wed, 18 Apr 2007, Jim Perrin wrote:
> On 4/18/07, Alessandro del Gallo <delgallo at pic.es> wrote:
>> Hello, I think we have a poblem with Red Hat rpm's.
>> When an update occurs, rpm erases all the files I modofied
>> in /usr/share/nagios/ without making a backup.
>
> This is how the rpm is built. The files in /etc/ are listed as config
> files with the %noreplace option, so they get left alone. The files in
> /usr/share/ get no such protection. While I would like to see the
> nuvola theme made the default, I understand this behavior of rpm, and
> just work around it.
The easy workaround for me is:
- copy index.html to index.html.SHIPPED
- edit index.html to my liking
- create a diff file (diff -u index.html.SHIPPED index.html > index.html.diff)
Then after an package update I can apply the patch once again.
Done this ever sinds 2.0b(something) untill present day 2.9
Hugo.
--
hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/
This message is using 100% recycled electrons.
Some men see computers as they are and say "Windows"
I use computers with Linux and say "Why Windows?"
(Thanks JFK, for the insight.)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list