[DSE-Dev] Bug#981629: selinux-utils: /usr/sbin/sefcontext_compile needs execmem on riscv
Russell Coker
russell at coker.com.au
Tue Feb 2 10:24:00 GMT 2021
Package: selinux-utils
Version: 3.1-2+b2
Severity: normal
gdb /sbin/sefcontext_compile
...
(gdb) r
Starting program: /usr/sbin/sefcontext_compile
/usr/sbin/sefcontext_compile: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
[Inferior 1 (process 1782) exited with code 0177]
(gdb)
This only happens on riscv, I haven't seen it on any other platforms. This is likely to be a bug
in library package but I don't know which one.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: riscv64
Kernel: Linux 5.10.0-2-riscv64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Enforcing - Policy name: default
Versions of packages selinux-utils depends on:
ii libc6 2.31-9
ii libpcre2-8-0 10.36-2
ii libselinux1 3.1-2+b2
ii libsepol1 3.1-1
selinux-utils recommends no packages.
selinux-utils suggests no packages.
-- no debconf information
More information about the SELinux-devel
mailing list