From: Kodungallur Varma <ramgwu@gmail.com>
To: SELinux ML <selinux@tycho.nsa.gov>
Subject: Re: policy compile fixes
Date: Thu, 14 Oct 2004 13:20:43 -0400 [thread overview]
Message-ID: <fa8ec5d8041014102023ef42cd@mail.gmail.com> (raw)
In-Reply-To: <20041014113536.GC2540@jmh.mhn.de>
Hi all,
when I "make load" a new policy I have the following sequence
in the console..
-------------------------------------------------
[root@sun policy]# make load
mkdir -p /etc/security/selinux
/usr/bin/checkpolicy -o /etc/security/selinux/policy.17 policy.conf
/usr/bin/checkpolicy: loading policy configuration from policy.conf
security: 5 users, 7 roles, 1244 types, 1 bools
security: 30 classes, 303377 rules
/usr/bin/checkpolicy: policy configuration loaded
/usr/bin/checkpolicy: writing binary representation (version 17) to
/etc/security/selinux/policy.17
/usr/bin/checkpolicy -c 15 -o /etc/security/selinux/policy.15 policy.conf
/usr/bin/checkpolicy: loading policy configuration from policy.conf
security: 5 users, 7 roles, 1244 types, 1 bools
security: 30 classes, 303377 rules
/usr/bin/checkpolicy: policy configuration loaded
/usr/bin/checkpolicy: writing binary representation (version 15) to
/etc/security/selinux/policy.15
warning: discarding booleans and conditional rules
/usr/bin/checkpolicy -c 16 -o /etc/security/selinux/policy.16 policy.conf
/usr/bin/checkpolicy: loading policy configuration from policy.conf
security: 5 users, 7 roles, 1244 types, 1 bools
security: 30 classes, 303377 rules
/usr/bin/checkpolicy: policy configuration loaded
/usr/bin/checkpolicy: writing binary representation (version 16) to
/etc/security/selinux/policy.16
/usr/sbin/load_policy /etc/security/selinux/policy.`cat /selinux/policyvers`
Can't open '/etc/security/selinux/policy.18': No such file or directory
make: *** [tmp/load] Error 2
----------------------------------------------------
the last two lines...why is it trying to open policy.18...I dont even
have it and in the last line it says error. is there some way to fix
it. thanx a lot..
Ram
On Thu, 14 Oct 2004 13:35:36 +0200, Thomas Bleher
<bleher@informatik.uni-muenchen.de> wrote:
> This patch fixes a few compile problems with latest policy:
> consoletype.te: firstboot.te may not be there
> cups.fc: cupsd_config only exists if hald.te is available
> apache_macros.te: allow_ypbind is only declared if ypbind.te is
> available
>
> Add a few file_contexts.
>
> Conditionalize the file_type_auto_trans rule in apache.te, otherwise log
> files get created with the wrong context.
>
> Add can_exec($1_ssh_t, { shell_exec_t bin_t }), it is needed for some
> programs like x11-ssh-askpass (and I suspect sftp_server).
>
> Please apply.
> Thomas
>
> --
> http://www.cip.ifi.lmu.de/~bleher/selinux/ - my SELinux pages
> GPG-Fingerprint: BC4F BB16 30D6 F253 E3EA D09E C562 2BAE B2F4 ABE7
>
>
>
--
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.
next prev parent reply other threads:[~2004-10-14 17:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-14 11:35 policy compile fixes Thomas Bleher
2004-10-14 17:20 ` Kodungallur Varma [this message]
2004-10-14 20:23 ` James Carter
2004-10-14 23:24 ` Thomas Bleher
2004-10-16 13:51 ` Russell Coker
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=fa8ec5d8041014102023ef42cd@mail.gmail.com \
--to=ramgwu@gmail.com \
--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.