lsb calls to usplash_write should fail silently
Bug #251656 reported by
Dustin Kirkland
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usplash (Ubuntu) |
Fix Released
|
Undecided
|
Dustin Kirkland |
Bug Description
Binary package hint: lsb
Init scripts, as well as other LSB-using scripts can be executed by non-privileged user. In such cases, the non-privileged user trying to execute usplash_write will yield an error message like:
open: Permission denied
For example, in Intrepid, as a non-root user, run:
# /etc/init.d/ssh status
open: Permission denied
* sshd is running.
This can be noisy and distracting, and in almost all cases, this is not a useful error message to that user.
:-Dustin
Related branches
To post a comment you must log in.
Patch attached.
Colin previously suggested that this could be handled in usplash itself. I have that patch as well, but I would thing that this approach (patching callers of usplash_write) would be preferred.
Please review, and advise.
:-Dustin