All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] xconsole and related stuff patch
@ 2011-11-07 12:46 Russell Coker
  2011-11-08 13:59 ` Christopher J. PeBenito
  0 siblings, 1 reply; 3+ messages in thread
From: Russell Coker @ 2011-11-07 12:46 UTC (permalink / raw)
  To: refpolicy

The attached patch moves the xconsole policy to logging.pp from the xserver 
policy.  It's more about logging than the X server and there are a lot of 
systems which have syslogd configured to write to /dev/xconsole but that have 
no X server installed.

Also included some changes to init.te which are specific to Debian and 
Postfix.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xconsole.diff
Type: text/x-patch
Size: 7326 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20111107/d15d58c7/attachment.bin 

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

* [refpolicy] xconsole and related stuff patch
  2011-11-07 12:46 [refpolicy] xconsole and related stuff patch Russell Coker
@ 2011-11-08 13:59 ` Christopher J. PeBenito
  2011-11-08 14:09   ` Russell Coker
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher J. PeBenito @ 2011-11-08 13:59 UTC (permalink / raw)
  To: refpolicy

On 11/07/11 07:46, Russell Coker wrote:
> The attached patch moves the xconsole policy to logging.pp from the xserver 
> policy.  It's more about logging than the X server and there are a lot of 
> systems which have syslogd configured to write to /dev/xconsole but that have 
> no X server installed.

I'm afraid I don't agree; its still associated with display on X, even without a functioning X server.  When you say that there are lot of systems with syslogd using xconsole, are you referring to Debian systems?  The last time I remember seeing any system using xconsole in any fashion was a long time ago, but I don't use Debian.
 
> Also included some changes to init.te which are specific to Debian and 
> Postfix.

It looks like there are some problems with encapsulation breakage and whitespace errors (spaces vs tabs).

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

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

* [refpolicy] xconsole and related stuff patch
  2011-11-08 13:59 ` Christopher J. PeBenito
@ 2011-11-08 14:09   ` Russell Coker
  0 siblings, 0 replies; 3+ messages in thread
From: Russell Coker @ 2011-11-08 14:09 UTC (permalink / raw)
  To: refpolicy

On Wed, 9 Nov 2011, "Christopher J. PeBenito" <cpebenito@tresys.com> wrote:
> On 11/07/11 07:46, Russell Coker wrote:
> > The attached patch moves the xconsole policy to logging.pp from the
> > xserver policy.  It's more about logging than the X server and there are
> > a lot of systems which have syslogd configured to write to /dev/xconsole
> > but that have no X server installed.
> 
> I'm afraid I don't agree; its still associated with display on X, even
> without a functioning X server.

Or any other process running as root or the adm group that is configured to 
read it.

> When you say that there are lot of
> systems with syslogd using xconsole, are you referring to Debian systems? 

Yes, syslogd is configured to write to it regardless of whether X is 
installed.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

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

end of thread, other threads:[~2011-11-08 14:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-07 12:46 [refpolicy] xconsole and related stuff patch Russell Coker
2011-11-08 13:59 ` Christopher J. PeBenito
2011-11-08 14:09   ` Russell Coker

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.