on openvz fails with ioprio_set: Operation not permitted
Bug #331921 reported by
Markus Heberling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-motd (Ubuntu) |
Fix Released
|
Undecided
|
Dustin Kirkland |
Bug Description
Binary package hint: update-motd
I have installed ubuntu on a openv container and it seem that on that particular configuration changing of ionice is not allowed. This leads to failure of the update-motd script.
Uncommenting the line "ionice -c2 -n7 -p $$ >/dev/null" in the update-motd script fixes the issue for me, but maybe there is a better way.
Related branches
To post a comment you must log in.
Hi Markus, thanks for the report.
One thing I'm unclear about...
The line "ionice -c2 -n7 -p $$ >/dev/null" is not commented in the source code.
How did yours become commented? Could you remove update-motd, and then add it back, and see if you can reproduce the problem?
:-Dustin