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

Bug #909558 reported by Marius Gedminas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
etckeeper (Ubuntu)
Expired
Medium
Unassigned

Bug Description

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.

Related branches

Jelmer Vernooij (jelmer)
Changed in etckeeper (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Jelmer Vernooij (jelmer)
Changed in etckeeper (Ubuntu):
assignee: nobody → Jelmer Vernooij (jelmer)
status: Triaged → Fix Committed
Jelmer Vernooij (jelmer)
Changed in etckeeper (Ubuntu):
assignee: Jelmer Vernooij (jelmer) → nobody
status: Fix Committed → Triaged
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

@jelmer, I see you reopened this bug, do you know if the problem still exists in current versions of ubuntu?

Changed in etckeeper (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for etckeeper (Ubuntu) because there has been no activity for 60 days.]

Changed in etckeeper (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.