2014-12-15 13:13:07 |
Hilario J. Montoliu (hjmf) |
bug |
|
|
added bug |
2014-12-15 13:18:00 |
Launchpad Janitor |
etckeeper (Ubuntu): status |
New |
Confirmed |
|
2014-12-15 15:25:43 |
Hilario J. Montoliu (hjmf) |
attachment added |
|
ser correct execution permissions https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1402657/+attachment/4281506/+files/fix-permissions.patch |
|
2014-12-15 15:25:48 |
Hilario J. Montoliu (hjmf) |
attachment added |
|
ser correct execution permissions https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1402657/+attachment/4281507/+files/fix-permissions.patch |
|
2014-12-15 16:28:07 |
Ubuntu Foundations Team Bug Bot |
tags |
amd64 apport-bug utopic |
amd64 apport-bug patch utopic |
|
2014-12-15 16:28:15 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2014-12-15 19:39:36 |
Alberto Salvia Novella |
etckeeper (Ubuntu): importance |
Undecided |
High |
|
2015-02-14 09:36:31 |
Nobuto Murata |
bug |
|
|
added subscriber Nobuto Murata |
2015-02-14 09:50:52 |
Nobuto Murata |
etckeeper (Ubuntu): assignee |
|
Nobuto Murata (nobuto) |
|
2015-02-14 09:59:45 |
Launchpad Janitor |
branch linked |
|
lp:~nobuto/ubuntu/vivid/etckeeper/restore-exec-permission |
|
2015-02-16 09:10:38 |
Sebastien Bacher |
description |
Etckeeper doesn't work out of the box on Ubuntu 14.10
The command etckeeper commit fails without any output.
The problem is that the script 50vcs-commit doesn't have execution permissions.
Noticed in etckeeper at ubuntu 14.10
root@ulises2:/etc/etckeeper# lsb_release -rd
Description: Ubuntu 14.10
Release: 14.10
root@ulises2:/etc/etckeeper# apt-cache policy etckeeper
etckeeper:
Installed: 1.11ubuntu1
Candidate: 1.11ubuntu1
Version table:
*** 1.11ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
100 /var/lib/dpkg/status
The root cause is that 50vcs-commit never gets executed because it lacks permissions:
root@ulises2:/etc/etckeeper# ls -la /etc/etckeeper/commit.d/
total 40
drwxr-xr-x 2 root root 4096 Dec 15 13:55 .
drwxr-xr-x 12 root root 4096 Dec 15 13:55 ..
-rwxr-xr-x 1 root root 447 Jun 4 2014 10vcs-test
-rwxr-xr-x 1 root root 138 Jun 4 2014 30bzr-add
-rwxr-xr-x 1 root root 302 Jun 4 2014 30darcs-add
-rwxr-xr-x 1 root root 138 Jun 4 2014 30git-add
-rwxr-xr-x 1 root root 143 Jun 4 2014 30hg-addremove
-rw-r--r-- 1 root root 2822 Jun 4 2014 50vcs-commit
-rwxr-xr-x 1 root root 264 Jun 4 2014 99push
-rw-r--r-- 1 root root 193 Jun 4 2014 README
To reproduce the problem:
--------------------------------------------------------------------
Install etckeeper on Ubuntu 14.04. Nothing gets commited.
root@ulises2:/etc/etckeeper# etckeeper init
Creado un standalone tree (formaot: 2a)
adding .bzrignore
adding .etckeeper
adding .java
adding ConsoleKit
adding ImageMagick
adding Muttrc
[...]
root@ulises2:/etc/etckeeper# etckeeper vcs status
unknown:
.bzrignore
.etckeeper
.java/
ConsoleKit/
ImageMagick/
Muttrc
[...]
root@ulises2:/etc/etckeeper# etckeeper commit "initial revision"
root@ulises2:/etc/etckeeper# etckeeper vcs status
added:
.bzrignore
.etckeeper
.java/
.java/.systemPrefs/
.java/.systemPrefs/.system.lock
.java/.systemPrefs/.systemRootModFile
[...]
To fix the problem
--------------------------------------------
Give exectuable permissions to /etc/etckeeper/commit.d/50vcs-commit::
chmod +x /etc/etckeeper/commit.d/50vcs-commit
etckeeper commit "initial revision"
etckeeper vcs log
------------------------------------------------------------
revno: 1
committer: hmontoliu <hmontoliu@ulises2>
branch nick: ulises2 /etc repository
timestamp: Mon 2014-12-15 14:09:54 +0100
message:
initial revision
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: etckeeper 1.11ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-28.37-generic 3.16.7-ckt1
Uname: Linux 3.16.0-28-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Dec 15 13:59:32 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-10-16 (425 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Beta amd64 (20130925.1)
PackageArchitecture: all
SourcePackage: etckeeper
UpgradeStatus: Upgraded to utopic on 2014-12-13 (1 days ago) |
* Impact:
the command fails to run on incorrect permission issue
* Test case
see "To reproduce the problem" section of the description
* Regression potential
that only changing permission of one file, just test that the command works
------------------------------
Etckeeper doesn't work out of the box on Ubuntu 14.10
The command etckeeper commit fails without any output.
The problem is that the script 50vcs-commit doesn't have execution permissions.
Noticed in etckeeper at ubuntu 14.10
root@ulises2:/etc/etckeeper# lsb_release -rd
Description: Ubuntu 14.10
Release: 14.10
root@ulises2:/etc/etckeeper# apt-cache policy etckeeper
etckeeper:
Installed: 1.11ubuntu1
Candidate: 1.11ubuntu1
Version table:
*** 1.11ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
100 /var/lib/dpkg/status
The root cause is that 50vcs-commit never gets executed because it lacks permissions:
root@ulises2:/etc/etckeeper# ls -la /etc/etckeeper/commit.d/
total 40
drwxr-xr-x 2 root root 4096 Dec 15 13:55 .
drwxr-xr-x 12 root root 4096 Dec 15 13:55 ..
-rwxr-xr-x 1 root root 447 Jun 4 2014 10vcs-test
-rwxr-xr-x 1 root root 138 Jun 4 2014 30bzr-add
-rwxr-xr-x 1 root root 302 Jun 4 2014 30darcs-add
-rwxr-xr-x 1 root root 138 Jun 4 2014 30git-add
-rwxr-xr-x 1 root root 143 Jun 4 2014 30hg-addremove
-rw-r--r-- 1 root root 2822 Jun 4 2014 50vcs-commit
-rwxr-xr-x 1 root root 264 Jun 4 2014 99push
-rw-r--r-- 1 root root 193 Jun 4 2014 README
To reproduce the problem:
--------------------------------------------------------------------
Install etckeeper on Ubuntu 14.04. Nothing gets commited.
root@ulises2:/etc/etckeeper# etckeeper init
Creado un standalone tree (formaot: 2a)
adding .bzrignore
adding .etckeeper
adding .java
adding ConsoleKit
adding ImageMagick
adding Muttrc
[...]
root@ulises2:/etc/etckeeper# etckeeper vcs status
unknown:
.bzrignore
.etckeeper
.java/
ConsoleKit/
ImageMagick/
Muttrc
[...]
root@ulises2:/etc/etckeeper# etckeeper commit "initial revision"
root@ulises2:/etc/etckeeper# etckeeper vcs status
added:
.bzrignore
.etckeeper
.java/
.java/.systemPrefs/
.java/.systemPrefs/.system.lock
.java/.systemPrefs/.systemRootModFile
[...]
To fix the problem
--------------------------------------------
Give exectuable permissions to /etc/etckeeper/commit.d/50vcs-commit::
chmod +x /etc/etckeeper/commit.d/50vcs-commit
etckeeper commit "initial revision"
etckeeper vcs log
------------------------------------------------------------
revno: 1
committer: hmontoliu <hmontoliu@ulises2>
branch nick: ulises2 /etc repository
timestamp: Mon 2014-12-15 14:09:54 +0100
message:
initial revision
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: etckeeper 1.11ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-28.37-generic 3.16.7-ckt1
Uname: Linux 3.16.0-28-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Dec 15 13:59:32 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-10-16 (425 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Beta amd64 (20130925.1)
PackageArchitecture: all
SourcePackage: etckeeper
UpgradeStatus: Upgraded to utopic on 2014-12-13 (1 days ago) |
|
2015-02-16 09:10:42 |
Sebastien Bacher |
etckeeper (Ubuntu): status |
Confirmed |
Fix Committed |
|
2015-02-16 09:37:56 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/vivid-proposed/etckeeper |
|
2015-02-16 09:57:21 |
Launchpad Janitor |
etckeeper (Ubuntu): status |
Fix Committed |
Fix Released |
|
2015-02-18 15:51:27 |
Chris J Arges |
nominated for series |
|
Ubuntu Utopic |
|
2015-02-18 15:51:27 |
Chris J Arges |
bug task added |
|
etckeeper (Ubuntu Utopic) |
|
2015-02-18 15:54:10 |
Chris J Arges |
etckeeper (Ubuntu Utopic): status |
New |
Fix Committed |
|
2015-02-18 15:54:11 |
Chris J Arges |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-02-18 15:54:15 |
Chris J Arges |
bug |
|
|
added subscriber SRU Verification |
2015-02-18 15:54:16 |
Chris J Arges |
tags |
amd64 apport-bug patch utopic |
amd64 apport-bug patch utopic verification-needed |
|
2015-02-19 18:54:22 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/utopic-proposed/etckeeper |
|
2015-03-05 14:17:02 |
Nobuto Murata |
attachment added |
|
take2-vivid.debdiff https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1402657/+attachment/4335263/+files/take2-vivid.debdiff |
|
2015-03-05 14:17:24 |
Nobuto Murata |
attachment added |
|
take2-utopic.debdiff https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1402657/+attachment/4335264/+files/take2-utopic.debdiff |
|
2015-03-05 14:17:39 |
Nobuto Murata |
etckeeper (Ubuntu): status |
Fix Released |
Confirmed |
|
2015-03-05 14:18:44 |
Nobuto Murata |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2015-03-05 16:57:08 |
Brian Murray |
tags |
amd64 apport-bug patch utopic verification-needed |
amd64 apport-bug patch utopic verification-failed |
|
2015-03-06 00:51:57 |
Nobuto Murata |
etckeeper (Ubuntu Utopic): status |
Fix Committed |
Confirmed |
|
2015-04-03 10:18:19 |
Sebastien Bacher |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2015-04-03 11:54:42 |
Launchpad Janitor |
etckeeper (Ubuntu): status |
Confirmed |
Fix Released |
|
2015-04-15 20:25:02 |
Chris J Arges |
etckeeper (Ubuntu Utopic): status |
Confirmed |
Fix Committed |
|
2015-04-15 20:25:07 |
Chris J Arges |
tags |
amd64 apport-bug patch utopic verification-failed |
amd64 apport-bug patch utopic |
|
2015-04-15 20:25:09 |
Chris J Arges |
tags |
amd64 apport-bug patch utopic |
amd64 apport-bug patch utopic verification-needed |
|
2015-04-16 07:56:58 |
Hilario J. Montoliu (hjmf) |
tags |
amd64 apport-bug patch utopic verification-needed |
amd64 apport-bug patch utopic verification-done |
|
2015-04-29 13:00:37 |
Launchpad Janitor |
etckeeper (Ubuntu Utopic): status |
Fix Committed |
Fix Released |
|
2015-04-29 13:00:41 |
Chris J Arges |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|