Summary: | <sys-apps/policycoreutils-2.2.5-r1 audit2allow does not create refpolicy style module | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sven Vermeulen (RETIRED) <swift> |
Component: | SELinux | Assignee: | SE Linux Bugs <selinux> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | selinux-utils | ||
Package list: | Runtime testing required: | --- |
Description
Sven Vermeulen (RETIRED)
2013-11-04 21:54:03 UTC
Seems to be working for more recent policycoreutils (testing with 2.2.5 here): # cat /tmp/test.txt | audit2allow -m test -R; cat /tmp/test.txt policy_module(test, 1.0) require { type gpg_pinentry_t; } #============= gpg_pinentry_t ============== fs_getattr_xattr_fs(gpg_pinentry_t) type=AVC msg=audit(1388327755.063:952): avc: denied { getattr } for pid=989 comm="pinentry" name="/" dev="dm-3" ino=2 scontext=staff_u:staff_r:gpg_pinentry_t tcontext=system_u:object_r:fs_t tclass=filesystem Stable in tree |