Research Menu

.
Skip Search Box

SELinux Mailing List

Re: SE Linux on Debian

From: Brian May <bam_at_snoopy.apana.org.au>
Date: Wed, 2 Oct 2002 11:48:15 +1000


On Tue, Oct 01, 2002 at 03:36:38PM -0700, Tracy R Reed wrote:
> Here are the debs:
> libselinux-dev
> selinux
> selinux-policy-default
>
> But the new ps, ls, sshd, etc. do not seem to be included here. Where do I
> get those? Are they not in a deb?

I think you are looking for the coreutils, fileutils, shellutils, and procps packages.

> ERROR 'parse error' at token 'run_program' on line 71322:
> run_program(sysadm_t, sysadm_r, deb, dpkg_exec_t, dpkg_t)
> #
> /usr/sbin/checkpolicy: error(s) encountered while parsing configuration
> make: *** [/etc/security/selinux/policy.12] Error 1
> dpkg: error processing selinux-policy-default (--configure):
> subprocess post-installation script returned error exit status 2
>
> Errors were encountered while processing:
> selinux-policy-default
> E: Sub-process /usr/bin/dpkg returned an error code (1)

I believe that problem should be fixed in my latest version.

Now I get another error though:

mkdir -p /etc/security/selinux
/usr/sbin/checkpolicy -o tmp/pol /etc/security/selinux/src/policy.conf
/usr/sbin/checkpolicy:  loading policy configuration from
/etc/security/selinux/src/policy.conf
ERROR 'unknown type devfs_t' at token ';' on line 49839: # allow writes to devpts devices
allow domain devfs_t:chr_file { ioctl read getattr lock write append }; /usr/sbin/checkpolicy: error(s) encountered while parsing configuration make: *** [/etc/security/selinux/policy.12] Error 1

Where is this type defined? It doesn't appear to be in domains/program/devfsd.te.

-- 
Brian May <bam@snoopy.apana.org.au>

--
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.
Received on Tue 1 Oct 2002 - 22:22:09 EDT
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service