Bug#969727: xserver-xorg-legacy: Can't exec "/tmp/xserver-xorg-legacy.config.0IFhGT": Permission denied at /usr/share/perl/5.28/IPC/Open3.pm line 178. Fails to run from /tmp when /tmp is mounted with noexec.
Package: xserver-xorg-legacy
Version: 2:1.20.4-1+deb10u1
Severity: important
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
I did: sudo apt upgrade and in the output i saw this errors: Can't exec
"/tmp/xserver-xorg-legacy.config.0IFhGT": Permission denied at
/usr/share/perl/5.28/IPC/Open3.pm line 178.
open2: exec of /tmp/xserver-xorg-legacy.config.0IFhGT configure 2:1.20.4-1
failed: Permission denied at /usr/share/perl5/Debconf/ConfModule.pm line 59.
The problem occurs because i've setup /tmp with noexec so it cannot run
scripts from the /tmp directory. I expect the scripts to be placed in some
other directory so there will be no issues for further upgrades.
Thank you in advance!
-- System Information:
Debian Release: 10.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-10-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8), LANGUAGE=en_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages xserver-xorg-legacy depends on:
ii debconf [debconf-2.0] 1.5.71
ii libaudit1 1:2.8.4-3
ii libbsd0 0.9.1-2
ii libc6 2.28-10
ii xserver-common 2:1.20.4-1+deb10u1
xserver-xorg-legacy recommends no packages.
xserver-xorg-legacy suggests no packages.
-- debconf information:
xserver-xorg-legacy/xwrapper/allowed_users: Console Users Only
xserver-xorg-legacy/xwrapper/actual_allowed_users: console
Reply to: