[DSE-Dev] Bug#1042756: policycoreutils: Should use -T0 when doing autorelabel
Russell Coker
russell at coker.com.au
Mon Jul 31 12:34:40 BST 2023
Package: policycoreutils
Version: 3.5-1
Severity: normal
Tags: patch
THREADS=""
The script /sbin/fixfiles has a line like the above, it should be changed to
one like the below to use all cores on a modern system and speed up operation
by a factor of 3 or mroe.
THREADS="-T0"
On some platforms such as Mobian it doesn't display when it's doing a relabel
so the user is left wondering what's going on, having it run faster is always
good but is especially good when the user might think the system has crashed
and reboot before it ends.
There may be a bug in Mobian regarding boot messages, but there are other
situations where the user might not realise what's happening.
-- System Information:
Debian Release: 12.1
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-10-amd64 (SMP w/18 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
More information about the SELinux-devel
mailing list