Red Hat Bugzilla – Bug 190534
Bugs in id and ps for SE Linux
Last modified: 2007-11-30 17:11:31 EST
Description of problem:
"id -Z" and "ps -Z" don't work, The attached patch fixes them.
This patch however permits "id -uZ" to work in spite of the fact that I have
used what appears to be the correct syntax of bb_opt_complementaly to prevent
that combination. In spite of this bug I believe that my patch should be
accepted as it allows correct command-line parameters to be accepted
(currently correct parameters give a usage message).
Also the bugs with id and ps are in RHEL4. I will file a separate bug report
Created attachment 128532 [details]
patch to fix this bug
One thing I forgot to mention is that my patch doesn't support translation of
MLS/MCS sensitivity labels. This means that on a default configuration of FC5
or rawhide with my patch you will
see "root:system_r:unconfined_t:s0-s0:c0.c255" as the output of "busybox
id -Z" (the same as you currently see in "busybox id" output). I don't
consider this to be a bug, I think that the complexity of translating
sensitivity levels is not what you desire when rescuing a system.
Thanks. This problem is fixed in the devel version (busybox-1.1.1-2). There are
differencies in busybox-1.1.1 and busybox-1.01 - so there was possibe to disable
-uZ combination of options. Could you please test this version.