[pkg-go] Bug#889714: chmod: cannot access '/var/lib/etcd/': No such file or directory

Christoph Berg christoph.berg at credativ.de
Tue Feb 6 09:36:41 UTC 2018


Package: etcd-server
Version: 3.2.9+dfsg-3
Severity: important

If etcd is already present in /etc/passwd, but /var/lib/etcd is
missing, installing etcd-server fails:

Setting up etcd-server (3.2.9+dfsg-3) ...
chmod: cannot access '/var/lib/etcd/': No such file or directory
dpkg: error processing package etcd-server (--configure):
 installed etcd-server package post-installation script subprocess returned error exit status 1

The situation arises here because I'm installing it in a chroot with
/etc/passwd copied from the host system. It will also be seen on
systems with LDAP and other distributed user management systems.

(Filing as important because the "normal" case works, but this is more
or less RC.)

Christoph



More information about the Pkg-go-maintainers mailing list