From b01416121f59d48566a0ce6d2cf98a39772424d3 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Tue, 6 Dec 2016 18:04:38 +0100 Subject: [PATCH] appliance: mount also /dev/pts Tools could require the use of pseudo-terminals, so make sure we have /dev/pts available in the appliance. The "command" API already bind-mounts it when running commands, so this is the only bit needed. --- appliance/init | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appliance/init b/appliance/init index e678e42b6..8be27a295 100755 --- a/appliance/init +++ b/appliance/init @@ -72,6 +72,8 @@ fi # devtmpfs is required since udev 176 mount -t devtmpfs /dev /dev +mkdir -p /dev/pts +mount -t devpts /dev/pts /dev/pts if [[ $cmdline == *selinux=1* ]]; then mount -t selinuxfs none /sys/fs/selinux