Re: local.te (was Re: avc: denied { ioctl }?

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

 



> On Thu, 2005-06-09 at 08:25 -0500, Hongwei Li wrote:
>> Then, when I run "make load", I got:
>>
>> # make load
>> mkdir -p tmp
>> ( cd domains/program/ ; for n in *.te ; do echo "define(\`$n')"; done ) >
>> tmp/program_used_flags.te.tmp
>> ( cd domains/misc/ ; for n in *.te ; do echo "define(\`$n')"; done ) >>
>> tmp/program_used_flags.te.tmp
>> mv tmp/program_used_flags.te.tmp tmp/program_used_flags.te
>> make: *** No rule to make target `file_contexts/program/local.fc', needed by
>> `file_contexts/file_contexts'.  Stop.
>>
>> What should I put in file_contexts/program/local.fc?
>
> That is why my message said to put local.te under domains/misc, not
> domains/program.  For every .te file under domains/program, the Makefile
> expects there to be a .fc file under file_contexts/program.  So, your
> options are:
> - move local.te under domains/misc as I said originally, or
> - touch file_contexts/program/local.fc to create an empty file there to
> satisfy the Makefile.
>
> --
> Stephen Smalley
> National Security Agency

I moved local.te to misc, and it works.  Thanks!

Hongwei

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux