Bug#830693: systemd-container: systemd-nspawn says: "Failed to create directory /str/sys/fs/selinux: Read-only file system"
Askar Safin
safinaskar at mail.ru
Sun Jul 10 15:19:21 BST 2016
Package: systemd-container
Version: 230-5
Severity: normal
Steps to reproduce:
Download stretch alpha 7 installer, install it using qemu, then in this fresh scretch system install debootstrap and
systemd-container.
Then run:
# debootstrap stretch /str http://10.0.2.2:3142/debian
(URL here is just my local APT caching mirror, of course you can replace it with something else)
# systemd-nspawn -D /str
You will see:
root at debian:~# systemd-nspawn -D /str
Spawning container str on /str.
Press ^] three times within 1s to kill container.
Failed to create directory /str/sys/fs/selinux: Read-only file system
Failed to create directory /str/sys/fs/selinux: Read-only file system
root at str:~#
I. e. we see here some complains about "Read-only file system".
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.6.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages systemd-container depends on:
ii libacl1 2.2.52-3
ii libblkid1 2.28-5
ii libbz2-1.0 1.0.6-8
ii libc6 2.22-13
ii libcurl3-gnutls 7.47.0-1
ii libgcrypt20 1.7.1-2
ii liblzma5 5.1.1alpha+20120614-2.1
ii libseccomp2 2.3.1-2
ii libselinux1 2.5-3
ii systemd 230-5
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages systemd-container recommends:
ii btrfs-progs 4.5.2-1
ii libnss-mymachines 230-5
systemd-container suggests no packages.
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list