etckeeper (with git) deletes empty directories on apt-get upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
etckeeper (Debian) |
Fix Released
|
Unknown
|
|||
etckeeper (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: etckeeper
1)
lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
2)
apt-cache policy etckeeper
etckeeper:
Installed: 0.14ubuntu2
Candidate: 0.14ubuntu2
Version table:
*** 0.14ubuntu2 0
500 file: hardy/universe Packages
100 /var/lib/
3)
I did a security upgrade of the package mysql-server-5.0, and would expect it to work fine after the upgrade.
To reproduce:
* install a plain ubuntu system 8.04
* disable security and hardy updates (or disconnect from network) in sources.list
* apt-get install etckeeper
* etckeeper init
* apt-get install mysql-server
* check mysql - it's running
* check dir /etc/mysql/conf.d - it's there and a file inside
* add security update repository / network connection
* apt-get update
* apt-get upgrade
* check dir /etc/mysql/conf.d - it's missing, mysql not running
If I leave etckeeper out, the directory is there, empty, and mysql is working.
4)
Instead of just kepp running, mysql refuses to restart, seemingly because the directory /etc/mysql/conf.d is not there anymore.
As described in bug 305107 ( which keeps valid for mysql because it should not refuse to start because a missing empty and optional directory.)
Changed in etckeeper: | |
assignee: | nobody → tcarrez |
status: | Triaged → In Progress |
Changed in etckeeper (Debian): | |
status: | Unknown → Fix Released |
What VCS are you using (setting VCS in /etc/etckeeper/ etckeeper. conf)?