[Bugs] [Bug 1590193] /usr/sbin/gcron.py aborts with OSError

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 18 03:52:11 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1590193

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20236 committed in master by "Amar Tumballi"
<amarts at redhat.com> with a commit message- gcron: catch OSError as well as
IOError

In case os.open() fails because the file does not exist, an OSError is
raised. To prevent the script to abort uncleanly, catch the OSError in
addition to the IOError.

Change-Id: I48e5b23e17d63639cc33db51b4229249a9887880
Fixes: bz#1590193
Signed-off-by: Niels de Vos <ndevos at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=hgR9K0OA3o&a=cc_unsubscribe


More information about the Bugs mailing list