diff options
author | Yoshiki Iguchi <yoshiki@google.com> | 2020-07-29 11:01:33 +0900 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-03 03:00:59 +0000 |
commit | 75f9a6f3f931e8ab5dd0964ce1a0724953b7a4dd (patch) | |
tree | d99294c15db88945284f5540e4a981ab6723fdcb | |
parent | 9e0cdc10a93848567cf82e3ac7fa28fde97720e9 (diff) | |
download | adhd-75f9a6f3f931e8ab5dd0964ce1a0724953b7a4dd.tar.gz |
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 <cychiang@chromium.org>
Reviewed-by: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Commit-Queue: Yoshiki Iguchi <yoshiki@chromium.org>
Tested-by: Yoshiki Iguchi <yoshiki@chromium.org>
-rw-r--r-- | init/cras.sh | 1 | ||||
-rw-r--r-- | sound_card_init/sound_card_init.conf | 2 |
2 files changed, 0 insertions, 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/ \ |