[Bug 1532615] Re: etckeeper init is not executed on initial install
Launchpad Bug Tracker
1532615 at bugs.launchpad.net
Fri Jan 15 17:04:48 UTC 2016
This bug was fixed in the package etckeeper - 1.18.1ubuntu3
---------------
etckeeper (1.18.1ubuntu3) xenial; urgency=medium
* properly merge preinst and postinst to fix initial commit on
fresh install, LP: #1532615
-- Nobuto Murata <nobuto at ubuntu.com> Mon, 11 Jan 2016 07:02:16 +0900
** Changed in: etckeeper (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1532615
Title:
etckeeper init is not executed on initial install
Status in etckeeper package in Ubuntu:
Fix Released
Bug description:
etckeeper on xenial does not kick initial commit on its fresh install.
It seems ubuntu patch has debian/etckeeper.postinst over
debian/postinst which has a logic to kick `etckeeper init`.
$ ls -1 etckeeper-1.18.1*/debian/*postinst
etckeeper-1.18.1/debian/postinst
etckeeper-1.18.1ubuntu2/debian/etckeeper.postinst
etckeeper-1.18.1ubuntu2/debian/postinst
[etckeeper-1.18.1ubuntu2/debian/postinst]
80 if [ "$2" = "" ] && [ -e "/etc/etckeeper/etckeeper.conf" ]; then
81 # Fresh install.
82 . /etc/etckeeper/etckeeper.conf || true
83 if [ -n "$VCS" ] && [ -x "`which $VCS 2>/dev/null`" ]; then
84 if etckeeper init; then
85 if ! etckeeper commit "Initial commit"; then
86 echo "etckeeper commit failed; run it by hand" >&2
87 fi
88 else
89 echo "etckeeper init failed; run it by hand" >&2
90 fi
91 else
92 echo "etckeeper init not ran as $VCS is not installed" >&2
93 fi
94 fi
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: etckeeper 1.18.1ubuntu2
ProcVersionSignature: Ubuntu 4.3.0-5.16-generic 4.3.3
Uname: Linux 4.3.0-5-generic x86_64
ApportVersion: 2.19.3-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jan 11 06:20:50 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-01-09 (1 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160108)
PackageArchitecture: all
SourcePackage: etckeeper
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1532615/+subscriptions
More information about the Ubuntu-sponsors
mailing list