hangs while running etckeeper

Bug #811476 reported by Rob Walker
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
packagekit (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

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@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)

Revision history for this message
Rob Walker (rob-tenfoot) wrote :
Changed in kpackagekit (Ubuntu):
status: New → Confirmed
affects: kpackagekit (Ubuntu) → packagekit (Ubuntu)
Revision history for this message
Matthias Klumpp (ximion) wrote :

This one is already fixed in newer version of PackageKit :)
You'll get the changes with Oneiric.
Thank you for this very good bug report!

Changed in packagekit (Ubuntu):
status: Confirmed → Fix Released
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.