From 75f9a6f3f931e8ab5dd0964ce1a0724953b7a4dd Mon Sep 17 00:00:00 2001 From: Yoshiki Iguchi Date: Wed, 29 Jul 2020 11:01:33 +0900 Subject: Remove journald directory binding Since we stopped journald and are about to remove journald, so let me stop bind the journald directory for logging. BUG=chromium:1066706 TEST=None Cq-Depend: chromium:2519644 Change-Id: I69f97b32e0f75841469fb136fd7315c04472d651 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/2324263 Reviewed-by: Cheng-Yi Chiang Reviewed-by: Yu-Hsuan Hsu Commit-Queue: Yoshiki Iguchi Tested-by: Yoshiki Iguchi --- init/cras.sh | 1 - sound_card_init/sound_card_init.conf | 2 -- 2 files changed, 3 deletions(-) diff --git a/init/cras.sh b/init/cras.sh index ca2d6b93..91114c00 100644 --- a/init/cras.sh +++ b/init/cras.sh @@ -48,7 +48,6 @@ exec minijail0 -u cras -g cras -G --uts -v -l \ -k 'tmpfs,/run,tmpfs,MS_NODEV|MS_NOEXEC|MS_NOSUID,mode=755,size=10M' \ -b /run/cras,/run/cras,1 \ -b /run/dbus,/run/dbus,1 \ - -b /run/systemd/journal \ -b /run/udev,/run/udev \ -b /dev,/dev \ -b /dev/shm,/dev/shm,1 \ diff --git a/sound_card_init/sound_card_init.conf b/sound_card_init/sound_card_init.conf index 7ab0211e..15c4db8d 100644 --- a/sound_card_init/sound_card_init.conf +++ b/sound_card_init/sound_card_init.conf @@ -43,7 +43,6 @@ end script # -b: bind / # -k: Get a writeable and empty /run tmpfs path. # -b: need /run/cras to connect cras. -# -b: /run/systemd/journal: needed for syslog. # -b: need /dev to send ioctls to the system's block devices. # -k: empty /sys tmpfs path. # -b: need /sys/firmware/vpd/ro/ access to read the default calibration value in vpd. @@ -62,7 +61,6 @@ exec minijail0 \ -b / \ -k 'tmpfs,/run,tmpfs,MS_NODEV|MS_NOEXEC|MS_NOSUID,mode=755,size=10M' \ -b /run/cras \ - -b /run/systemd/journal \ -b /dev \ -k 'tmpfs,/sys,tmpfs,MS_NODEV|MS_NOEXEC|MS_NOSUID,mode=755,size=10M' \ -b /sys/firmware/vpd/ro/ \ -- cgit v1.2.3