Le 25/02/2018 à 23:59, Michael Biebl a écrit :
Am 25.02.2018 um 23:22 schrieb Pascal Hambourg:
This a follow-up to bug #855798 "udev: MemoryDenyWriteExecute=yes should
not be applied to udev plugins" which was closed because the affected
program was not part of Debian. Now it seems that gzip is also affected
by MemoryDenyWriteExecute=yes when run by udev on i386.
Context:
VT console events trigger a rule in
/lib/udev/rules.d/90-console-setup.rules which runs
/etc/console-setup/cached_setup_font.sh. This script runs setfont to set
the configured console font. setfont calls gzip to uncompress the
.psf.gz (cached_Lat15-Fixed16.psf.gz in my case) font file but gzip
fails. So the console font is not set at boot time.
(...)
I think this should be filed against console-setup. It really should use
a dedicated service to run its setup routine and not directly call
complex shell scripts directly from udev via
RUN+="/etc/console-setup/cached_setup_font.sh"
See SYSTEMD_WANTS (man systemd.device).
This sounds nice, but it would work only on installations with systemd
as the init system, wouldn't it ?