Re: modules.conf problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2008-06-05 at 14:01 -0700, Clarkson, Mike R (US SSA) wrote:
> I'm getting the following compile errors when attempting a clean compile
> of my policy:
> 
> policy/modules/apps/import.if:336: Error: duplicate definition of
> nlscripts_dir_search(). Original definition on 25.
> policy/modules/apps/import.if:344: Error: duplicate definition of
> nlscripts_dir_list(). Original definition on 17.
> 
> The thing is that I have commented out the import module out of the
> modules.conf file. In fact I commented it out several weeks ago and have
> done many clean compiles since without issue until this morning.
> 
> The only way that I have been able to get past these errors is to remove
> the import.{te,if,fc} files from the apps directory. Then the policy
> compiles and loads fine. I must have changed something in one of the
> other policy files that caused this to suddenly crop up today but I have
> no idea what.
> 
> If anyone has any ideas on what may be causing this or ideas on how to
> track down what the problem is I would greatly appreciate hearing them.
> 
> I'm using the RHEL5.1 mls policy.

You have more than one declaration of those two interfaces.  Even if the
module is not enabled in the modules.conf, its interfaces are included,
since if its interfaces are used, they have to be expanded.  Unexpanded
interfaces result in compile failures.

-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux