All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] admin_firstboot.patch
@ 2008-09-24 20:54 Daniel J Walsh
  2008-09-25  7:13 ` Russell Coker
  0 siblings, 1 reply; 11+ messages in thread
From: Daniel J Walsh @ 2008-09-24 20:54 UTC (permalink / raw)
  To: refpolicy

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

http://people.fedoraproject.org/~dwalsh/SELinux/F10/admin_firstboot.patch

Remove TODO, If we have not done it yet we should forgetabout it

Needs to run as an xserver_unconfined

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkjaqP8ACgkQrlYvE4MpobNusQCdErcC5u3/Hu49J8DdHB8dcyYP
OhgAnidl5D06pFkqUWGox1h2Yuuzn6GA
=srgX
-----END PGP SIGNATURE-----

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

* [refpolicy] admin_firstboot.patch
  2008-09-24 20:54 [refpolicy] admin_firstboot.patch Daniel J Walsh
@ 2008-09-25  7:13 ` Russell Coker
  2008-09-25 20:12   ` Daniel J Walsh
  0 siblings, 1 reply; 11+ messages in thread
From: Russell Coker @ 2008-09-25  7:13 UTC (permalink / raw)
  To: refpolicy

On Thursday 25 September 2008 06:54, Daniel J Walsh <dwalsh@redhat.com> wrote:
> http://people.fedoraproject.org/~dwalsh/SELinux/F10/admin_firstboot.patch
>
> Remove TODO, If we have not done it yet we should forgetabout it
>
> Needs to run as an xserver_unconfined

What is the point of having a firstboot_t?  Why not just make it a typealias 
for unconfined_t?

-- 
russell at coker.com.au
http://etbe.coker.com.au/          My Blog

http://www.coker.com.au/sponsorship.html Sponsoring Free Software development

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

* [refpolicy] admin_firstboot.patch
  2008-09-25  7:13 ` Russell Coker
@ 2008-09-25 20:12   ` Daniel J Walsh
  2008-09-25 21:00     ` Russell Coker
  0 siblings, 1 reply; 11+ messages in thread
From: Daniel J Walsh @ 2008-09-25 20:12 UTC (permalink / raw)
  To: refpolicy

Russell Coker wrote:
> On Thursday 25 September 2008 06:54, Daniel J Walsh <dwalsh@redhat.com> wrote:
>> http://people.fedoraproject.org/~dwalsh/SELinux/F10/admin_firstboot.patch
>>
>> Remove TODO, If we have not done it yet we should forgetabout it
>>
>> Needs to run as an xserver_unconfined
> 
> What is the point of having a firstboot_t?  Why not just make it a typealias 
> for unconfined_t?
> 
Probably not, although there may be some transitions for firstboot_t
which are not there for unconfined_t.  Both are unconfined domains.

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

* [refpolicy] admin_firstboot.patch
  2008-09-25 20:12   ` Daniel J Walsh
@ 2008-09-25 21:00     ` Russell Coker
  2008-09-26 12:55       ` Daniel J Walsh
  0 siblings, 1 reply; 11+ messages in thread
From: Russell Coker @ 2008-09-25 21:00 UTC (permalink / raw)
  To: refpolicy

On Friday 26 September 2008 06:12, Daniel J Walsh <dwalsh@redhat.com> wrote:
> Russell Coker wrote:
> > On Thursday 25 September 2008 06:54, Daniel J Walsh <dwalsh@redhat.com> 
wrote:
> >> http://people.fedoraproject.org/~dwalsh/SELinux/F10/admin_firstboot.patc
> >>h
> >>
> >> Remove TODO, If we have not done it yet we should forgetabout it
> >>
> >> Needs to run as an xserver_unconfined
> >
> > What is the point of having a firstboot_t?  Why not just make it a
> > typealias for unconfined_t?
>
> Probably not, although there may be some transitions for firstboot_t
> which are not there for unconfined_t.  Both are unconfined domains.

Why would you want such a transition?

firstboot is used to configure firewalls and things, being able to configure 
them as unconfined_t is desirable and probably necessary.

>From a high-level concept I can't imagine why you would want firstboot_t 
having any transition that unconfined_t lacks.

In terms of reducing policy size (and therefore memory use and disk space), 
removing needless unconfined domains is the best thing to do.

A recent change that I've made is removing unconfined_crond_t and making 
unconfined cron jobs run as unconfined_t.

I'm also wondering whether any of the $1_crond_t domains actually do any good.

-- 
russell at coker.com.au
http://etbe.coker.com.au/          My Blog

http://www.coker.com.au/sponsorship.html Sponsoring Free Software development

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

* [refpolicy] admin_firstboot.patch
  2008-09-25 21:00     ` Russell Coker
