All of lore.kernel.org
 help / color / mirror / Atom feed
* /etc/qt3/.qt*
@ 2004-08-01 19:40 Luke Kenneth Casson Leighton
  2004-08-01 20:19 ` /etc/qt3/.qt* Erich Schubert
  0 siblings, 1 reply; 7+ messages in thread
From: Luke Kenneth Casson Leighton @ 2004-08-01 19:40 UTC (permalink / raw)
  To: SE-Linux

hi there russell,

yes, after redoing the policy mods to get kde to work, i think
your idea of doing an etc_rw_t or xdm_var_run_t for /etc/qt3
is a good idea.

gawd only knows what kde (actually libqt) is doing needing to write 
lock files to /etc/qt3 but there y'go.

l.

-- 
-- 
Information I post is with honesty, integrity, and the expectation that
you will take full responsibility if acting on the information contained,
and that, should you find it to be flawed or even mildly useful, you
will act with both honesty and integrity in return - and tell me.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:lkcl@lkcl.net"> lkcl@lkcl.net </a> <br />


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

* Re: /etc/qt3/.qt*
  2004-08-01 19:40 /etc/qt3/.qt* Luke Kenneth Casson Leighton
@ 2004-08-01 20:19 ` Erich Schubert
  2004-08-02  7:52   ` /etc/qt3/.qt* Russell Coker
  2004-08-02 14:45   ` /etc/qt3/.qt* Luke Kenneth Casson Leighton
  0 siblings, 2 replies; 7+ messages in thread
From: Erich Schubert @ 2004-08-01 20:19 UTC (permalink / raw)
  To: Luke Kenneth Casson Leighton; +Cc: SE-Linux

Hi,

> gawd only knows what kde (actually libqt) is doing needing to write 
> lock files to /etc/qt3 but there y'go.

I don't have a /etc/qt3. And if i had it, it certainly would be mode
0755, so no user can write there (and i don't think running qt apps as
root is a good idea) - something must be wrong with your setup.

