Skip to contentSkip to conversation

dpkg-reconfigure xserver-xfree86

DISCUSSION Luke Kenneth Casson Leighton 3 participants 3 messages Jun 2, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

russell, hi,

ah ha, you missed one :)

i frequently use dpkg-reconfigure xserver-xfree86 to reconfig X.

and of course a run_init /etc/init.d/kdm restart throws a wobbly because the /etc/X11/XF86Config-4 file is owned by root:sysadm_r:sysadm_t instead of system_u:...

so!

the setfiles trigger, /etc/dpkg/postinst.d/selinux, needs to be re-run after people use dpkg-reconfigure.

[luke smiles widely - or more specifically, turns corners of
mouth up and shows lots of teeth]

Signature · 15 lines
-- 
expecting email to be received and understood is a bit like
picking up the telephone and immediately dialing without
checking for a dial-tone; speaking immediately without listening
for either an answer or ring-tone; hanging up immediately and
believing that you have actually started a conversation.
--
<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

I have noticed the same issue with woody on one build when using xf86config to build the config file for X. Same system also gave me errors out the wazzu with handling support for X11-forwarded sessions over ssh. Rerunning the postinst script usually fixes anything i decide to monkey around with and break. Plus checking iptables first to make sure I didnt add any ports that I shouldnt have.

Jim McCullough

Quoted 10 lines · Luke Kenneth Casson Leighton

russell, hi,

ah ha, you missed one :)

i frequently use dpkg-reconfigure xserver-xfree86 to reconfig X.

and of course a run_init /etc/init.d/kdm restart throws a wobbly because the /etc/X11/XF86Config-4 file is owned by root:sysadm_r:sysadm_t instead of system_u:...

Quoted 10 lines

so!

the setfiles trigger, /etc/dpkg/postinst.d/selinux, needs to be re-run after people use dpkg-reconfigure.

[luke smiles widely - or more specifically, turns corners of mouth up and shows lots of teeth]

--
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
In reply to Luke Kenneth Casson Leighton
Quoted 3 lines · Luke Kenneth Casson Leighton

ah ha, you missed one :)

i frequently use dpkg-reconfigure xserver-xfree86 to reconfig X.

This is why there is se_dpkg-reconfigure .

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.