All of lore.kernel.org
 help / color / mirror / Atom feed
* selinux-policy-default
@ 2004-02-06  5:57 Eric Estabrooks
  2004-02-06 10:31 ` selinux-policy-default Tomas Hoger
  2004-02-06 12:39 ` selinux-policy-default Russell Coker
  0 siblings, 2 replies; 15+ messages in thread
From: Eric Estabrooks @ 2004-02-06  5:57 UTC (permalink / raw)
  To: selinux

[-- Attachment #1: Type: text/plain, Size: 888 bytes --]

I'm running debian unstable with a 2.6.2 kernel se-enabled.  I was 
following the new selinux how to ( 
http://sourceforge.net/docman/display_doc.php?docid=20372&group_id=21266 
) and I've gotten stuck on the selinux-policy-default install.  It seems 
that the types for xxx_locate_t aren't defined.

[ snip lots of yes/no questions ]
Installing the new SE Linux policy
/usr/bin/checkpolicy:  loading policy configuration from 
/etc/security/selinux/src/policy.conf
domains/admin.te:32:ERROR 'unknown type sysadm_locate_t' at token ';' on 
line 5974:
allow sysadm_locate_t { sysadm_mozilla_ro_t sysadm_mozilla_rw_t }:dir { 
getattr
search };

I searched for type lines for sysadm_locate_t but couldn't find any in 
any of the .te files and I don't know what they should look like to 
generate my own.  Can someone point me to documentation that would 
explain these types?

Thanks,

Eric

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3174 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread
* selinux-policy-default
@ 2003-12-02 12:18 Chris Vanden Berghe
  2003-12-02 13:56 ` selinux-policy-default Tom
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Chris Vanden Berghe @ 2003-12-02 12:18 UTC (permalink / raw)
  To: SELinux Mail List

Hi,

Already mentioned this quickly on #selinux, but thought it would useful
to put it on the mailing list with some more info too.

I tried installing the new selinux version for kernel 2.6.0-test11 under
Debian.  Started by installing libselinux1 from Russells newselinux
archives, this worked just fine.  But when afterwards I tried installing
selinux-policy-default, then I got the error message below:

dpkg --install
/var/cache/apt/archives/selinux-policy-default_1%3a1.2.real-13_all.deb
(Reading database ... 112169 files and directories currently installed.)
Preparing to replace selinux-policy-default 1:1.2.real-13 (using
.../selinux-policy-default_1%3a1.2.real-13_all.deb) ...
Unpacking replacement selinux-policy-default ...
Setting up selinux-policy-default (1.2.real-13) ...
/etc/selinux does not exist, aborting!
run-parts: /etc/dpkg/postinst.d/selinux exited with return code 1
"/bin/run-parts --arg=selinux-policy-default /etc/dpkg/postinst.d"
failed: 256
dpkg: error processing selinux-policy-default (--install):
1Error running trigger postinst: No such file or directory
Errors were encountered while processing:
selinux-policy-default

Does anybody know how/when the /etc/selinux directory is supposed to be
created?

Tnx,
Chris.



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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2004-02-06 15:10 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-06  5:57 selinux-policy-default Eric Estabrooks
2004-02-06 10:31 ` selinux-policy-default Tomas Hoger
2004-02-06 13:01   ` selinux-policy-default Russell Coker
2004-02-06 12:39 ` selinux-policy-default Russell Coker
2004-02-06 15:09   ` selinux-policy-default Daniel J Walsh
  -- strict thread matches above, loose matches on Subject: below --
2003-12-02 12:18 selinux-policy-default Chris Vanden Berghe
2003-12-02 13:56 ` selinux-policy-default Tom
2003-12-02 14:41   ` selinux-policy-default Chris Vanden Berghe
2003-12-02 15:24     ` selinux-policy-default Tom
2003-12-02 14:59 ` selinux-policy-default Russell Coker
2003-12-02 15:24   ` selinux-policy-default Chris Vanden Berghe
2003-12-02 18:37     ` selinux-policy-default Russell Coker
2003-12-03 12:22       ` selinux-policy-default Chris Vanden Berghe
2003-12-02 18:54     ` selinux-policy-default Tom
2003-12-02 15:04 ` selinux-policy-default Dale Amon

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.