I think this original message got lost in moderator land as I sent it
without being on the list, apologies if this was already received:

-------- Original Message --------
Subject:        udev detection in si_updateclient
Date:   Wed, 01 Aug 2007 09:54:21 +1000
From:   Anthony Menasse <[EMAIL PROTECTED]>
To:     sisuite-devel@lists.sourceforge.net



On our old Fedora Core 3 systems I think the udev database is stored as
a file not in a directory, so the udev detection code in si_updateclient
fails.

Heres the simple fix thats working for us:

--- trunk/sbin/si_updateclient.orig     2007-08-01 09:43:16.000000000 +1000
+++ trunk/sbin/si_updateclient  2007-08-01 09:45:01.000000000 +1000
@@ -480,7 +480,7 @@
     $cmdopts .= " --exclude=lost+found/";

     # Automatically exclude /dev if udev is detected. -AR-
-    if (-d '/dev/.udevdb') {
+    if ( (-d '/dev/.udevdb') || ( -f '/dev/.udev.tdb' ) ) {
         $cmdopts .= " --exclude=/dev/";
     }


Cheers
Anthony


-- 
anthony menasse
systems administrator | [EMAIL PROTECTED]
rising sun pictures | www.rsp.com.au
direct line +61 2 9384 4572




-- 
anthony menasse
systems administrator | [EMAIL PROTECTED]
rising sun pictures | www.rsp.com.au
direct line +61 2 9384 4572


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
sisuite-devel mailing list
sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to