@ 2008-09-26 12:55       ` Daniel J Walsh
  2008-09-26 20:34         ` Russell Coker
  0 siblings, 1 reply; 11+ messages in thread
From: Daniel J Walsh @ 2008-09-26 12:55 UTC (permalink / raw)
  To: refpolicy

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Russell Coker wrote:
> On Friday 26 September 2008 06:12, Daniel J Walsh <dwalsh@redhat.com> wrote:
>> Russell Coker wrote:
>>> On Thursday 25 September 2008 06:54, Daniel J Walsh <dwalsh@redhat.com> 
> wrote:
>>>> http://people.fedoraproject.org/~dwalsh/SELinux/F10/admin_firstboot.patc
>>>> h
>>>>
>>>> Remove TODO, If we have not done it yet we should forgetabout it
>>>>
>>>> Needs to run as an xserver_unconfined
>>> What is the point of having a firstboot_t?  Why not just make it a
>>> typealias for unconfined_t?
>> Probably not, although there may be some transitions for firstboot_t
>> which are not there for unconfined_t.  Both are unconfined domains.
> 
> Why would you want such a transition?
> 
Well we also have the problem of machines without the unconfined domain.
 (MLS, Strict).  So I am not sure how to fix those.  As I have stated
before I think removing the unconfined domain is a mistake, I would much
rather be able to take the unconfined_domain privs away from initrc_t
and other unconfined domains and leave unconfined_t even for MLS
machines, when running as full administrator.  Tools like rpm and dpkg,
firstboot are almost always going to need to be unconfined.  file_trans
is what I was talking about.  Making sure files created in /etc have the
right context.  We can experiment with removing firstboot policy after
F10 is released, to make sure it does not cause any problems.
> firstboot is used to configure firewalls and things, being able to configure 
> them as unconfined_t is desirable and probably necessary.
> 
> From a high-level concept I can't imagine why you would want firstboot_t 
> having any transition that unconfined_t lacks.
> 
> In terms of reducing policy size (and therefore memory use and disk space), 
> removing needless unconfined domains is the best thing to do.
> 
> A recent change that I've made is removing unconfined_crond_t and making 
> unconfined cron jobs run as unconfined_t.
> 
> I'm also wondering whether any of the $1_crond_t domains actually do any good.
> 
Fedora does not use $1_crond_t any longer.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkjc26oACgkQrlYvE4MpobPALQCggiaj+TVbCDBcXx35WtzI25l+
BP8AoKS20L3NUo8zuOWZMA+558IcrY9+
=Ni/E
-----END PGP SIGNATURE-----

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

* [refpolicy] admin_firstboot.patch
  2008-09-26 12:55       ` Daniel J Walsh
@ 2008-09-26 20:34         ` Russell Coker
  0 siblings, 0 replies; 11+ messages in thread
From: Russell Coker @ 2008-09-26 20:34 UTC (permalink / raw)
  To: refpolicy

On Friday 26 September 2008 22:55, Daniel J Walsh <dwalsh@redhat.com> wrote:
> >> Probably not, although there may be some transitions for firstboot_t
> >> which are not there for unconfined_t.  Both are unconfined domains.
> >
> > Why would you want such a transition?
>
> Well we also have the problem of machines without the unconfined domain.
>  (MLS, Strict).  So I am not sure how to fix those.  As I have stated

Is it now possible to have a machine installed with MLS policy and never run 
any other policy?

> before I think removing the unconfined domain is a mistake, I would much
> rather be able to take the unconfined_domain privs away from initrc_t
> and other unconfined domains and leave unconfined_t even for MLS
> machines, when running as full administrator.

