Path to this page:
Subject: CVS commit: pkgsrc/sysutils/salt
From: Pierre Pronchery
Date: 2016-02-16 02:52:34
Message id: 20160216015234.5346DFBB7@cvs.NetBSD.org
Log Message:
Avoid a crash on NetBSD when not every minion is present
From the pull request pending, #31320:
On NetBSD, Salt currently defaults to using lsof(8) to determine which
minions are connected. It is however not always available, and even
then quite unreliable. I found that just like on FreeBSD, sockstat(1)
is a much safer alternative. Unfortunately its output is not exactly
the same on NetBSD, where the port delimiter is a dot character
instead. As a consequence I have decided to duplicate the relevant
function for NetBSD; let me know if I should try to re-use the code
supporting FreeBSD instead.
See also https://github.com/saltstack/salt/pull/31230.
Files: