Mailinglist Archive: opensuse (3506 mails)
| < Previous | Next > |
Re: [SLE] Protecting System Configuration Files
- From: Mike <mike@xxxxxxxxxxxxx>
- Date: Fri, 1 Sep 2006 15:57:58 +0000 (UTC)
- Message-id: <200609011757.51445.mike@xxxxxxxxxxxxx>
On Friday 01 September 2006 17:48, Mike McQueen wrote:
> What is the preferred method of protecting various selected system
> configuration files in SUSE 10.1 during package updates from being
> overwritten?
Normally, the rpm package will create a file
called /etc/file.xyz.rpmorig or something to that effect. That's not to
say that the original file won't be over written, but it seems to be
the norm that I've seen. It leaves your file alone (I think) and
creates this new one in case there are changes you need to make.
>
> For example, if I want to be sure that /etc/file.xyz is not altered
> during a package update install session what action should be taken?
> Further, would such an action allow the newer file.xyz to be placed
> under a different extention for later review of differences?
If it's something really important, and you want to make sure, copy it
to another directory. Before I do something drastic that might kill a
program I'm running, I simply copy the original config file to
say /tmp/etc . At least that way I've got a copy of the original incase
rpm does change it.
Mike
--
Powered by SuSE 10.0 Kernel 2.6.13 KDE 3.4 Kmail 1.8
For Mondo/Mindi backup support go to
http://www.mikenjane.net/~mike
5:53pm up 8:17, 4 users, load average: 2.12, 2.12, 2.06
> What is the preferred method of protecting various selected system
> configuration files in SUSE 10.1 during package updates from being
> overwritten?
Normally, the rpm package will create a file
called /etc/file.xyz.rpmorig or something to that effect. That's not to
say that the original file won't be over written, but it seems to be
the norm that I've seen. It leaves your file alone (I think) and
creates this new one in case there are changes you need to make.
>
> For example, if I want to be sure that /etc/file.xyz is not altered
> during a package update install session what action should be taken?
> Further, would such an action allow the newer file.xyz to be placed
> under a different extention for later review of differences?
If it's something really important, and you want to make sure, copy it
to another directory. Before I do something drastic that might kill a
program I'm running, I simply copy the original config file to
say /tmp/etc . At least that way I've got a copy of the original incase
rpm does change it.
Mike
--
Powered by SuSE 10.0 Kernel 2.6.13 KDE 3.4 Kmail 1.8
For Mondo/Mindi backup support go to
http://www.mikenjane.net/~mike
5:53pm up 8:17, 4 users, load average: 2.12, 2.12, 2.06
| < Previous | Next > |