diff --git a/kiwi/system/root_bind.py b/kiwi/system/root_bind.py index 011b7c25b14..bb5cbc6bdb5 100644 --- a/kiwi/system/root_bind.py +++ b/kiwi/system/root_bind.py @@ -68,6 +68,7 @@ def __init__(self, root_init: RootInit): self.bind_locations = [ '/proc', '/dev', + '/dev/pts', '/var/run/dbus', '/sys' ] diff --git a/test/unit/system/root_bind_test.py b/test/unit/system/root_bind_test.py index 9d5fcd0ec19..dddc7534d4b 100644 --- a/test/unit/system/root_bind_test.py +++ b/test/unit/system/root_bind_test.py @@ -28,6 +28,15 @@ def setup(self): root.root_dir = 'root-dir' self.bind_root = RootBind(root) + # test expected real bind mount locations + assert self.bind_root.bind_locations == [ + '/proc', + '/dev', + '/dev/pts', + '/var/run/dbus', + '/sys' + ] + # stub config files and bind locations self.bind_root.config_files = ['/etc/sysconfig/proxy'] self.bind_root.bind_locations = ['/proc']