All of lore.kernel.org
 help / color / mirror / Atom feed
From: AlannY <m@alanny.ru>
To: SELinux@tycho.nsa.gov
Subject: Problem with compiling refpolicy base.pp
Date: Wed, 03 Mar 2010 17:31:46 +0300	[thread overview]
Message-ID: <4B8E72D2.8030802@alanny.ru> (raw)

Hi there.

I'm trying to compile refpolicy. I have checkpolicy 2.0.20 and misc
tools (libselinux policycoreutils). I'm trying to:

    make bare
    make conf
    make base.pp

My configuration:

TYPE=mcs
NAME=refpolicy
UNK_PERMS=allow
DIRECT_INITRC=n
MONOLITHIC=n
UBAC=n
MLS_CATS=1024
MCS_CATS=1024

But, the last command failed with the following error:

    Creating refpolicy base module base.conf
    cat tmp/pre_te_files.conf tmp/all_attrs_types.conf
tmp/global_bools.conf tmp/only_te_rules.conf tmp/all_post.conf > base.conf
    Compiling refpolicy base module
    /usr/bin/checkmodule -M -U allow base.conf -o tmp/base.mod
    /usr/bin/checkmodule:  loading policy configuration from base.conf
    base.conf:2032:ERROR 'syntax error' at token ':c0.c1023' on line 2032:
    level s0:c0.c1023;

Seems to be, it's a good line (2032), but checkmodule can't eat it.

Where can be the probem?
-- 
   )\._.,--....,'``.
  /,   _.. \   _\  (`._ ,.
 `._.-(,_..'--(,_..'`-.;.'

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

             reply	other threads:[~2010-03-03 14:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-03 14:31 AlannY [this message]
2010-03-03 15:21 ` Problem with compiling refpolicy base.pp Stephen Smalley
2010-03-03 15:28   ` Stephen Smalley
2010-03-03 15:36     ` Justin P. mattock
2010-03-03 15:53       ` Stephen Smalley
2010-03-03 16:24         ` Justin P. mattock
2010-03-03 16:27           ` Stephen Smalley
2010-03-03 15:52     ` Stephen Smalley
2010-03-03 16:23   ` Stephen Smalley
2010-03-03 18:16     ` Justin P. mattock
2010-03-03 20:52     ` Justin P. mattock
2010-03-03 21:14     ` Justin P. mattock
2010-03-03 15:30 ` Justin P. mattock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B8E72D2.8030802@alanny.ru \
    --to=m@alanny.ru \
    --cc=SELinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.