Skip to contentSkip to conversation

/etc/qt3/.qt*

DISCUSSION Luke Kenneth Casson Leighton 3 participants 7 messages Aug 1, 2004 – Aug 2, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

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.

Signature · 14 lines
-- 
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:[email protected]"> [email protected] </a> <br />


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw

Hi,

Quoted 2 lines

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

Signature · 10 lines
    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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw
Quoted 6 lines · Erich Schubert
Quoted 2 lines

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.

Signature · 9 lines
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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#3 lore raw
In reply to Erich Schubert
Quoted 8 lines · Erich Schubert

Hi,

Quoted 2 lines

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 [email protected] with the words "unsubscribe selinux" without quotes as the message.

#4 lore raw

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

Greetings,
Erich Schubert

Signature · 11 lines
   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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#5 lore raw
In reply to Luke Kenneth Casson Leighton
Quoted 9 lines · Luke Kenneth Casson Leighton
Quoted 3 lines

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?

Signature · 9 lines
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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#6 lore raw
Quoted 7 lines · Russell Coker
Quoted 6 lines · Luke Kenneth Casson Leighton
Quoted 3 lines

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.

Quoted 8 lines
Quoted 3 lines

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 [email protected] with the words "unsubscribe selinux" without quotes as the message.