[Bug 1402657] [NEW] etckeeper doesn't commit. Missing executable permissions on /etc/etckeeper/commit.d/50vcs-commit

2014-12-15 Thread Hilario J. Montoliu (hjmf)
Public bug reported:

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)

** Affects: etckeeper (Ubuntu)
 Importance: Undecided
 Status: Confirmed


** Tags: amd64 apport-bug utopic

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1402657

Title:
  etckeeper doesn't commit. Missing executable permissions on
  /etc/etckeeper/commit.d/50vcs-commit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1402657/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1385885] Re: etckeeper (with git) fails to commit any data on fresh utopic install

2014-12-15 Thread Hilario J. Montoliu (hjmf)
*** This bug is a duplicate of bug 1402657 ***
https://bugs.launchpad.net/bugs/1402657

** This bug has been marked a duplicate of bug 1402657
   etckeeper doesn't commit. Missing executable permissions on 
/etc/etckeeper/commit.d/50vcs-commit

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1385885

Title:
  etckeeper (with git) fails to commit any data on fresh utopic install

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1385885/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1402657] Re: etckeeper doesn't commit. Missing executable permissions on /etc/etckeeper/commit.d/50vcs-commit

2014-12-15 Thread Hilario J. Montoliu (hjmf)
The problem with the executable permissions of 50vcs-commit  is also
present in vivid code:

hmontoliu@ulises2:/tmp$ bzr branch lp:ubuntu/vivid-proposed/etckeeper 
etckeeper-vivid-proposed
51 revisiones enramadas 

  
hmontoliu@ulises2:/tmp$ ls -la etckeeper-vivid-proposed/commit.d/
total 40
drwxrwxr-x  2 hmontoliu hmontoliu 4096 dic 15 16:19 .
drwxrwxr-x 16 hmontoliu hmontoliu 4096 dic 15 16:19 ..
-rwxrwxr-x  1 hmontoliu hmontoliu  447 dic 15 16:19 10vcs-test
-rwxrwxr-x  1 hmontoliu hmontoliu  138 dic 15 16:19 30bzr-add
-rwxrwxr-x  1 hmontoliu hmontoliu  302 dic 15 16:19 30darcs-add
-rwxrwxr-x  1 hmontoliu hmontoliu  138 dic 15 16:19 30git-add
-rwxrwxr-x  1 hmontoliu hmontoliu  143 dic 15 16:19 30hg-addremove
-rw-rw-r--  1 hmontoliu hmontoliu 2822 dic 15 16:19 50vcs-commit
-rwxrwxr-x  1 hmontoliu hmontoliu  336 dic 15 16:19 99push
-rw-rw-r--  1 hmontoliu hmontoliu  193 dic 15 16:19 README
hmontoliu@ulises2:/tmp$ bzr branch lp:ubuntu/vivid/etckeeper etckeeper-vivid
Most recent Ubuntu Vivid version: 1.15ubuntu1   

  
Packaging branch status: CURRENT
51 revisiones enramadas 

  
hmontoliu@ulises2:/tmp$ ls -la etckeeper-vivid-proposed/commit.d/
total 40
drwxrwxr-x  2 hmontoliu hmontoliu 4096 dic 15 16:19 .
drwxrwxr-x 16 hmontoliu hmontoliu 4096 dic 15 16:19 ..
-rwxrwxr-x  1 hmontoliu hmontoliu  447 dic 15 16:19 10vcs-test
-rwxrwxr-x  1 hmontoliu hmontoliu  138 dic 15 16:19 30bzr-add
-rwxrwxr-x  1 hmontoliu hmontoliu  302 dic 15 16:19 30darcs-add
-rwxrwxr-x  1 hmontoliu hmontoliu  138 dic 15 16:19 30git-add
-rwxrwxr-x  1 hmontoliu hmontoliu  143 dic 15 16:19 30hg-addremove
-rw-rw-r--  1 hmontoliu hmontoliu 2822 dic 15 16:19 50vcs-commit
-rwxrwxr-x  1 hmontoliu hmontoliu  336 dic 15 16:19 99push
-rw-rw-r--  1 hmontoliu hmontoliu  193 dic 15 16:19 README

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1402657

