rawhide audit2allow problem
I updated my rawhide box and now I getting the following error:
[root@localhost ~]# cat /var/log/audit/audit.log | audit2allow Traceback (most recent call last):
File "/usr/bin/audit2allow", line 344, in <module>
app.main()
File "/usr/bin/audit2allow", line 338, in main
self.__output()
File "/usr/bin/audit2allow", line 314, in __output
g.add_role_types(self.__role_types)AttributeError: PolicyGenerator instance has no attribute 'add_role_types'
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 12 lines · Xavier Toth
I updated my rawhide box and now I getting the following error:
[root@localhost ~]# cat
/var/log/audit/audit.log| audit2allow Traceback (most recent call last):
File "/usr/bin/audit2allow", line 344, in <module>
app.main()
File "/usr/bin/audit2allow", line 338, in main
self.__output()
File "/usr/bin/audit2allow", line 314, in__output
g.add_role_types(self.__role_types)
AttributeError: PolicyGenerator instance has no attribute 'add_role_types'
This looks like audit2allow has my recent patch but not sepolgen. Not certain how that could happen since they appear to be part of the same rpm. Dan - any ideas?
Karl
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 18 lines · Karl MacMillan
Quoted 12 lines · Xavier Toth
I updated my rawhide box and now I getting the following error:
[root@localhost ~]# cat
/var/log/audit/audit.log| audit2allow Traceback (most recent call last):
File "/usr/bin/audit2allow", line 344, in <module>
app.main()
File "/usr/bin/audit2allow", line 338, in main
self.__output()
File "/usr/bin/audit2allow", line 314, in__output
g.add_role_types(self.__role_types)
AttributeError: PolicyGenerator instance has no attribute 'add_role_types'This looks like audit2allow has my recent patch but not sepolgen. Not certain how that could happen since they appear to be part of the same rpm. Dan - any ideas?
Quoted 6 lines
Karl
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Yes the package maintainer commented out the patch to sepolgen. Idiot...
Got to stop working while on vacation.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 14 lines · Karl MacMillan
Quoted 12 lines · Xavier Toth
I updated my rawhide box and now I getting the following error:
[root@localhost ~]# cat
/var/log/audit/audit.log| audit2allow Traceback (most recent call last):
File "/usr/bin/audit2allow", line 344, in <module>
app.main()
File "/usr/bin/audit2allow", line 338, in main
self.__output()
File "/usr/bin/audit2allow", line 314, in__output
g.add_role_types(self.__role_types)
AttributeError: PolicyGenerator instance has no attribute 'add_role_types'
Quoted 3 lines
This looks like audit2allow has my recent patch but not sepolgen. Not certain how that could happen since they appear to be part of the same rpm. Dan - any ideas?
Both the audit2allow and sepolgen diffs have now been merged upstream. I'm assuming that no changes were made after the posted versions of the patches; let me know if any further changes were made in the Fedora packages.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 10 lines · Xavier Toth
I updated my rawhide box and now I getting the following error:
[root@localhost ~]# cat
/var/log/audit/audit.log| audit2allow Traceback (most recent call last):
File "/usr/bin/audit2allow", line 344, in <module>app.main() File "/usr/bin/audit2allow", line 338, in main self.__output() File "/usr/bin/audit2allow", line 314, in __output g.add_role_types(self.__role_types)
Quoted 7 lines
AttributeError: PolicyGenerator instance has no attribute '
add_role_types'--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
looks like the wrapper or some other dep is not the same revision as your audit2allow, in other words, you might need to update its dependencies too. just a guess.
Signature · 7 lines
Vikram Ambrose | Linux Products Division | WindRiver Corporation -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 21 lines · Vikram Ambrose
Quoted 13 lines · Xavier Toth
I updated my rawhide box and now I getting the following error:
[root@localhost ~]# cat
/var/log/audit/audit.log| audit2allow Traceback (most recent call last):
File "/usr/bin/audit2allow", line 344, in <module>
app.main()
File "/usr/bin/audit2allow", line 338, in main
self.__output()
File "/usr/bin/audit2allow", line 314, in__output
g.add_role_types(self.__role_types)
AttributeError: PolicyGenerator instance has no attribute 'add_role_types'Quoted 6 lines
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
Quoted 7 lines
looks like the wrapper or some other dep is not the same revision as your audit2allow, in other words, you might need to update its dependencies too. just a guess.
--
Vikram Ambrose | Linux Products Division | WindRiver Corporation
Fedora BZ here: https://bugzilla.redhat.com/show_bug.cgi?id=452770
Already closed.... to be fixed in -9.
tom
Signature · 6 lines
Tom London -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.