All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Krumviede <pwk@acm.org>
To: Johan Camp <johan.camp@student.kuleuven.ac.be>
Cc: SELinux@tycho.nsa.gov
Subject: Re: problems after installing selinux
Date: Mon, 10 Dec 2001 16:59:01 -0800	[thread overview]
Message-ID: <192900656.1008003541@localhost> (raw)
In-Reply-To: <3C155620.91A01E40@student.kuleuven.ac.be>

do you see messages in dmesg such as

AVC:  allocated 14760 bytes during initialization.
SELinux:  module inserted

or, from messages,

Dec 10 16:49:15 zfc kernel: security:  starting up (compiled Nov 27 2001)
Dec 10 16:49:15 zfc kernel: security:  loading policy configuration from 
/ss_policy
Dec 10 16:49:15 zfc kernel: security:  3 users, 6 roles, 372 types
Dec 10 16:49:15 zfc kernel: security:  29 classes, 70479 rules


if not, i'd check to see if the SELinux kernel configuration
flags are set correctly (for example, make sure that
CONFIG_SECURITY_SELINUX=y is present in the
kernel configuration file) and that a policy configuration exists in 
/ss_policy.

-paul

--On Tuesday, 11 December, 2001 01:41 +0100 Johan Camp 
<johan.camp@student.kuleuven.ac.be> wrote:

> Paul Krumviede wrote:
>>
>> --On Monday, 10 December, 2001 22:55 +0100 Johan Camp
>> <johan.camp@student.kuleuven.ac.be> wrote:
>>
>> > Hi
>> >
>> > I recently installed selinux (the 2.4-14-lsm kernel) on my SuSE 7.2
>> > system. After compiling and installing the kernel and all other
>> > utilities (exactly as described in the selinux/README file). I have the
>> > folowing problem:
>> >
>> > - when entering the 'ls --context' command I get the message "Sorry,
>> > --context can be used only on a flask-enabled kernel".
>> >
>> > - when entering the 'ps -e --context' command, all processes have SID =
>> > 3 and CONTEXT = -
>> >
>> > Can anyone tell me how I can solve this problem?
>>
>> this is what happens when a non-selinux kernel is booted. did you
>> fix up /etc/lilo.conf and run lilo to make sure the new kernel is
>> available at boot time?
>
> Yes, I am sure of that. Another indicator is that the tty login used to
> show "suse linux 2.4-4" and now shows "2.4-14-lsm", so this should be
> correct (in a more scientific approach, I checked the lilo.conf file in
> which '/boot/vmlinuz' is indicated as kernel image. 'ls -l
> /boot/vmlinuz' shows this file was put there on dec 10 2002).
>
> Any other suggestions are welcome
>
> Thanx
>
>
> Johan Camp
> KULeuven\x18
>
> ps: oh yes, and I didn't forget to select the "NSA SELinux" option in
> the make menuconfig menu either.
>



--
You have received this message because you are subscribed to the selinux 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:[~2001-12-11  0:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-10 21:55 problems after installing selinux Johan Camp
2001-12-11  0:12 ` Paul Krumviede
2001-12-11  0:41   ` Johan Camp
2001-12-11  0:59     ` Paul Krumviede [this message]
2001-12-11 13:32 ` Stephen Smalley
2001-12-11 17:21   ` RH72 psmisc patch Shaun Savage
2001-12-11 17:54     ` Stephen Smalley

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=192900656.1008003541@localhost \
    --to=pwk@acm.org \
    --cc=SELinux@tycho.nsa.gov \
    --cc=johan.camp@student.kuleuven.ac.be \
    /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.