error on build of latest cvs (head) selinux-usr/policy
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.
Signature · 15 lines
-- 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:[email protected]"> [email protected] </a> <br /> -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 7 lines · Luke Kenneth Casson Leighton
mkdir -p
/etc/security/selinux/usr/bin/checkpolicy-o/etc/security/selinux/policy.15policy.conf/usr/bin/checkpolicy: loading policy configuration from policy.conf ERROR 'syntax error' at token 'typealias' on line 2764:
typealiasnet_conf_taliasresolv_conf_t;
typenet_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...
Signature · 9 lines
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 [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 11 lines · Russell Coker
Quoted 7 lines · Luke Kenneth Casson Leighton
mkdir -p
/etc/security/selinux/usr/bin/checkpolicy-o/etc/security/selinux/policy.15policy.conf/usr/bin/checkpolicy: loading policy configuration from policy.conf ERROR 'syntax error' at token 'typealias' on line 2764:
typealiasnet_conf_taliasresolv_conf_t;
typenet_conf_t,file_type, sysadmfile;/usr/bin/checkpolicy: error(s) encountered while parsing configurationWhat 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 [email protected] with the words "unsubscribe selinux" without quotes as the message.