Summary: | <sys-apps/policycoreutils-2.1.14-r2 sepolicy transition fails with Python key error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sven Vermeulen (RETIRED) <swift> |
Component: | SELinux | Assignee: | Sven Vermeulen (RETIRED) <swift> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | selinux |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | selinux-utils | ||
Package list: | Runtime testing required: | --- |
Description
Sven Vermeulen (RETIRED)
2013-05-07 08:30:48 UTC
We can check if the key "map" is in the dictionary and only then continue. Application seems to work with that: """ # sepolicy transition -s sysadm_t -t portage_t sysadm_t @ portage_exec_t --> portage_t sysadm_t ... dhcpc_t ... initrc_t ... puppet_t @ portage_exec_t --> portage_t sysadm_t ... dhcpc_t ... initrc_t ... puppet_t ... portage_fetch_t @ portage_exec_t --> portage_t sysadm_t ... dhcpc_t ... initrc_t ... crond_t @ portage_exec_t --> portage_t sysadm_t ... dhcpc_t ... initrc_t ... crond_t ... system_cronjob_t @ portage_exec_t --> portage_t # sepolicy transition -s staff_t -t portage_t # """ In main tree, ~arch'ed Stabilized |