All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Russell Coker <russell@coker.com.au>
Cc: SE-Linux <selinux@tycho.nsa.gov>
Subject: Re: [latest cvs]: build error on printer_device_t not recognised
Date: Tue, 18 May 2004 14:07:55 +0000	[thread overview]
Message-ID: <20040518140755.GD24917@lkcl.net> (raw)
In-Reply-To: <200405182350.20921.russell@coker.com.au>

On Tue, May 18, 2004 at 11:50:20PM +1000, Russell Coker wrote:
> On Tue, 18 May 2004 19:48, Luke Kenneth Casson Leighton <lkcl@lkcl.net> wrote:
> > 	allow cupsd_t printer_device_t:chr_file { ioctl read getattr lock write
> > 	append };
> > 	/usr/bin/checkpolicy:  error(s) encountered while parsing configuration
> >
> > i find the printer_device_t definition to be in
> > domains/program/unused/lpd.te
> >
> > is this error something to do with me having cups installed but not
> > lpd?
> 
> Yes.  cups.te depends on lpd.te, see the Depends line in cups.te.
 
 ah.  but i have cupsys-bsd installed, not lpd.  cupsys-bsd provides
 lpd client-side compatibility:

  "This package provides the BSD commands for interacting with CUPS.  It
   is provides separately to allow CUPS to coexist with other printing
   systems (to a small degree)."

 i manually copied over
 /usr/share/selinux/default/domains/program/lpd.te
 to /etc/selinux/... and the problem went away.

 l.

> -- 
> 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

-- 
-- 
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.

      reply	other threads:[~2004-05-18 14:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-18  9:48 [latest cvs]: build error on printer_device_t not recognised Luke Kenneth Casson Leighton
2004-05-18  9:51 ` Luke Kenneth Casson Leighton
2004-05-18 13:50 ` Russell Coker
2004-05-18 14:07   ` Luke Kenneth Casson Leighton [this message]

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=20040518140755.GD24917@lkcl.net \
    --to=lkcl@lkcl.net \
    --cc=russell@coker.com.au \
    --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.