Fedora Core 4 Tips & Tricks

udev & non modular kernel

Seems something is amiss with this on FC4. The below makes things work again.
echo /sbin/udevsend > /proc/sys/kernel/hotplug
udevd&
I have that in my
/etc/rc.d/rc.local

The better fix is to change the line

[ -x /sbin/start_udev ] && /sbin/start_udev
in
/etc/rc.d/rc.sysinit
to
[ -x /sbin/start_udev ] && sysctl -w kernel.hotplug="/sbin/udevsend" >/dev/null 2>&1 && /sbin/start_udev
Heres the patch:
diff -ur rc.d/rc.sysinit rc.d.new/rc.sysinit
--- rc.d/rc.sysinit	2005-06-23 05:08:23.000000000 +0100
+++ rc.d.new/rc.sysinit	2005-06-23 05:08:36.000000000 +0100
@@ -123,7 +123,7 @@
 	/bin/dmesg -n $LOGLEVEL
 fi
 
-[ -x /sbin/start_udev ] && /sbin/start_udev
+[ -x /sbin/start_udev ] && sysctl -w kernel.hotplug="/sbin/udevsend" >/dev/null 2>&1 && /sbin/start_udev
 
 # Only read this once.
 cmdline=$(cat /proc/cmdline)

GTK apps outwith GNOME

When running GTK apps under something other than GNOME and you want a different theme applied. E.g the default GNOME/GTk theme on FC4 is Clearlooks. If you want to use the Bluecurve theme.

Create a file called

.gtkrc-2.0
in your home directory containing the following:

gtk-theme-name = "Bluecurve"
gtk-icon-theme-name = "Bluecurve"

Logging in from the console

If you find you can't login in the from console, this is likely due to missing audit support in the kernel.

It's in the General Setup menu as Auditing support.

Seems this was actually a kernel bug, so you don't need auditing support with recent kernels >= 2.6.14