Title:
  etckeeper doesn't commit. Missing executable permissions on
  /etc/etckeeper/commit.d/50vcs-commit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1402657/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1402657] Re: etckeeper doesn't commit. Missing executable permissions on /etc/etckeeper/commit.d/50vcs-commit

2014-12-15 Thread Hilario J. Montoliu (hjmf)
Proposed fix: ser correct execution permissions of commit.d/50vcs-commit

** Patch added: ser correct execution permissions
   
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1402657/+attachment/4281506/+files/fix-permissions.patch

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1402657

Title:
  etckeeper doesn't commit. Missing executable permissions on
  /etc/etckeeper/commit.d/50vcs-commit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1402657/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1402657] Re: etckeeper doesn't commit. Missing executable permissions on /etc/etckeeper/commit.d/50vcs-commit

2014-12-15 Thread Hilario J. Montoliu (hjmf)
Proposed fix: ser correct execution permissions of commit.d/50vcs-commit

** Patch added: ser correct execution permissions
   
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1402657/+attachment/4281507/+files/fix-permissions.patch

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1402657

Title:
  etckeeper doesn't commit. Missing executable permissions on
  /etc/etckeeper/commit.d/50vcs-commit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1402657/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1402657] Re: etckeeper doesn't commit. Missing executable permissions on /etc/etckeeper/commit.d/50vcs-commit

2014-12-15 Thread Hilario J. Montoliu (hjmf)
Last block should have been:

hmontoliu@ulises2:/tmp$ ls -la etckeeper-vivid/commit.d/
total 40
drwxrwxr-x  2 hmontoliu hmontoliu 4096 dic 15 16:20 .
drwxrwxr-x 16 hmontoliu hmontoliu 4096 dic 15 16:20 ..
-rwxrwxr-x  1 hmontoliu hmontoliu  447 dic 15 16:20 10vcs-test
-rwxrwxr-x  1 hmontoliu hmontoliu  138 dic 15 16:20 30bzr-add
-rwxrwxr-x  1 hmontoliu hmontoliu  302 dic 15 16:20 30darcs-add
-rwxrwxr-x  1 hmontoliu hmontoliu  138 dic 15 16:20 30git-add
-rwxrwxr-x  1 hmontoliu hmontoliu  143 dic 15 16:20 30hg-addremove
-rw-rw-r--  1 hmontoliu hmontoliu 2822 dic 15 16:20 50vcs-commit
-rwxrwxr-x  1 hmontoliu hmontoliu  336 dic 15 16:20 99push
-rw-rw-r--  1 hmontoliu hmontoliu  193 dic 15 16:20 README

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1402657

Title:
  etckeeper doesn't commit. Missing executable permissions on
  /etc/etckeeper/commit.d/50vcs-commit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1402657/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1402657] Re: etckeeper doesn't commit. Missing executable permissions on /etc/etckeeper/commit.d/50vcs-commit

2015-03-30 Thread Hilario J. Montoliu (hjmf)
Hi, sorry for the delay. Just to confirm that the proposed package is
still broken

I've tested the porposed package on utopic

* The fresh install works OK
* The upgrade as stated before doesn't fix the problema

HTH

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1402657

Title:
  etckeeper doesn't commit. Missing executable permissions on
  /etc/etckeeper/commit.d/50vcs-commit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1402657/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1402657] Re: etckeeper doesn't commit. Missing executable permissions on /etc/etckeeper/commit.d/50vcs-commit

2015-04-16 Thread Hilario J. Montoliu (hjmf)
Tags updated to verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1402657

Title:
  etckeeper doesn't commit. Missing executable permissions on
  /etc/etckeeper/commit.d/50vcs-commit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1402657/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1402657] Re: etckeeper doesn't commit. Missing executable permissions on /etc/etckeeper/commit.d/50vcs-commit

2015-04-16 Thread Hilario J. Montoliu (hjmf)
Hello Chris

Tested with utopic-proposed; both upgrade and install fix the problem



** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1402657

Title:
  etckeeper doesn't commit. Missing executable permissions on
  /etc/etckeeper/commit.d/50vcs-commit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/1402657/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs