* error on build of latest cvs (head) selinux-usr/policy
@ 2004-05-17 21:46 Luke Kenneth Casson Leighton
2004-05-17 23:57 ` Russell Coker
0 siblings, 1 reply; 3+ messages in thread
From: Luke Kenneth Casson Leighton @ 2004-05-17 21:46 UTC (permalink / raw)
To: selinux
bug-report time!
i get the following message:
mkdir -p /etc/security/selinux
/usr/bin/checkpolicy -o /etc/security/selinux/policy.15 policy.conf
/usr/bin/checkpolicy: loading policy configuration from policy.conf
ERROR 'syntax error' at token 'typealias' on line 2764:
typealias net_conf_t alias resolv_conf_t;
type net_conf_t, file_type, sysadmfile;
/usr/bin/checkpolicy: error(s) encountered while parsing configuration
i also had to add:
$(ROOTDIR)/.default_contexts: appconfig/root_default_contexts
mkdir -p $(ROOTDIR)
install -m 644 $< $@
mkdir -p because otherwise the file doesn't get copied because
the directory doesn't exist.
l.
--
--
expecting email to be received and understood is a bit like
picking up the telephone and immediately dialing without
checking for a dial-tone; speaking immediately without listening
for either an answer or ring-tone; hanging up immediately and
believing that you have actually started a conversation.
--
<a href="http://lkcl.net"> lkcl.net </a> <br />
<a href="mailto:lkcl@lkcl.net"> lkcl@lkcl.net </a> <br />
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: error on build of latest cvs (head) selinux-usr/policy
2004-05-17 21:46 error on build of latest cvs (head) selinux-usr/policy Luke Kenneth Casson Leighton
@ 2004-05-17 23:57 ` Russell Coker
2004-05-18 8:01 ` Luke Kenneth Casson Leighton
0 siblings, 1 reply; 3+ messages in thread
From: Russell Coker @ 2004-05-17 23:57 UTC (permalink / raw)
To: Luke Kenneth Casson Leighton; +Cc: selinux
On Tue, 18 May 2004 07:46, Luke Kenneth Casson Leighton <lkcl@lkcl.net> wrote:
> mkdir -p /etc/security/selinux
> /usr/bin/checkpolicy -o /etc/security/selinux/policy.15 policy.conf
> /usr/bin/checkpolicy: loading policy configuration from policy.conf
> ERROR 'syntax error' at token 'typealias' on line 2764:
> typealias net_conf_t alias resolv_conf_t;
> type net_conf_t, file_type, sysadmfile;
> /usr/bin/checkpolicy: error(s) encountered while parsing configuration
What version of checkpolicy are you using? It looks like you have an old
checkpolicy and a new policy source...
--
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: error on build of latest cvs (head) selinux-usr/policy
2004-05-17 23:57 ` Russell Coker
@ 2004-05-18 8:01 ` Luke Kenneth Casson Leighton
0 siblings, 0 replies; 3+ messages in thread
From: Luke Kenneth Casson Leighton @ 2004-05-18 8:01 UTC (permalink / raw)
To: Russell Coker; +Cc: selinux
On Tue, May 18, 2004 at 09:57:16AM +1000, Russell Coker wrote:
> On Tue, 18 May 2004 07:46, Luke Kenneth Casson Leighton <lkcl@lkcl.net> wrote:
> > mkdir -p /etc/security/selinux
> > /usr/bin/checkpolicy -o /etc/security/selinux/policy.15 policy.conf
> > /usr/bin/checkpolicy: loading policy configuration from policy.conf
> > ERROR 'syntax error' at token 'typealias' on line 2764:
> > typealias net_conf_t alias resolv_conf_t;
> > type net_conf_t, file_type, sysadmfile;
> > /usr/bin/checkpolicy: error(s) encountered while parsing configuration
>
> What version of checkpolicy are you using? It looks like you have an old
> checkpolicy and a new policy source...
ah... i sorta-worked that one out: i'm patching up the latest cvs
with the .diffs from newselinux, but because i am doing a build
on one machine and install on another, i didn't want to actually
_install_ the dpkgs i am building on the build machine.
oh well :)
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-18 8:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-17 21:46 error on build of latest cvs (head) selinux-usr/policy Luke Kenneth Casson Leighton
2004-05-17 23:57 ` Russell Coker
2004-05-18 8:01 ` Luke Kenneth Casson Leighton
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.