* rawhide audit2allow problem
@ 2008-06-25 18:23 Xavier Toth
2008-06-25 18:56 ` Vikram Ambrose
2008-06-25 19:03 ` Karl MacMillan
0 siblings, 2 replies; 6+ messages in thread
From: Xavier Toth @ 2008-06-25 18:23 UTC (permalink / raw)
To: SELinux List
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: rawhide audit2allow problem
2008-06-25 18:23 rawhide audit2allow problem Xavier Toth
@ 2008-06-25 18:56 ` Vikram Ambrose
2008-06-25 19:39 ` Tom London
2008-06-25 19:03 ` Karl MacMillan
1 sibling, 1 reply; 6+ messages in thread
From: Vikram Ambrose @ 2008-06-25 18:56 UTC (permalink / raw)
To: Xavier Toth; +Cc: SELinux List
Xavier Toth wrote:
> 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 majordomo@tycho.nsa.gov 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.
--
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: rawhide audit2allow problem
2008-06-25 18:23 rawhide audit2allow problem Xavier Toth
2008-06-25 18:56 ` Vikram Ambrose
@ 2008-06-25 19:03 ` Karl MacMillan
2008-06-27 11:44 ` Daniel J Walsh
2008-06-30 13:17 ` Stephen Smalley
1 sibling, 2 replies; 6+ messages in thread
From: Karl MacMillan @ 2008-06-25 19:03 UTC (permalink / raw)
To: Xavier Toth; +Cc: SELinux List
On Wed, Jun 25, 2008 at 2:23 PM, Xavier Toth <txtoth@gmail.com> wrote:
> 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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: rawhide audit2allow problem
2008-06-25 18:56 ` Vikram Ambrose
@ 2008-06-25 19:39 ` Tom London
0 siblings, 0 replies; 6+ messages in thread
From: Tom London @ 2008-06-25 19:39 UTC (permalink / raw)
To: SELinux List
On Wed, Jun 25, 2008 at 11:56 AM, Vikram Ambrose
<Vikram.Ambrose@windriver.com> wrote:
> Xavier Toth wrote:
>>
>> 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 majordomo@tycho.nsa.gov
>> 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.
>
> --
> 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
--
Tom London
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: rawhide audit2allow problem
2008-06-25 19:03 ` Karl MacMillan
@ 2008-06-27 11:44 ` Daniel J Walsh
2008-06-30 13:17 ` Stephen Smalley
1 sibling, 0 replies; 6+ messages in thread
From: Daniel J Walsh @ 2008-06-27 11:44 UTC (permalink / raw)
To: Karl MacMillan; +Cc: Xavier Toth, SELinux List
Karl MacMillan wrote:
> On Wed, Jun 25, 2008 at 2:23 PM, Xavier Toth <txtoth@gmail.com> wrote:
>> 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 majordomo@tycho.nsa.gov 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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: rawhide audit2allow problem
2008-06-25 19:03 ` Karl MacMillan
2008-06-27 11:44 ` Daniel J Walsh
@ 2008-06-30 13:17 ` Stephen Smalley
1 sibling, 0 replies; 6+ messages in thread
From: Stephen Smalley @ 2008-06-30 13:17 UTC (permalink / raw)
To: Karl MacMillan; +Cc: Xavier Toth, SELinux List, Daniel J Walsh
On Wed, 2008-06-25 at 15:03 -0400, Karl MacMillan wrote:
> On Wed, Jun 25, 2008 at 2:23 PM, Xavier Toth <txtoth@gmail.com> wrote:
> > 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?
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.
--
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-06-30 13:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-25 18:23 rawhide audit2allow problem Xavier Toth
2008-06-25 18:56 ` Vikram Ambrose
2008-06-25 19:39 ` Tom London
2008-06-25 19:03 ` Karl MacMillan
2008-06-27 11:44 ` Daniel J Walsh
2008-06-30 13:17 ` Stephen Smalley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.