[Bug 811476] [NEW] hangs while running etckeeper

Rob Walker rob at tenfoot.org.uk
Sat Jul 16 11:31:48 UTC 2011


Public bug reported:

I have etckeeper installed to track changes to /etc using git.

After applying updates in kpackagekit, it hangs with the progress window
at 100% with the action "Committing changes"

Looking at the running processes, I see this:

 4786  1233 root     ?        Sl     0:06 /usr/lib/packagekit/packagekitd
 4920  4920 root     pts/2    Ss+    0:00  \_ /usr/lib/packagekit/packagekitd
29854  4920 root     pts/2    S+     0:00      \_ /usr/lib/packagekit/packagekitd
29855  4920 root     pts/2    S+     0:00          \_ sh -c if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; fi
29856  4920 root     pts/2    S+     0:00              \_ /bin/sh /usr/bin/etckeeper post-install
29859  4920 root     pts/2    S+     0:00                  \_ /bin/sh /etc/etckeeper/post-install.d/50vcs-commit
29866  4920 root     pts/2    S+     0:00                      \_ /bin/sh /usr/bin/etckeeper commit --stdin
29887  4920 root     pts/2    S+     0:00                          \_ /bin/sh /etc/etckeeper/commit.d/50vcs-commit --stdin
29895  4920 root     pts/2    S+     0:00                              \_ git commit -F /tmp/etckeeper-git.tP2X3IaUpT

git log in /etc shows that the commit has been made sucessfully - the
most recent commit has the right date and the list of changes is what
has just been updated.

strace on the stalled git process shows:

[root at linchpin /etc <master>]# strace -p 29895
Process 29895 attached - interrupt to quit
write(1, "[master 82c5deb] committing chan"..., 490

Which suggests that nothing is reading from the stdout of the post
install hooks

kpackagekit version is: 0.6.3.3-0ubuntu2
packagekit is: 0.6.11-2ubuntu3
etckeeper is: 0.52ubuntu1

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: kpackagekit 0.6.3.3-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sat Jul 16 12:22:47 2011
ProcEnviron:
 LANGUAGE=
 LC_COLLATE=C
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: kpackagekit
UpgradeStatus: Upgraded to natty on 2011-05-04 (72 days ago)

** Affects: kpackagekit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug natty

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kpackagekit in Ubuntu.
https://bugs.launchpad.net/bugs/811476

Title:
  hangs while running etckeeper

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




More information about the kubuntu-bugs mailing list