1
0
Fork 0
forked from mirror/openwrt
openwrt/package
Petr Štetiar 5809bfaaac busybox: fix login applet on selinux
Currently the system boots up, but is unusable because pressing enter
does not provide login with error:

  login: can't get SID for root

This is happenning, because login.c passes the Linux username directly
to get_default_context(), while libselinux expects an SELinux user
identity, causing the call to fail for users without a matching SELinux
name (e.g., root) and aborting login on SELinux-enabled systems.

Fixes: #19075
Upstream-Status: Submitted [https://lists.busybox.net/pipermail/busybox/2025-April/091407.html]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Link: https://github.com/openwrt/openwrt/pull/19080
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-07-26 18:22:30 +02:00
..
base-files base-files: introduce a function to get kernel version number 2025-07-14 22:30:20 +02:00
boot uboot-mediatek: restore Ethernet PHY drivers 2025-07-19 20:41:56 +01:00
devel perf: fix build on mips 2025-07-17 20:53:19 +02:00
firmware wireless-regdb: Update to version 2025.07.10 2025-07-21 23:18:17 +02:00
kernel kernel: kmod-fs-nfs-v4: Package nfs_layout*.ko files 2025-07-26 01:11:20 +02:00
libs gettext-full: update to 0.24.1 2025-07-26 14:38:09 +02:00
network nftables: remove usage of autoreconf 2025-07-26 14:38:09 +02:00
system ca-certificates: Update to 20250419 2025-07-21 23:41:34 +02:00
utils busybox: fix login applet on selinux 2025-07-26 18:22:30 +02:00
Makefile package: rework contents of package index.json 2025-06-11 16:55:31 +02:00