All of lore.kernel.org
 help / color / mirror / Atom feed
From: guido@trentalancia.com (Guido Trentalancia)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] recent "portage" modifications break refpolicy build
Date: Tue, 13 Dec 2011 14:49:46 +0100	[thread overview]
Message-ID: <1323784186.2445.13.camel@vortex> (raw)

Hello,

here is the effect of the recent modifications introducing
portage_run_fetch():

Compliling refpolicy-13122011 sysadm.mod module
m4 -D enable_mcs -D distro_redhat -D direct_sysadm_daemon -D enable_ubac
-D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D
hide_broken_symptoms -s support/divert.m4
policy/support/file_patterns.spt policy/support/ipc_patterns.spt
policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt
policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt
policy/support/loadable_module.spt support/undivert.m4
tmp/generated_definitions.conf tmp/all_interfaces.conf
policy/modules/roles/sysadm.te > tmp/sysadm.tmp
/usr/bin/checkmodule -M -m tmp/sysadm.tmp -o tmp/sysadm.mod
/usr/bin/checkmodule:  loading policy configuration from tmp/sysadm.tmp
policy/modules/roles/sysadm.te":258:ERROR 'syntax error' at token
'portage_run_fetch' on line 40465:
#line 258
        portage_run_fetch(sysadm_t, sysadm_r)
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
make: *** [tmp/sysadm.mod] Error 1

---

Compliling refpolicy-13122011 unconfined.mod module
m4 -D enable_mcs -D distro_redhat -D direct_sysadm_daemon -D enable_ubac
-D mls_num_sens=16 -D mls_num_cats=1024 -D mcs_num_cats=1024 -D
hide_broken_symptoms -s support/divert.m4
policy/support/file_patterns.spt policy/support/ipc_patterns.spt
policy/support/obj_perm_sets.spt policy/support/misc_patterns.spt
policy/support/misc_macros.spt policy/support/mls_mcs_macros.spt
policy/support/loadable_module.spt support/undivert.m4
tmp/generated_definitions.conf tmp/all_interfaces.conf
policy/modules/system/unconfined.te > tmp/unconfined.tmp
/usr/bin/checkmodule -M -m tmp/unconfined.tmp -o tmp/unconfined.mod
/usr/bin/checkmodule:  loading policy configuration from
tmp/unconfined.tmp
policy/modules/system/unconfined.te":152:ERROR 'syntax error' at token
'portage_run_fetch' on line 13377:
#line 152
        portage_run_fetch(unconfined_t, unconfined_r)
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
make: *** [tmp/unconfined.mod] Error 1

The issue is affecting git refpolicy since at least the 12th of October
2011.

Regards,

Guido

             reply	other threads:[~2011-12-13 13:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-13 13:49 Guido Trentalancia [this message]
2011-12-13 15:38 ` [refpolicy] recent "portage" modifications break refpolicy build Christopher J. PeBenito

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=1323784186.2445.13.camel@vortex \
    --to=guido@trentalancia.com \
    --cc=refpolicy@oss.tresys.com \
    /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.