Ticket #43 (new Bug)

Opened 5 months ago

Templates cannot be reused properly because of require breakage

Reported by: EamonWalsh Assigned to: pebenito
Priority: High Component: Policy
Version: SVN HEAD Keywords: requires
Cc:

Description

I don't know, All I know is the compiler complains if it is there and if it is not there. Catch 22. I end up going to great lengths to hack around compiler errors...

We add requires to templates, so that if they're used outside xserver, the caller gets the appropriate require. But then we also use the template inside xserver for code reuse, which is where the problem creeps up. There are a couple other examples of this in refpolicy, but I was able to work around them by reordering statements. It sounds like Dan's situation may not be something that can be easily worked around without some restructuring.