Vinzenz Feenstra has submitted this change and it was merged.
Change subject: Handle exceptions on reading package lists
......................................................................
Handle exceptions on reading package lists
In some cases it might be possible that the package database
is not accessible to non-privileged users.
This patch handles and logs this issue and prevents the exception
from stopping the guest agent thread with an unhandled exception.
Change-Id: Id44210235a3bd8fadf91cb919896c1abe8b4c250
Bug-Url:
https://bugzilla.redhat.com/1117632
Signed-off-by: Vinzenz Feenstra <vfeenstr(a)redhat.com>
---
M ovirt-guest-agent/GuestAgentLinux2.py
1 file changed, 7 insertions(+), 4 deletions(-)
Approvals:
Martin Betak: Looks good to me, but someone else must approve
Vinzenz Feenstra: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/30062
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id44210235a3bd8fadf91cb919896c1abe8b4c250
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-guest-agent
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <vfeenstr(a)redhat.com>
Gerrit-Reviewer: Martin Betak <mbetak(a)redhat.com>
Gerrit-Reviewer: Michal Skrivanek <mskrivan(a)redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeenstr(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server