Skip to contentSkip to conversation

checkmodule: duplicate declaration of type/attribute problem

DISCUSSION Xavier Toth 2 participants 4 messages Sep 25, 2008 1 message not in the archive SELinux security module

lore
Share & tools
lore
#0 lore raw

The attribute in question is inside a gen_require of a template and I have looked at the tmp file to verify that there is only one declaration. Is this a misleading error message or a compiler bug? Any suggestions on how to deal with this problem?

Ted

--
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.

#1 lore raw
Quoted 6 lines · Xavier Toth

The attribute in question is inside a gen_require of a template and I have looked at the tmp file to verify that there is only one declaration. Is this a misleading error message or a compiler bug? Any suggestions on how to deal with this problem?

Ted

What version of checkpolicy and libsepol?

--
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.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

---------- Forwarded message ----------
From: Xavier Toth <[email protected]>
Date: Thu, Sep 25, 2008 at 10:45 AM
Subject: Re: checkmodule: duplicate declaration of type/attribute problem
To: Joshua Brindle <[email protected]>

Quoted 10 lines · Joshua Brindle
Quoted 6 lines · Xavier Toth

The attribute in question is inside a gen_require of a template and I have looked at the tmp file to verify that there is only one declaration. Is this a misleading error message or a compiler bug? Any suggestions on how to deal with this problem?

Ted

What version of checkpolicy and libsepol?

[tedx@comms ConfigPolyDir]$ rpm -q checkpolicy
checkpolicy-2.0.16-3.fc10.i386
checkpolicy-2.0.16-3.fc9.x86_64
[tedx@comms ConfigPolyDir]$ rpm -q libsepol
libsepol-2.0.32-1.fc9.i386
libsepol-2.0.32-1.fc9.x86_64

--
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.

#4 lore raw
Quoted 18 lines · Xavier Toth

---------- Forwarded message ----------
From: Xavier Toth <[email protected]>
Date: Thu, Sep 25, 2008 at 10:45 AM
Subject: Re: checkmodule: duplicate declaration of type/attribute problem
To: Joshua Brindle <[email protected]>

Quoted 9 lines · Joshua Brindle
Quoted 6 lines · Xavier Toth

The attribute in question is inside a gen_require of a template and I have looked at the tmp file to verify that there is only one declaration. Is this a misleading error message or a compiler bug? Any suggestions on how to deal with this problem?

Ted

What version of checkpolicy and libsepol?

Quoted 7 lines

[tedx@comms ConfigPolyDir]$ rpm -q checkpolicy
checkpolicy-2.0.16-3.fc10.i386
checkpolicy-2.0.16-3.fc9.x86_64
[tedx@comms ConfigPolyDir]$ rpm -q libsepol
libsepol-2.0.32-1.fc9.i386
libsepol-2.0.32-1.fc9.x86_64

Those are the newest so I'm not aware of a bug that would cause this. Can you send me a policy to reproduce it?

--
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.