That sounds reasonable.

> > I'm also wondering whether any of the $1_crond_t domains actually do any
> > good.
>
> Fedora does not use $1_crond_t any longer.

So staff_t cron jobs run as staff_t etc?

OK, I'll do the same for Lenny.

-- 
russell at coker.com.au
http://etbe.coker.com.au/          My Blog

http://www.coker.com.au/sponsorship.html Sponsoring Free Software development

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

* [refpolicy] admin_firstboot.patch
@ 2010-02-23 19:04 Daniel J Walsh
  0 siblings, 0 replies; 11+ messages in thread
From: Daniel J Walsh @ 2010-02-23 19:04 UTC (permalink / raw)
  To: refpolicy

http://people.fedoraproject.org/~dwalsh/SELinux/F13/admin_firstboot.patch

First boot sends dbus messages.

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

* [refpolicy] admin_firstboot.patch
@ 2010-06-02 19:47 Daniel J Walsh
  2010-07-01 14:51 ` Christopher J. PeBenito
  0 siblings, 1 reply; 11+ messages in thread
From: Daniel J Walsh @ 2010-06-02 19:47 UTC (permalink / raw)
  To: refpolicy

http://people.fedoraproject.org/~dwalsh/SELinux/F14/admin_firstboot.patch

firstboot needs to domtrans to depmod to maintain proper labeling.

Also writes to gnome content

Needs to start xserver

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

* [refpolicy] admin_firstboot.patch
  2010-06-02 19:47 Daniel J Walsh
@ 2010-07-01 14:51 ` Christopher J. PeBenito
  0 siblings, 0 replies; 11+ messages in thread
From: Christopher J. PeBenito @ 2010-07-01 14:51 UTC (permalink / raw)
  To: refpolicy

On 06/02/10 15:47, Daniel J Walsh wrote:
> http://people.fedoraproject.org/~dwalsh/SELinux/F14/admin_firstboot.patch
>
> firstboot needs to domtrans to depmod to maintain proper labeling.
>
> Also writes to gnome content
>
> Needs to start xserver

Merged.

-- 
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com

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

* [refpolicy] admin_firstboot.patch
@ 2010-08-26 20:33 Daniel J Walsh
  2010-09-15 13:20 ` Christopher J. PeBenito
  0 siblings, 1 reply; 11+ messages in thread
From: Daniel J Walsh @ 2010-08-26 20:33 UTC (permalink / raw)
  To: refpolicy

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

http://people.fedoraproject.org/~dwalsh/SELinux/F14/admin_firstboot.patch

first boot runs consoletype

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkx2z34ACgkQrlYvE4MpobPjlwCgnTbsClPZQwaMDSV/ZAQiEXhy
Qx4AoLfW4XP3OKizSctKyWfnioi9hRFv
=OGtO
-----END PGP SIGNATURE-----

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

* [refpolicy] admin_firstboot.patch
  2010-08-26 20:33 Daniel J Walsh
@ 2010-09-15 13:20 ` Christopher J. PeBenito
  0 siblings, 0 replies; 11+ messages in thread
From: Christopher J. PeBenito @ 2010-09-15 13:20 UTC (permalink / raw)
  To: refpolicy

On 08/26/10 16:33, Daniel J Walsh wrote:
> http://people.fedoraproject.org/~dwalsh/SELinux/F14/admin_firstboot.patch
>
> first boot runs consoletype

Merged.

-- 
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com

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

end of thread, other threads:[~2010-09-15 13:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-24 20:54 [refpolicy] admin_firstboot.patch Daniel J Walsh
2008-09-25  7:13 ` Russell Coker
2008-09-25 20:12   ` Daniel J Walsh
2008-09-25 21:00     ` Russell Coker
2008-09-26 12:55       ` Daniel J Walsh
2008-09-26 20:34         ` Russell Coker
  -- strict thread matches above, loose matches on Subject: below --
2010-02-23 19:04 Daniel J Walsh
2010-06-02 19:47 Daniel J Walsh
2010-07-01 14:51 ` Christopher J. PeBenito
2010-08-26 20:33 Daniel J Walsh
2010-09-15 13:20 ` Christopher J. PeBenito

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.