hangs while running etckeeper
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/
4920 4920 root pts/2 Ss+ 0:00 \_ /usr/lib/
29854 4920 root pts/2 S+ 0:00 \_ /usr/lib/
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/
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/
29895 4920 root pts/2 S+ 0:00 \_ git commit -F /tmp/etckeeper-
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
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelMo
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)
Changed in kpackagekit (Ubuntu): | |
status: | New → Confirmed |
affects: | kpackagekit (Ubuntu) → packagekit (Ubuntu) |
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!