Package: user-mode-linux
Version: 5.10um3
Severity: normal
File: /usr/bin/linux.uml

Observed behaviour:

$ linux.uml 
Core dump limits :
        soft - 0
        hard - NONE
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Checking environment variables for a tempdir...none found
Checking if /dev/shm is on tmpfs...OK
Checking PROT_EXEC mmap in /dev/shm...Operation not permitted
/dev/shm must be not mounted noexec
$ 

Expected behaviour: it works, without me having to reconfigure
/dev/shm to a less-secure configuration.

Workaround:

bwrap --dev-bind / / --tmpfs /dev/shm linux.uml ...

FYI I first encountered this with uml from buster,
  4.19-1um-1+deb10u1+b1
but the bug is in sid too.


-- System Information:
Debian Release: 10.10
  APT prefers stable-debug
  APT policy: (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 5.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages user-mode-linux depends on:
ii  libc6  2.28-10

Versions of packages user-mode-linux recommends:
ii  uml-utilities  20070815.2-1

Versions of packages user-mode-linux suggests:
ii  pterm [x-terminal-emulator]           0.75-3
pn  rootstrap                             <none>
pn  slirp                                 <none>
pn  user-mode-linux-doc                   <none>
pn  vde2                                  <none>
ii  xfce4-terminal [x-terminal-emulator]  0.8.7.4-2
ii  xterm [x-terminal-emulator]           344-1+deb10u1

-- no debconf information

Reply via email to