[Bugs] [Bug 1331938] glusterfsd: return actual exit status on mount process
bugzilla at redhat.com
bugzilla at redhat.com
Mon May 2 11:30:14 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1331938
--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14129 committed in release-3.7 by Raghavendra
G (rgowdapp at redhat.com)
------
commit f58fb8821d1c5d96a8f1eb83930a33a4379196e2
Author: Prasanna Kumar Kalever <prasanna.kalever at redhat.com>
Date: Sat Apr 30 14:59:26 2016 +0530
glusterfsd: fix to return actual exit status on mount process
Problem:
Currently, we always exit mount process with the pid as the exit number
which is return value of the waitpid(), it is not the exit value of the
child process
Solution:
Extract the actual exit code/status in case if the child terminated
normally,
that is, by calling exit(3) or _exit(2), or by returning from main()
Backport of:
> Change-Id: Iefec6e27b5a5a98a22f016e49967978853662e37
> BUG: 1331042
> Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever at redhat.com>
> Reviewed-on: http://review.gluster.org/14094
> Tested-by: Prasanna Kumar Kalever <pkalever at redhat.com>
> Smoke: Gluster Build System <jenkins at build.gluster.com>
> NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
> CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
> Reviewed-by: Raghavendra Talur <rtalur at redhat.com>
> Reviewed-by: Jeff Darcy <jdarcy at redhat.com>
Change-Id: Ib9fd878461b0b409c9d55d526cf60d7276c31775
BUG: 1331938
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever at redhat.com>
Reviewed-on: http://review.gluster.org/14129
Tested-by: Prasanna Kumar Kalever <pkalever at redhat.com>
Smoke: Gluster Build System <jenkins at build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
Reviewed-by: Raghavendra G <rgowdapp 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=AT45rBiMaw&a=cc_unsubscribe
More information about the Bugs
mailing list