does not check all required locks in is_package_system_locked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-system-service (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt | ||
Lucid |
Fix Released
|
Medium
|
Michael Vogt |
Bug Description
Binary package hint: ubuntu-
The dbus call for "is_package_
This can lead to update-notifier (that uses this interface) to auto-opening update-manager when there is
a package management operation already in progress. Its a bit of a corner case as most package managers
take /var/lib/dpkg/lock (and that is already tested). But should be fixed nevertheless.
TEST CASE:
1. use lucid and log into desktop
2. open two terminals
3. run "while true; do apt-get update; done" in the first
4. run "killall update-notifier; NO_FAKE_STAT=1 faketime -f +10d update-notifier" and verify that update-manager opens
5. close the terminals
6. install new ubuntu-
7. run "gconftool --unset /apps/update-
8. repeat steps 3,4 and verify that update-manager does not open this time
9. close the terminals that was opened in step 3
10. repeat step 4, verify that update-manager now auto-opens
Changed in ubuntu-system-service (Ubuntu Lucid): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → lucid-updates |
assignee: | nobody → Michael Vogt (mvo) |
tags: |
added: verification-failed removed: verification-needed |
tags: | added: testcase |
Fix is uploaded to lucid-proposed.