[Bug 909558] [NEW] Default conffile change in hardy -> lucid transition silently stops etckeeper hooks

Marius Gedminas marius at pov.lt
Thu Dec 29 02:46:13 UTC 2011


Public bug reported:

To reproduce:

1. install Hardy
2. apt-get install etckeeper
3. etckeeper init # will create /etc/.git, since that's the default
4. upgrade to Lucid
5. apt-get install something

Expected behaviour:

* apt-get install runs the apt hooks and adds two commits to the /etc
git repository

Actual behaviour:

* nothing happens

Elaboration:

* The default VCS setting in /etc/etckeeper/etckeeper.conf has changed
from git to bzr.  Since the conffile was not modified, dpkg replaced it
with the new version on upgrade. Now etckeeper commit fails to find
/etc/.bzr and complains, while etckeeper pre-install/post-install
silently do nothing.  If a sysadmin doesn't manually invoke 'etckeeper
commit' (preferring manual 'git commit'), he may not notice those apt
hooks stopped working until he tries to look at 'git log' about a year
later.

** Affects: etckeeper (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/909558

Title:
  Default conffile change in hardy -> lucid transition silently stops
  etckeeper hooks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/909558/+subscriptions



More information about the Ubuntu-server-bugs mailing list