All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] Undefined policycap error
@ 2009-09-25 13:13 Kane, Bob (IS)
  2009-09-25 13:54 ` Stefan Schulze Frielinghaus
  0 siblings, 1 reply; 4+ messages in thread
From: Kane, Bob (IS) @ 2009-09-25 13:13 UTC (permalink / raw)
  To: refpolicy

Downloaded the most recent Reference policy source
(refpolicy-2.20090730.tar.bz2)  and I am trying to build and install the
policy on a standard RHEL 5.3 platform.  When doing a make or make all, I
receive the following:

(unknown source)::ERROR "syntax error" at token "policycap" on line 1757:
#
policycap network_peer_controls;
.
.

Any ideas?  Is there any way to search the archive in case this has already
been answered?

Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.tresys.com/pipermail/refpolicy/attachments/20090925/d6e657e8/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 11528 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20090925/d6e657e8/attachment.bin 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [refpolicy] Undefined policycap error
  2009-09-25 13:13 [refpolicy] Undefined policycap error Kane, Bob (IS)
@ 2009-09-25 13:54 ` Stefan Schulze Frielinghaus
       [not found]   ` <F881A5D7AE676240B733682CA6DC509605A689E2@XMBIL103.northgrum.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Schulze Frielinghaus @ 2009-09-25 13:54 UTC (permalink / raw)
  To: refpolicy

I guess you are out of luck on RHEL because of build dependencies:

http://oss.tresys.com/projects/refpolicy/wiki/DownloadRelease

Reference Policy has the following build-time dependencies for modular
policies:

      * Checkpolicy 2.0.16 or higher
      * Policycoreutils 2.0 or higher
      * Libsepol 2.0.29 or higher
      * Libsemanage-2.0.29 or higher
      * Python PyXML (only required to regenerate config files and
        documentation)

On Fri, 2009-09-25 at 08:13 -0500, Kane, Bob (IS) wrote:
> Downloaded the most recent Reference policy source
> (refpolicy-2.20090730.tar.bz2)  and I am trying to build and install
> the policy on a standard RHEL 5.3 platform.  When doing a make or make
> all, I receive the following:
> 
> (unknown source)::ERROR ?syntax error? at token ?policycap? on line
> 1757:
> 
> #
> 
> policycap network_peer_controls;
> 
> ?
> 
> ?
> 
> Any ideas?  Is there any way to search the archive in case this has
> already been answered?
> 
> Bob
> 
> _______________________________________________
> refpolicy mailing list
> refpolicy at oss.tresys.com
> http://oss.tresys.com/mailman/listinfo/refpolicy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [refpolicy] Undefined policycap error
       [not found]   ` <F881A5D7AE676240B733682CA6DC509605A689E2@XMBIL103.northgrum.com>
@ 2009-09-25 15:03     ` Stefan Schulze Frielinghaus
  2009-09-25 21:54       ` Brandon Whalen
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Schulze Frielinghaus @ 2009-09-25 15:03 UTC (permalink / raw)
  To: refpolicy

I'm not familiar with CLIP. From your first post, I thought you meant a
standard RHEL installation. I don't know if CLIP installs new versions
of checkpolicy and so on. Maybe a CLIP engineer could jump in and help
out? ;-)

On Fri, 2009-09-25 at 09:22 -0500, Kane, Bob (IS) wrote:
> Actually I have built and installed new versions of Checkpolicy, Policycoreutils, Libsepol, and Libsemanage that came with the CLIP source.  I would have thought that the reference policy source that both use is very similar. What I am trying to do is build modules that I can add to the CLIP.
> 
> Bob
> 
> -----Original Message-----
> From: refpolicy-bounces at oss.tresys.com [mailto:refpolicy-bounces at oss.tresys.com] On Behalf Of Stefan Schulze Frielinghaus
> Sent: Friday, September 25, 2009 9:55 AM
> To: Kane, Bob (IS)
> Cc: refpolicy at oss1.tresys.com
> Subject: Re: [refpolicy] Undefined policycap error
> 
> I guess you are out of luck on RHEL because of build dependencies:
> 
> http://oss.tresys.com/projects/refpolicy/wiki/DownloadRelease
> 
> Reference Policy has the following build-time dependencies for modular
> policies:
> 
>       * Checkpolicy 2.0.16 or higher
>       * Policycoreutils 2.0 or higher
>       * Libsepol 2.0.29 or higher
>       * Libsemanage-2.0.29 or higher
>       * Python PyXML (only required to regenerate config files and
>         documentation)
> 
> On Fri, 2009-09-25 at 08:13 -0500, Kane, Bob (IS) wrote:
> > Downloaded the most recent Reference policy source
> > (refpolicy-2.20090730.tar.bz2)  and I am trying to build and install
> > the policy on a standard RHEL 5.3 platform.  When doing a make or make
> > all, I receive the following:
> > 
> > (unknown source)::ERROR ?syntax error? at token ?policycap? on line
> > 1757:
> > 
> > #
> > 
> > policycap network_peer_controls;
> > 
> > ?
> > 
> > ?
> > 
> > Any ideas?  Is there any way to search the archive in case this has
> > already been answered?
> > 
> > Bob
> > 
> > _______________________________________________
> > refpolicy mailing list
> > refpolicy at oss.tresys.com
> > http://oss.tresys.com/mailman/listinfo/refpolicy
> 
> _______________________________________________
> refpolicy mailing list
> refpolicy at oss.tresys.com
> http://oss.tresys.com/mailman/listinfo/refpolicy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [refpolicy] Undefined policycap error
  2009-09-25 15:03     ` Stefan Schulze Frielinghaus
@ 2009-09-25 21:54       ` Brandon Whalen
  0 siblings, 0 replies; 4+ messages in thread
