Daniel J Walsh wrote: > Joshua Brindle wrote: >> Daniel J Walsh wrote: >> semanage -S targeted -i - << __eof >> user -a -P user -R "unconfined_r system_r" -r s0-s0:c0.c1023 unconfined_u >> user -a -P user -R guest_r guest_u >> user -a -P user -R xguest_r xguest_u >> __eof >> semanage -S targeted -i - << __eof >> login -m -s unconfined_u -r s0-s0:c0.c1023 __default__ >> login -m -s unconfined_u -r s0-s0:c0.c1023 root >> __eof >> >> So you can add multiple records in a single pass. > >> This patch seems to cause some issues: > >> [root@misterfreeze selinux-pristine]# semanage --help >> Traceback (most recent call last): >> File "/usr/sbin/semanage", line 433, in <module> >> usage(_("Requires 2 or more arguments")) >> File "/usr/sbin/semanage", line 98, in usage >> """) % message) >> TypeError: float argument required > > > > >> -- >> This message was distributed to subscribers of the selinux mailing list. >> If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with >> the words "unsubscribe selinux" without quotes as the message. > > Patch off your latest policycoreutils. > Ok, merged in (with no version bump) -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.