Package: debci
Version: 2.11
Severity: normal

Dear Maintainer,

I intended to set up an armhf lxc container by running

        debci setup -a armhf

as root on my amd64 system. The installation process terminated with

[...]
Timed out waiting for container to boot
lxc-stop: autopkgtest-unstable-armhf.new: tools/lxc_stop.c: main: 191
autopkgtest-unstable-armhf.new is not running
lxc-destroy: autopkgtest-unstable-armhf.new: tools/lxc_destroy.c: main: 271
Destroyed container autopkgtest-unstable-armhf.new


In /var/log/syslog I encountered these lines probably of relevance

Apr 26 17:16:25 e580sg kernel: [14086.041927] audit: type=1400
audit(1587914185.032:51): apparmor="STATUS" operation="profile_load"
profile="/usr/bin/lxc-start" name="lxc-autopkgtest-unstable-armhf.new_</var/lib
/lxc>" pid=88028 comm="apparmor_parser"
Apr 26 17:16:25 e580sg NetworkManager[686]: <info>  [1587914185.0606] manager:
(vethSB9884): new Veth device (/org/freedesktop/NetworkManager/Devices/22)
Apr 26 17:16:25 e580sg kernel: [14086.064571] br0: port 2(vethS5LJSK) entered
blocking state
Apr 26 17:16:25 e580sg kernel: [14086.064573] br0: port 2(vethS5LJSK) entered
disabled state
Apr 26 17:16:25 e580sg kernel: [14086.064617] device vethS5LJSK entered
promiscuous mode
Apr 26 17:16:25 e580sg kernel: [14086.064692] br0: port 2(vethS5LJSK) entered
blocking state
Apr 26 17:16:25 e580sg kernel: [14086.064693] br0: port 2(vethS5LJSK) entered
forwarding state
Apr 26 17:16:25 e580sg kernel: [14086.066265] br0: port 2(vethS5LJSK) entered
disabled state
Apr 26 17:16:25 e580sg systemd-udevd[88029]: ethtool: autonegotiation is unset
or enabled, the speed and duplex are not writable.
Apr 26 17:16:25 e580sg NetworkManager[686]: <info>  [1587914185.0618] manager:
(vethS5LJSK): new Veth device (/org/freedesktop/NetworkManager/Devices/23)
Apr 26 17:16:25 e580sg systemd-udevd[88029]: Using default interface naming
scheme 'v245'.
Apr 26 17:16:25 e580sg systemd-udevd[88029]: Could not set Alias=, MACAddress=
or MTU= on vethSB9884: No such device
Apr 26 17:16:25 e580sg systemd-udevd[88029]: vethSB9884: Could not apply link
config, ignoring: No such device
Apr 26 17:16:25 e580sg systemd-udevd[88030]: ethtool: autonegotiation is unset
or enabled, the speed and duplex are not writable.
Apr 26 17:16:25 e580sg systemd-udevd[88030]: Using default interface naming
scheme 'v245'.
Apr 26 17:16:25 e580sg kernel: [14086.092692] eth0: renamed from vethSB9884
Apr 26 17:16:25 e580sg gnome-shell[2393]: Removing a network device that was
not added
Apr 26 17:16:25 e580sg NetworkManager[686]: <info>  [1587914185.1205] device
(vethS5LJSK): carrier: link connected
Apr 26 17:16:25 e580sg NetworkManager[686]: <info>  [1587914185.1209] device
(br0): carrier: link connected
Apr 26 17:16:25 e580sg kernel: [14086.124443] IPv6: ADDRCONF(NETDEV_CHANGE):
eth0: link becomes ready
Apr 26 17:16:25 e580sg kernel: [14086.124480] IPv6: ADDRCONF(NETDEV_CHANGE):
vethS5LJSK: link becomes ready
Apr 26 17:16:25 e580sg kernel: [14086.124553] br0: port 2(vethS5LJSK) entered
blocking state
Apr 26 17:16:25 e580sg kernel: [14086.124555] br0: port 2(vethS5LJSK) entered
forwarding state
Apr 26 17:16:25 e580sg kernel: [14086.152175] audit: type=1400
audit(1587914185.144:52): apparmor="DENIED" operation="mount" info="failed
flags match" error=-13 profile="/usr/bin/lxc-start" name="/proc/sys/kerne
l/random/boot_id" pid=88031 comm="lxc-start" srcname="/dev/.lxc-boot-id"
flags="rw, bind"
Apr 26 17:16:25 e580sg kernel: [14086.154374] Not activating Mandatory Access
Control as /sbin/tomoyo-init does not exist.
Apr 26 17:16:25 e580sg kernel: [14086.248964] br0: port 2(vethS5LJSK) entered
disabled state
Apr 26 17:16:25 e580sg kernel: [14086.250781] device vethS5LJSK left
promiscuous mode
Apr 26 17:16:25 e580sg kernel: [14086.250785] br0: port 2(vethS5LJSK) entered
disabled state
Apr 26 17:16:25 e580sg NetworkManager[686]: <info>  [1587914185.2731] device
(vethS5LJSK): released from master device br0
Apr 26 17:16:25 e580sg gnome-shell[2393]: Removing a network device that was
not added
Apr 26 17:16:25 e580sg kernel: [14086.394930] audit: type=1400
audit(1587914185.384:53): apparmor="STATUS" operation="profile_remove"
profile="/usr/bin/lxc-start" name="lxc-autopkgtest-unstable-
armhf.new_</var/lib/lxc>" pid=88076 comm="apparmor_parser"

