[Bug 305642] [NEW] etckeeper deletes empty directories on apt-get upgrade
Henning Sprang
henning.sprang at gmail.com
Sat Dec 6 00:30:01 UTC 2008
Public bug reported:
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/dpkg/status
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.)
** Affects: etckeeper (Ubuntu)
Importance: Undecided
Status: New
--
etckeeper deletes empty directories on apt-get upgrade
https://bugs.launchpad.net/bugs/305642
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list