[SOLVED] Should SELinux be enabled?

This forum is for general chat between members about Mageia.

Technical questions are supposed to be posted in support forums. Not here !

[SOLVED] Should SELinux be enabled?

Postby tarazed » Jun 5th, '12, 08:17

Mageia 2 fully updated

Yesterday this message appeared in a gnome terminal:

** (gnome-system-monitor:4870): WARNING **: SELinux was found but is not enabled

This morning:
[lcl@belexeuli ~]$ gnome-system-monitor

** (gnome-system-monitor:17055): WARNING **: SELinux was found but is not enabled.

Should the following command output look different were SELinux enabled?
Code: Select all
[lcl@belexeuli menu]$ ls -Z
? commandlist  ? commandlist.bak  ? helplist

I am also puzzled by the appearance of the "live" group.
Code: Select all
[lcl@belexeuli menu]$ ls -l
total 12
-rw-r--r-- 1 lcl live 1264 May 20 10:28 commandlist
-rw-r--r-- 1 lcl live  242 May  9 23:01 commandlist.bak
-rw-r--r-- 1 lcl live  284 Jun  4 10:56 helplist

This system was built, I think (a bit confused after installing on
four different machines by various means), from the GNOME live CD.
/etc/release now says "Mageia release 2 (Official) for x86_64".
Last edited by tarazed on Jun 6th, '12, 01:29, edited 1 time in total.
tarazed
 
Posts: 273
Joined: Sep 18th, '11, 01:49

Re: Should SELinux be enabled?

Postby doktor5000 » Jun 5th, '12, 20:45

tarazed wrote:Should the following command output look different were SELinux enabled?
Code: Select all
[lcl@belexeuli menu]$ ls -Z
? commandlist  ? commandlist.bak  ? helplist

Yep, it would show the SELinux security context as documented in f.ex. http://docs.redhat.com/docs/en-US/Red_H ... texts.html
tarazed wrote:I am also puzzled by the appearance of the "live" group.
Code: Select all
[lcl@belexeuli menu]$ ls -l
total 12
-rw-r--r-- 1 lcl live 1264 May 20 10:28 commandlist
-rw-r--r-- 1 lcl live  242 May  9 23:01 commandlist.bak
-rw-r--r-- 1 lcl live  284 Jun  4 10:56 helplist

Well, depends how you setup that user. But IIRC "live" is the default user in livecds, and normally in Mageia each user has it's private group which is named after the user. So if you changed that username, but kep the group that would be normal.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Should SELinux be enabled?

Postby tarazed » Jun 5th, '12, 21:41

Thanks doktor5000. Your answer to the "live" question confirms what I thought. That SELinux stuff at RedHat is too much for me to take on board but my diagnostics indicate that we are running a kernel without SELinux enabled. It is not something I have ever had to worry about in the past so shall ignore it. The query marks in the ls -Z listings would indicate that there is no SELinux user policy.
[code[lcl@belexeuli ~]$ id -Z
id: --context (-Z) works only on an SELinux-enabled kernel
][/code]
tarazed
 
Posts: 273
Joined: Sep 18th, '11, 01:49

Re: Should SELinux be enabled?

Postby tarazed » Jun 5th, '12, 21:43

By the way, gnome-system-monitor seems to have been replaced by ksysguard in the release version. Looks better.
tarazed
 
Posts: 273
Joined: Sep 18th, '11, 01:49

Re: Should SELinux be enabled?

Postby doktor5000 » Jun 5th, '12, 22:38

Well, no the former is for GNOME and the latter is for KDE, those should be the default system monitors. KDE one can be called via Ctrl+Esc by default. Not sure for the GNOME one, though.

Care to mark the thread as [SOLVED] then?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Should SELinux be enabled?

Postby tarazed » Jun 6th, '12, 01:27

Yes, solved it is. I run under GNOME and on the laptop installation could not find gnome-system-monitor (no such command) and the menu icon invoked ksystemguard. There have been a couple of other instances where I have dragged and dropped a system icon onto the panel and found it pointing to a KDE utility. I started getting messages about no system tray. I think it was the release candidate. Anyway, water under the bridge now.
tarazed
 
Posts: 273
Joined: Sep 18th, '11, 01:49


Return to General discussions about Mageia

Who is online

Users browsing this forum: No registered users and 1 guest