xdg-screensaver blocks unmounting with sleep 50
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xdg-utils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu 12.04.1 LTS
Release: 12.04
xdg-utils: Installed: 1.1.0~rc1-2ubuntu6
If using a program that calls the screensaver_
This is easy enough to bypass, while preserving the same functionality, if we can simply change the last line of that function from:
(while [ -f "$screensaver_file" ]; do $*; sleep 50; done) > /dev/null 2> /dev/null &
to:
(cd /; while [ -f "$screensaver_file" ]; do $*; sleep 50; done) > /dev/null 2> /dev/null &
Changing to the root directory prevents it from blocking the unmount. And this shouldn't affect anything else since that line is a background loop.
Status changed to 'Confirmed' because the bug affects multiple users.