From: Howard Holm <hdholm@epoch.ncsc.mil>
To: Diyab <diyab@diyab.net>
Cc: selinux@tycho.nsa.gov
Subject: Re: default policy package
Date: 03 Nov 2003 15:11:41 -0500 [thread overview]
Message-ID: <1067890301.29084.24.camel@moss-huskies> (raw)
In-Reply-To: <3FA65A60.3010802@diyab.net>
On Mon, 2003-11-03 at 08:38, Diyab wrote:
> Dale Amon wrote:
> > Looks like X windows has really stuck it's tentacles
> > into the policy. I can't compile one without it. Something
> > in the macros that I haven't tracked down yet:
> >
> > ERROR: unknown type initrc_xserver_tmp_t' at token ':' on line 6198:
> > allow sysadm_uml_t initrc_xserver_tmp_t:dir search;
> >
> > so I removed uml.te, which I didn't need anyway. Next run
> > I've now got:
> >
> > ERROR: unknown type sysadm_xserver_t' at token ':' on line 7525:
> > allow sysadm_xserver_t xserver_tmpfile:dir { read getattr lock search ioctl add name remove_name write };
> >
> > This is just some examples. I've been fighting this
> > all morning without finding a set that works without
> > any X. (Hardly need X for a machine that normally doesn't
> > even have a terminal on it, and when it does it's an old
> > dumb b&w character only glass tty)
> >
> > I haven't specifically seen where the problem is coming
> > from yet: everything seems to have ifdef's around it
> > on startx.te or xserver.te but I've not gone through
> > every file.
> >
> > I'll keep at it, but suggestions are welcome.
>
> I ran into a similar problem with postgresql.te which contains a
> can_exec statement with dpkg_exec_t that does not have an ifdef around
> it. So unless you include dpkg.te you get an error attempting to
> compile the policy. Easiest thing to do from what I've found is to grep
> the everything in domains/program for the context that is giving the error.
>
> Timothy,
The most recent release of the default policy on nsa.gov has the ifdef
isolating the can_exec statement.
--
Howard Holm <hdholm@epoch.ncsc.mil>
Office of Defensive Computing Research
National Security Agency
--
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:[~2003-11-03 20:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-03 11:43 default policy package Dale Amon
2003-11-03 13:38 ` Diyab
[not found] ` <200311040140.04077.russell@coker.com.au>
2003-11-03 15:05 ` Diyab
2003-11-03 15:29 ` Dale Amon
2003-11-03 16:18 ` Stephen Smalley
[not found] ` <200311040348.39876.russell@coker.com.au>
2003-11-03 19:27 ` Colin Walters
2003-11-03 20:04 ` Howard Holm
2003-11-03 20:11 ` Howard Holm [this message]
[not found] ` <200311040115.57564.russell@coker.com.au>
2003-11-03 15:27 ` Dale Amon
2003-11-03 16:15 ` Stephen Smalley
2003-11-03 17:37 ` Dale Amon
2003-11-04 17:54 ` Dale Amon
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=1067890301.29084.24.camel@moss-huskies \
--to=hdholm@epoch.ncsc.mil \
--cc=diyab@diyab.net \
--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.