Greetings,
Erich Schubert
-- 
    erich@(vitavonni.de|debian.org)    --    GPG Key ID: 4B3A135C    (o_
  A polar bear is a rectangular bear after a coordinate transform.   //\
  Wenn zwei gute Freunde sind, die einander kennen, Sonn' und Mond   V_/_
    begegnen sich, ehe sie sich trennen. --- Clemens von Brentano


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

* Re: /etc/qt3/.qt*
  2004-08-01 20:19 ` /etc/qt3/.qt* Erich Schubert
@ 2004-08-02  7:52   ` Russell Coker
  2004-08-02 14:45   ` /etc/qt3/.qt* Luke Kenneth Casson Leighton
  1 sibling, 0 replies; 7+ messages in thread
From: Russell Coker @ 2004-08-02  7:52 UTC (permalink / raw)
  To: Erich Schubert; +Cc: Luke Kenneth Casson Leighton, SE-Linux

On Mon, 2 Aug 2004 06:19, Erich Schubert <erich@debian.org> wrote:
> > gawd only knows what kde (actually libqt) is doing needing to write
> > lock files to /etc/qt3 but there y'go.
>
> I don't have a /etc/qt3. And if i had it, it certainly would be mode
> 0755, so no user can write there (and i don't think running qt apps as
> root is a good idea) - something must be wrong with your setup.

I guess that would be kdm.  kdm calls lots of KDE library code, most of which 
assumes that it's doing stuff on behalf of a regular user.  Last time I ran 
kdm it wanted to write stuff under /root, /etc/qt3 is marginally better.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

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

* Re: /etc/qt3/.qt*
  2004-08-01 20:19 ` /etc/qt3/.qt* Erich Schubert
  2004-08-02  7:52   ` /etc/qt3/.qt* Russell Coker
@ 2004-08-02 14:45   ` Luke Kenneth Casson Leighton
  2004-08-02 15:27     ` /etc/qt3/.qt* Erich Schubert
  2004-08-02 16:10     ` /etc/qt3/.qt* Russell Coker
  1 sibling, 2 replies; 7+ messages in thread
From: Luke Kenneth Casson Leighton @ 2004-08-02 14:45 UTC (permalink / raw)
  To: Erich Schubert; +Cc: SE-Linux

On Sun, Aug 01, 2004 at 10:19:13PM +0200, Erich Schubert wrote:
> Hi,
> 
> > gawd only knows what kde (actually libqt) is doing needing to write 
> > lock files to /etc/qt3 but there y'go.
> 
> I don't have a /etc/qt3. And if i had it, it certainly would be mode
> 0755, so no user can write there (and i don't think running qt apps as
> root is a good idea) - something must be wrong with your setup.
 
 this is very strange.

 it's kde 3.2.2, bog-standard.
 
 and it's root that's trying to write there (xdm_t and xdm_server_t).

 debian/unstable, last dist-upgrade was done two, maybe three months
 ago.

 l.


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

* Re: /etc/qt3/.qt*
  2004-08-02 14:45   ` /etc/qt3/.qt* Luke Kenneth Casson Leighton
@ 2004-08-02 15:27     ` Erich Schubert
  2004-08-02 16:10     ` /etc/qt3/.qt* Russell Coker
  1 sibling, 0 replies; 7+ messages in thread
From: Erich Schubert @ 2004-08-02 15:27 UTC (permalink / raw)
  To: Luke Kenneth Casson Leighton; +Cc: SE-Linux

Well, i do not have "kdm" installed.
I prefer gnome anyway, and especiall "gdm" is a log nicer than kdm.

Greetings,
Erich Schubert
-- 
   erich@(vitavonni.de|debian.org)    --    GPG Key ID: 4B3A135C    (o_
       The best things in life are free: Friendship and Love.       //\
    Zwei Freunde müssen sich im Herzen ähneln, in allem anderen     V_/_
       können sie grundverschieden sein. --- Sully Prudhomme



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

* Re: /etc/qt3/.qt*
  2004-08-02 14:45   ` /etc/qt3/.qt* Luke Kenneth Casson Leighton
  2004-08-02 15:27     ` /etc/qt3/.qt* Erich Schubert
@ 2004-08-02 16:10     ` Russell Coker
  2004-08-02 19:10       ` /etc/qt3/.qt* Luke Kenneth Casson Leighton
  1 sibling, 1 reply; 7+ messages in thread
From: Russell Coker @ 2004-08-02 16:10 UTC (permalink / raw)
  To: Luke Kenneth Casson Leighton; +Cc: Erich Schubert, SE-Linux

On Tue, 3 Aug 2004 00:45, Luke Kenneth Casson Leighton <lkcl@lkcl.net> wrote:
> > I don't have a /etc/qt3. And if i had it, it certainly would be mode
> > 0755, so no user can write there (and i don't think running qt apps as
> > root is a good idea) - something must be wrong with your setup.
>
>  this is very strange.
>
>  it's kde 3.2.2, bog-standard.
>
>  and it's root that's trying to write there (xdm_t and xdm_server_t).

xdm_t is for kdm as I previously mentioned.

Is xdm_xserver_t (the X server domain) REALLY trying to write to those files?  
Or is it just inheriting open file handles from kdm?

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

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

* Re: /etc/qt3/.qt*
  2004-08-02 16:10     ` /etc/qt3/.qt* Russell Coker
@ 2004-08-02 19:10       ` Luke Kenneth Casson Leighton
  0 siblings, 0 replies; 7+ messages in thread
From: Luke Kenneth Casson Leighton @ 2004-08-02 19:10 UTC (permalink / raw)
  To: Russell Coker; +Cc: Erich Schubert, SE-Linux

On Tue, Aug 03, 2004 at 02:10:20AM +1000, Russell Coker wrote:
> On Tue, 3 Aug 2004 00:45, Luke Kenneth Casson Leighton <lkcl@lkcl.net> wrote:
> > > I don't have a /etc/qt3. And if i had it, it certainly would be mode
> > > 0755, so no user can write there (and i don't think running qt apps as
> > > root is a good idea) - something must be wrong with your setup.
> >
> >  this is very strange.
> >
> >  it's kde 3.2.2, bog-standard.
> >
> >  and it's root that's trying to write there (xdm_t and xdm_server_t).
> 
> xdm_t is for kdm as I previously mentioned.
> 
> Is xdm_xserver_t (the X server domain) REALLY trying to write to those files?  
> Or is it just inheriting open file handles from kdm?
 
 i'm on a building site today: i'll check the logs in the next
 couple days.  l.

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

end of thread, other threads:[~2004-08-02 19:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-01 19:40 /etc/qt3/.qt* Luke Kenneth Casson Leighton
2004-08-01 20:19 ` /etc/qt3/.qt* Erich Schubert
2004-08-02  7:52   ` /etc/qt3/.qt* Russell Coker
2004-08-02 14:45   ` /etc/qt3/.qt* Luke Kenneth Casson Leighton
2004-08-02 15:27     ` /etc/qt3/.qt* Erich Schubert
2004-08-02 16:10     ` /etc/qt3/.qt* Russell Coker
2004-08-02 19:10       ` /etc/qt3/.qt* Luke Kenneth Casson Leighton

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.