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