logaricheck crash on Permission denied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
logaricheck (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Stéphane Graber | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
When running logaricheck as a user (nagios) logaricheck crash when it's not able to read a mount point.
[Test Case]
login to a desktop as a user to have a gvfs mounted on the system and run the command
root@server:~# sudo -u nagios /usr/lib/
Traceback (most recent call last):
File "/usr/lib/
cmd.engage()
File "/usr/lib/
getattr(
File "/usr/lib/
return self.check_
File "/usr/lib/
for fsinfo in get_all_
File "/usr/lib/
fs = FileSystemInfo(
File "/usr/lib/
statvfs_result = os.statvfs(
OSError: [Errno 13] Permission denied: '/home/
Apply patch #17 and it solves the problem
http://
[Regression Potential]
May hide other errors
Changed in logaricheck (Ubuntu Precise): | |
status: | New → In Progress |
assignee: | nobody → Stéphane Graber (stgraber) |
Status changed to 'Confirmed' because the bug affects multiple users.