From: Brandon Whalen @ 2009-09-25 21:54 UTC (permalink / raw)
  To: refpolicy

On 9/25/09 11:03 AM, "Stefan Schulze Frielinghaus" <stefan@seekline.net>
wrote:

> I'm not familiar with CLIP. From your first post, I thought you meant
> a
standard RHEL installation. I don't know if CLIP installs new versions
of
> checkpolicy and so on. Maybe a CLIP engineer could jump in and help
out?
We do install an updated version of the SELinux toolchain to support roles
in modules. You can download the RPMs from [1]. Let me know if you have any
other questions.

[1] http://oss.tresys.com/projects/clip/wiki/DownloadRelease



> ;-)

On Fri, 2009-09-25 at 09:22 -0500, Kane, Bob (IS) wrote:
> Actually I
> have built and installed new versions of Checkpolicy, Policycoreutils,
> Libsepol, and Libsemanage that came with the CLIP source.  I would have
> thought that the reference policy source that both use is very similar. What I
> am trying to do is build modules that I can add to the CLIP.
> 
> Bob
> 
>
> -----Original Message-----
> From: refpolicy-bounces at oss.tresys.com
> [mailto:refpolicy-bounces at oss.tresys.com] On Behalf Of Stefan Schulze
> Frielinghaus
> Sent: Friday, September 25, 2009 9:55 AM
> To: Kane, Bob (IS)
>
> Cc: refpolicy at oss1.tresys.com
> Subject: Re: [refpolicy] Undefined policycap
> error
> 
> I guess you are out of luck on RHEL because of build
> dependencies:
> 
>
> http://oss.tresys.com/projects/refpolicy/wiki/DownloadRelease
> 
> Reference
> Policy has the following build-time dependencies for modular
> policies:
> 
>
> * Checkpolicy 2.0.16 or higher
>       * Policycoreutils 2.0 or higher
>
> * Libsepol 2.0.29 or higher
>       * Libsemanage-2.0.29 or higher
>       *
> Python PyXML (only required to regenerate config files and
>
> documentation)
> 
> On Fri, 2009-09-25 at 08:13 -0500, Kane, Bob (IS) wrote:
>
> > Downloaded the most recent Reference policy source
> >
> (refpolicy-2.20090730.tar.bz2)  and I am trying to build and install
> > the
> policy on a standard RHEL 5.3 platform.  When doing a make or make
> > all, I
> receive the following:
> > 
> > (unknown source)::ERROR ?syntax error? at
> token ?policycap? on line
> > 1757:
> > 
> > #
> > 
> > policycap
> network_peer_controls;
> > 
> > ?
> > 
> > ?
> > 
> > Any ideas?  Is there any
> way to search the archive in case this has
> > already been answered?
> > 
> >
> Bob
> > 
> > _______________________________________________
> > refpolicy
> mailing list
> > refpolicy at oss.tresys.com
> >
> http://oss.tresys.com/mailman/listinfo/refpolicy
> 
>
> _______________________________________________
> refpolicy mailing list
>
> refpolicy at oss.tresys.com
>
> http://oss.tresys.com/mailman/listinfo/refpolicy

____________________________
> ___________________
refpolicy mailing
> 
list
refpolicy at oss.tresys.com
http://oss.tresys.com/mailman/listinfo/refpolicy>


Brandon Whalen
Linux Solutions Practice
Tresys Technology
8840 Stanford Boulevard, Suite 2100
Columbia, MD 21045
Phone: +1 410 290-1411 x147
FAX: +1 410 953-0494
bwhalen at tresys.com | www.tresys.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-25 21:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-25 13:13 [refpolicy] Undefined policycap error Kane, Bob (IS)
2009-09-25 13:54 ` Stefan Schulze Frielinghaus
     [not found]   ` <F881A5D7AE676240B733682CA6DC509605A689E2@XMBIL103.northgrum.com>
2009-09-25 15:03     ` Stefan Schulze Frielinghaus
2009-09-25 21:54       ` Brandon Whalen

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.