Mailinglist Archive: opensuse-features (139 mails)

< Previous Next >
[New: openFATE 310713] put /etc under (git) version control
  • From: fate_noreply@xxxxxxx
  • Date: Thu, 14 Oct 2010 21:49:51 +0200 (CEST)
  • Message-id: <feature-310713-1@xxxxxxxxxxxxxx>
Feature added by: Christoph Obexer (cobexer)

Feature #310713, revision 1
Title: put /etc under (git) version control

openSUSE-11.4: Unconfirmed
Priority
Requester: Important

Requested by: Christoph Obexer (cobexer)

Description:
put /etc under (git) version control to track changes made to the
configuration, merge new configuration options coming from package updates /
security fixes an handle the case where RPM decides to create a .rpmsave -
where a administrator would need to migrate all changes from the old version to
the new one in order to not end up with an unusable system upon reboot.

Integration in YaST would be very cool, you could have a look at what an update
changed in your system, and YaST could force you to migrate changes to
configuration files that are no longer in effect.

there are a fewsilly things in /etc (CUPS, alsa, ld.so.cache, and the
bootsplash images i recall) that cause a lot of "fake" changes, but they would
be easy to "fix".

 

checking differences in configurations between multiple systems(to diagnose
problems...) would be easy too, simply clone them and diff them, very efficient
;) . making backups of the system configuration would be easy too (simply back
up /etc/.git and restoring would be non destructive in that you could check
what changes will be restored)

 

(subversion would not work well, for example because of gconf IIRC)

Use Case:
there was a security update once concerning session entropy in PHP, since the
php.ini has been modified on the system in question the update process created
a .rpmnew file, a file i would have never found it if I had not put /etc under
git version control. With git however it was easy to see the file, I moved it
over the php.ini and had a look at the changes, merged them in and committed
the changes.

--
openSUSE Feature:
https://features.opensuse.org/310713

< Previous Next >
List Navigation
This Thread
References