All of lore.kernel.org
 help / color / mirror / Atom feed
* Documentation, anyone?
@ 2006-01-01 16:37 Erich Schubert
  2006-01-01 15:54 ` Ivan Gyurdiev
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Erich Schubert @ 2006-01-01 16:37 UTC (permalink / raw)
  To: SELinux

Hi,
Recent changes broke lots of stuff on my system.
For example, genhomedircon no longer reads my local.users file...
It seems that this is somehow related to semanage changes...
Which doesn't work for me, and I can't find *any* documentation on it.
So the current SELinux shape is IMHO really bad... no current
documentation, and even those who have working installations (like me)
have no idea how to get the latest stuff working... :-(

I have a user role "netuser" who is allowed to use the network to a
larger extend (e.g. bind to port_t). I'd like to make that the default
role for certain unix accounts...

$ semanage user --add -s netuser_u -R netuser_r erich
['netuser_r']
libsemanage.assert_init: A direct or server connection is needed to use
this function - please call the corresponding connect() method
libsemanage.enter_ro: could not enter read-only section
/usr/sbin/semanage: Seuser lerich already defined

I couldn't find an example for /etc/selinux/seusers, I guessed it looks
like
"lerich:netuser_u" but that didn't work either...

I've also investigated "genhomedircon", and what strikes me as really
bad code is that it keeps on calling an external "grep" on just about
everything.
Loading a file and applying a regexp is really easy in Python, you
know...

To all users of my Debian repository or Debian unstable:
Avoid upgrading for now if you are using extra user roles...

best regards,
Erich Schubert
-- 
   erich@(vitavonni.de|debian.org)    --    GPG Key ID: 4B3A135C    (o_
     We can debug relationships, but it's always good policy to     //\
     consider the people themselves to be features. People get      V_/_
         annoyed when you try to debug them. -- Larry Wall
      Alles verändert sich, sobald man sich selber verändert.



--
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] 13+ messages in thread
* Re: Documentation, anyone?
@ 2006-01-01 20:33 Erich Schubert
  2006-01-01 19:29 ` Ivan Gyurdiev
  0 siblings, 1 reply; 13+ messages in thread
From: Erich Schubert @ 2006-01-01 20:33 UTC (permalink / raw)
  To: Ivan Gyurdiev; +Cc: SELinux

Hello Ivan,
[sorry for not having the in-reply-to header, I'm not subscribed to the
list]
I'm not running Fedora.
The reason why I'd like to find out more on the seusers file is because
the latest genhomedircon "depends" on this file. But I couldn't find one
anywhere.
Obviously, I don't have your <type>/modules/active directory either...
And none of this was included with the semanage source I have, nor is it
explained in the manpages or a "doc" subdir in the source...

Yes, I'm running a "plain old" strict policy...

Oh, and in genhomedircon, the third component is not entirely optional:
probably line 201, "if len(user) < 3:" should be < 2 then... ;-)
(in the non-semanaged case)

best regards,
Erich Schubert
-- 
    erich@(vitavonni.de|debian.org)    --    GPG Key ID: 4B3A135C    (o_
           There are only 10 types of people in the world:           //\
           Those who understand binary and those who don't           V_/_
   Die kürzeste Verbindung zwischen zwei Menschen ist ein Lächeln.



--
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] 13+ messages in thread

end of thread, other threads:[~2006-01-04 13:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-01 16:37 Documentation, anyone? Erich Schubert
2006-01-01 15:54 ` Ivan Gyurdiev
2006-01-01 16:41 ` Debian users: don't upgrade for now Erich Schubert
2006-01-03 16:52   ` Stephen Smalley
2006-01-01 20:19 ` more genhomedircon badness Erich Schubert
2006-01-01 19:36   ` Ivan Gyurdiev
2006-01-03 16:56   ` Stephen Smalley
2006-01-02 19:44 ` Documentation, anyone? Joshua Brindle
2006-01-03 16:47 ` Stephen Smalley
2006-01-03 22:31   ` Erich Schubert
2006-01-04 13:09     ` Stephen Smalley
  -- strict thread matches above, loose matches on Subject: below --
2006-01-01 20:33 Erich Schubert
2006-01-01 19:29 ` Ivan Gyurdiev

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.