These are the installed qemu packages

$ LANG=C dpkg -l 'qemu-*' | grep -v '^un'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                     Version        Architecture Description
+++-========================-==============-============-======================================================================
ii  qemu-efi-aarch64         0.0~20200229-2 all          UEFI firmware for
64-bit ARM virtual machines
ii  qemu-efi-arm             0.0~20200229-2 all          UEFI firmware for
32-bit ARM virtual machines
ii  qemu-kvm                 1:4.2-6        amd64        QEMU Full
virtualization on x86 hardware
ii  qemu-system              1:4.2-6        amd64        QEMU full system
emulation binaries
ii  qemu-system-arm          1:4.2-6        amd64        QEMU full system
emulation binaries (arm)
ii  qemu-system-common       1:4.2-6        amd64        QEMU full system
emulation binaries (common files)
ii  qemu-system-data         1:4.2-6        all          QEMU full system
emulation (data files)
ii  qemu-system-gui          1:4.2-6        amd64        QEMU full system
emulation binaries (user interface and audio support)
ii  qemu-system-mips         1:4.2-6        amd64        QEMU full system
emulation binaries (mips)
ii  qemu-system-misc         1:4.2-6        amd64        QEMU full system
emulation binaries (miscellaneous)
ii  qemu-system-ppc          1:4.2-6        amd64        QEMU full system
emulation binaries (ppc)
ii  qemu-system-sparc        1:4.2-6        amd64        QEMU full system
emulation binaries (sparc)
ii  qemu-system-x86          1:4.2-6        amd64        QEMU full system
emulation binaries (x86)
ii  qemu-user-static         1:4.2-6        amd64        QEMU user mode
emulation binaries (static version)
ii  qemu-utils               1:4.2-6        amd64        QEMU utilities

Building armhf packages via pbuilder works flawlessly, so I assume my qemu
setup being functional.

When aborting the installation right before the timeout occurs I can chroot
into the container's rootfs. But lxc-start fails.

Please look into this.

Regards,
Sven



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.5.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debci depends on:
ii  adduser                     3.118
ii  amqp-tools                  0.10.0-1
ii  bsdmainutils                11.1.2+b1
ii  curl                        7.68.0-1
ii  dctrl-tools                 2.24-3+b1
ii  debian-archive-keyring      2019.1
ii  debootstrap                 1.0.123
ii  devscripts                  2.20.2
ii  distro-info                 0.23
ii  fonts-font-awesome          5.0.10+really4.7.0~dfsg-1
ii  jq                          1.6-1
ii  libjs-bootstrap             3.4.1+dfsg-1
ii  libjs-jquery                3.3.1~dfsg-3
ii  libjs-jquery-flot           0.8.3+dfsg-1
ii  moreutils                   0.63-1+b1
ii  netcat-traditional          1.10-41.1+b1
ii  parallel                    20161222-1.1
ii  patchutils                  0.3.4-2+b1
ii  rsync                       3.1.3-8
ii  ruby                        1:2.7+1
ii  ruby-activerecord           2:5.2.4.1+dfsg-2
ii  ruby-bunny                  2.14.4-3
ii  ruby-kaminari-activerecord  1.0.1-5
ii  ruby-pg                     1.1.3-3+b3
ii  ruby-sinatra                2.0.8.1-2
ii  ruby-sinatra-contrib        2.0.8.1-2
ii  ruby-sqlite3                1.4.2-2+b2
ii  ruby-thor                   0.20.3-2
ii  sudo                        1.8.31p1-1

Versions of packages debci recommends:
ii  ntp [time-daemon]  1:4.2.8p14+dfsg-2

Versions of packages debci suggests:
ii  apt-cacher-ng  3.4-1

-- Configuration Files:
/etc/sudoers.d/debci [Errno 13] Keine Berechtigung: '/etc/sudoers.d/debci'

-- no debconf information

Reply via email to