From f56031ac7651f034e756738303cab136e1fb31a1 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Tue, 13 Jun 2017 14:29:42 -0700 Subject: [PATCH 1/2] profiles: Enable asynchronous DNS via pthreads Synchronous DNS uses SIGALARM-based timeouts, which can cause crashes in some applications. This change is specifically prompted by by way of but probably a good thing to do anyway. --- .../third_party/coreos-overlay/profiles/coreos/base/package.use | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use index d3008108ef..6ab37f4151 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use @@ -20,7 +20,7 @@ media-libs/gd png media-libs/libmtp -crypt # We don't want any driver/hw rendering on the host media-sound/alsa-utils -libsamplerate minimal -net-misc/curl kerberos +net-misc/curl kerberos threads net-misc/iputils arping traceroute sci-geosciences/gpsd -cxx sys-devel/gettext -git From a5e81ed9b8154c21bad4baf7f85cba0530f3bdcc Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Tue, 13 Jun 2017 14:37:09 -0700 Subject: [PATCH 2/2] profiles: Enable lsof +-M and -Z flags -Z reports SELinux contexts. +M reports portmapper registrations; -M is the default. +-M is not very useful, but mayday passes -M, and fails to record lsof output when that option is not supported. --- .../coreos-overlay/profiles/coreos/base/package.use | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use index 6ab37f4151..6dac7c3e0f 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use @@ -85,3 +85,6 @@ sys-fs/quota rpc # Don't bother building portage w/xattr, we don't need XATTR_PAX sys-apps/portage -xattr + +# Enable -M and -Z flags; -M is used by mayday +sys-process/lsof rpc selinux