[Bug 1532615] [NEW] etckeeper init is not executed on initial install
Launchpad Bug Tracker
1532615 at bugs.launchpad.net
Sun Jan 10 22:17:58 UTC 2016
You have been subscribed to a public bug by Nobuto Murata (nobuto):
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)
** Affects: etckeeper (Ubuntu)
Importance: Undecided
Assignee: Nobuto Murata (nobuto)
Status: Confirmed
** Tags: amd64 apport-bug xenial
--
etckeeper init is not executed on initial install
https://bugs.launchpad.net/bugs/1532615
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list