1From 3c57ec558bccc67fd53363c23deea20646be5c47 Mon Sep 17 00:00:00 2001 2From: Tomeu Vizoso <tomeu.vizoso@collabora.com> 3Date: Wed, 17 Nov 2021 10:18:04 +0100 4Subject: [PATCH] Hack syslog out 5 6It's causing stability problems when running several Crosvm instances in 7parallel. 8 9Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> 10--- 11 base/src/unix/linux/syslog.rs | 2 +- 12 common/sys_util/src/linux/syslog.rs | 2 +- 13 2 files changed, 2 insertions(+), 2 deletions(-) 14 15diff --git a/base/src/unix/linux/syslog.rs b/base/src/unix/linux/syslog.rs 16index 05972a3a..f0db3781 100644 17--- a/base/src/unix/linux/syslog.rs 18+++ b/base/src/unix/linux/syslog.rs 19@@ -35,7 +35,7 @@ pub struct PlatformSyslog { 20 impl Syslog for PlatformSyslog { 21 fn new() -> Result<Self, Error> { 22 Ok(Self { 23- socket: Some(openlog_and_get_socket()?), 24+ socket: None, 25 }) 26 } 27 28diff --git a/common/sys_util/src/linux/syslog.rs b/common/sys_util/src/linux/syslog.rs 29index 05972a3a..f0db3781 100644 30--- a/common/sys_util/src/linux/syslog.rs 31+++ b/common/sys_util/src/linux/syslog.rs 32@@ -35,7 +35,7 @@ pub struct PlatformSyslog { 33 impl Syslog for PlatformSyslog { 34 fn new() -> Result<Self, Error> { 35 Ok(Self { 36- socket: Some(openlog_and_get_socket()?), 37+ socket: None, 38 }) 39 } 40 41-- 422.25.1 43 44