Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#57516 - Unable to start or create new debian wheezy lxc containers with kernel 4.15

Attached to Project: Arch Linux
Opened by leguan (leguan) - Thursday, 15 February 2018, 09:58 GMT
Last edited by Jan de Groot (JGC) - Thursday, 15 February 2018, 10:27 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

With the update to kernel 4.15.3-1 i cannot start an existing debian wheezy lxc container or create a new one, both works on the same host machine with kernel 4.14.19-1 lts without problems.
I use this debian lxc container for months without any problems (until update to 4.15 kernel).
Starting and creating debian jessie containers seems to work.
I also checked the filesystem but there are no errors.
The logfile /var/log/fsck/checkfs is empty.
I also cleared the /var/cache/lxc/debian/ folder to download a new rootfs, but the problems are still existing.
This user seems to have the same problem: https://serverfault.com/questions/896524/how-to-fix-filesystem-of-a-lxc-container


Output when trying to start an existing container:

user@pc ~ $ sudo lxc-start -n debian-wheezy -F
INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
Cleaning up temporary files... /tmp.
Mount point '/proc/sysrq-trigger' does not exist. Skipping mount. ... (warning).
Mount point '/dev/console' does not exist. Skipping mount. ... (warning).
Mount point '/dev/ptmx' does not exist. Skipping mount. ... (warning).
Mount point '/dev/tty1' does not exist. Skipping mount. ... (warning).
Mount point '/dev/tty2' does not exist. Skipping mount. ... (warning).
Mount point '/dev/tty3' does not exist. Skipping mount. ... (warning).
Mount point '/dev/tty4' does not exist. Skipping mount. ... (warning).
Activating lvm and md swap...done.
Checking file systems...Segmentation fault (core dumped)
failed (code 139).
File system check failed. A log is being saved in /var/log/fsck/checkfs if that location is writable. Please repair the file system manually. ... failed!
A maintenance shell will now be started. CONTROL-D will terminate this shell and resume system boot. ... (warning).
Give root password for maintenance
(or type Control-D to continue): %


Output when trying to create a new container:

user@pc ~ $ sudo lxc-create -t debian -n debian-wheezy-test -- -r wheezy
debootstrap ist /usr/bin/debootstrap
Checking cache download in /var/cache/lxc/debian/rootfs-wheezy-amd64 ...
Copying rootfs to /var/lib/lxc/debian-wheezy-test/rootfs...Generating locales (this might take a while)...
de_DE.UTF-8... done
de_DE.UTF-8... done
Generation complete.
/usr/share/lxc/templates/lxc-debian: Zeile 68: 1807 Speicherzugriffsfehler (Speicherabzug geschrieben) chroot "$rootfs" update-locale LANG="$LANG"
/usr/share/lxc/templates/lxc-debian: Zeile 68: 1810 Speicherzugriffsfehler (Speicherabzug geschrieben) chroot "$rootfs" /usr/sbin/update-rc.d -f checkroot.sh disable
/usr/share/lxc/templates/lxc-debian: Zeile 68: 1818 Speicherzugriffsfehler (Speicherabzug geschrieben) chroot "$rootfs" /usr/sbin/update-rc.d -f umountfs disable
/usr/share/lxc/templates/lxc-debian: Zeile 68: 1825 Speicherzugriffsfehler (Speicherabzug geschrieben) chroot "$rootfs" /usr/sbin/update-rc.d -f hwclock.sh disable
/usr/share/lxc/templates/lxc-debian: Zeile 68: 1832 Speicherzugriffsfehler (Speicherabzug geschrieben) chroot "$rootfs" /usr/sbin/update-rc.d -f hwclockfirst.sh disable
/usr/share/lxc/templates/lxc-debian: Zeile 68: 1843 Speicherzugriffsfehler (Speicherabzug geschrieben) DPKG_MAINTSCRIPT_PACKAGE=openssh DPKG_MAINTSCRIPT_NAME=postinst chroot "$rootfs" /var/lib/dpkg/info/openssh-server.postinst configure
sed: /var/lib/lxc/debian-wheezy-test/rootfs/etc/ssh/ssh_host_*.pub kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 15 February 2018, 10:27 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#57336 

Loading...