SELinux targeted preventing gnome-volume-manager from automounting filesystems


[user@surrey ~]: gnome-volume-manager ** (gnome-volume-manager:10207): WARNING **: manager.c/912: failed to initialize HAL!

Generate policy rules using audit2allow

[root@surrey ~]# audit2allow -i /var/log/messages allow initrc_t unconfined_t:dbus send_msg; allow unconfined_t initrc_t:dbus { acquire_svc send_msg };

Install policy source rpm

[root@surrey ~]# yum install selinux-policy-targeted-sources

Add local rules to local.te

[root@surrey ~]# pushd /etc/selinux/tar
Wordpress category: 

Displaying international characters in Firefox (installing unicode fonts in fontconfig)

Using unicode fonts is the easiest way to properly display hindi, arabic, hebrew and other non latin languages. We install the unicode fonts in a local directory and then tell fontconfig to look in that directory. Edit /etc/fonts/local.conf

Then tell fontconfig to rehash it's tables
[root@host] # fc-cache
Check that your new font is there
[root@host] # fc-list |grep
Wordpress category: 

Radio Codes

10-1   Signal weak                   10-8   In service
10-2   Signal good                   10-9   Repeat
10-3   Stop transmitting             10-10  Negative
10-4   Affirmative                   10-12  Stand by
10-6   Busy                          10-19  Return to station
10-7   Out of service                10-23  Arrived at scene
Wordpress category: 

Xnewt dying on SunRay 3.0

After modifying gdm.conf we noticed that Xnewt would not start properly on occassion. Xnewt was not ignoring the vt[0-9] command line option sent to X to specify a virtual console on which to run. We removed this from the command line sent to Xnewt and renamed Xnewt to Xnewt.sun
pushd /usr/X11R6/bin
mv Xnewt Xnewt.sun
echo Xnewt

XFIX=`echo $@ |sed -e's/vt[0-9]*//'`
echo `date`: ARGS=$@ XFIX=$XFIX >>/var/log/Xnewt

exec Xnewt.sun $XFIX -fp unix/:7100
chmod 755 Xnewt
Wordpress category: