[ovs-git] [openvswitch/ovs] c7b8a9: daemon-unix: Use same name for original or restart...
GitHub
noreply at github.com
Thu Sep 6 18:03:23 UTC 2018
Branch: refs/heads/branch-2.8
Home: https://github.com/openvswitch/ovs
Commit: c7b8a932b6d2df69608621fbe3b06adb1ae9657c
https://github.com/openvswitch/ovs/commit/c7b8a932b6d2df69608621fbe3b06adb1ae9657c
Author: Ben Pfaff <blp at ovn.org>
Date: 2018-09-06 (Thu, 06 Sep 2018)
Changed paths:
M lib/daemon-unix.c
Log Message:
-----------
daemon-unix: Use same name for original or restarted children.
Linux has an idea of process name that is visible in /proc/$pid/comm. This
is "ovs-vswitchd" for a freshly started ovs-vswitchd process. When the
monitor code restarted a crash child, it changed it to the empty string.
This confused the daemon_is_running check in ovs-lib.in, which checks
comm. This commit fixes the problem by setting the program name as comm
in newly restarted children.
VMware-BZ: #2191724
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Gurucharan Shetty <guru at ovn.org>
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the git
mailing list