[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1119654: lxc-start --define lxc.mount.entry doesn't seem to work anymore on loong64



Package: lxc
Version: 1:6.0.5-1
Severity: normal
File: /usr/bin/lxc-start
X-Debbugs-CC: debian-ci@lists.debian.org

Hi,

It seems that since very recently, the lxc containers for ci.debian.net on loong64 (sid) don't mount the shared directory anymore that autopkgtest needs and configures.

loongson@ci-worker-loong64-01:~$ sudo lxc-start --name elbrus --daemon --define "lxc.mount.entry=/tmp/autopkgtest-lxc.xn_rqv6m tmp/autopkgtest-lxc.xn_rqv6m none bind,create=dir 0 0"
loongson@ci-worker-loong64-01:~$ sudo lxc-attach elbrus
root@elbrus:/# ls -al /tmp
total 0
drwxrwxrwt  6 root root 120 Oct 29 21:29 .
drwxr-xr-x 18 root root 440 Oct 29 21:29 ..
drwxrwxrwt  2 root root  40 Oct 29 21:29 .font-unix
drwxrwxrwt  2 root root  40 Oct 29 21:29 .ICE-unix
drwxrwxrwt  2 root root  40 Oct 29 21:29 .X11-unix
drwxrwxrwt  2 root root  40 Oct 29 21:29 .XIM-unix

I ran the same lxc-start command once with lxc.log.level=0, this is the output:
loongson@ci-worker-loong64-01:~$ sudo cat /tmp/bla
#
# pseudo filter code start
#
# filter for arch loongarch64 (3221225730)
if ($arch == 3221225730)
  # filter for syscall "finit_module" (273) [priority: 65535]
  if ($syscall == 273)
    action ERRNO(1);
  # filter for syscall "open_by_handle_at" (265) [priority: 65535]
  if ($syscall == 265)
    action ERRNO(1);
  # filter for syscall "delete_module" (106) [priority: 65535]
  if ($syscall == 106)
    action ERRNO(1);
  # filter for syscall "init_module" (105) [priority: 65535]
  if ($syscall == 105)
    action ERRNO(1);
  # filter for syscall "kexec_load" (104) [priority: 65535]
  if ($syscall == 104)
    action ERRNO(1);
  # filter for syscall "umount2" (39) [priority: 65533]
  if ($syscall == 39)
    if ($a1.hi32 & 0x00000000 == 0)
      if ($a1.lo32 & 0x00000001 == 1)
        action ERRNO(13);
  # default action
  action ALLOW;
# invalid architecture action
action KILL;
#
# pseudo filter code end
#


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'unreleased')
Architecture: loong64 (loongarch64)

Kernel: Linux 6.16.12+deb14+1-loong64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lxc depends on:
ii  debconf [debconf-2.0]        1.5.91
ii  dnsmasq-base [dnsmasq-base]  2.91-1
ii  iproute2                     6.17.0-1
ii  iptables                     1.8.11-2
ii  libapparmor1                 4.1.0-1
ii  libc6                        2.41-12
ii  libcap2                      1:2.75-10+b1
ii  libdbus-1-3                  1.16.2-2
ii  libgcc-s1                    15.2.0-7
ii  liblxc-common                1:6.0.5-1
ii  liblxc1t64                   1:6.0.5-1
ii  libseccomp2                  2.6.0-2
ii  libselinux1                  3.9-2
ii  nftables                     1.1.5-2

Versions of packages lxc recommends:
ii  apparmor       4.1.0-1
ii  debootstrap    1.0.141
ii  dirmngr        2.4.8-4
ii  distrobuilder  3.2-4
ii  gnupg          2.4.8-4
ii  libpam-cgfs    1:6.0.5-1
ii  lxcfs          6.0.5-2
ii  openssl        3.5.4-1
ii  rsync          3.4.1+ds1-6
ii  uidmap         1:4.18.0-2
ii  wget           1.25.0-2

Versions of packages lxc suggests:
ii  btrfs-progs    6.17-1
pn  lvm2           <none>
ii  lxc-templates  3.0.4.89.gc128b96-1
pn  python3-lxc    <none>

-- Configuration Files:
/etc/default/lxc-net changed:
USE_LXC_BRIDGE="true"
LXC_ADDR="10.0.0.1"
LXC_NETMASK="255.255.0.0"
LXC_NETWORK="10.0.0.0/16"
LXC_DHCP_RANGE="10.0.0.2,10.0.255.254"
LXC_DHCP_MAX="65533" # 256**2 - 3

loongson@ci-worker-loong64-01:~$ sudo cat /etc/lxc/default.conf
lxc.net.0.type = veth
lxc.net.0.link = lxcbr0
lxc.net.0.flags = up

lxc.apparmor.profile = generated
lxc.apparmor.allow_nest

-- debconf information:
  lxc/auto_update_config:

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: