I spent an hour or so last night figuring out why the uucpd daemon wasn't starting from the rc.d/rc.uucp script. It turns out that the option parsing gets confused on the -l option to uucico, and adding ``--'' in front of the ``uucico -l'' part of the command (I think the last time I ran into this, I punted by starting uucico from inetd rather than try to figure out how uucpd really worked :-).
The patch to the uucp.spec file changes the ownership of everything to ``uucp'' instead of the openpkg defaults. While it works now with TCP connections, it wouldn't work on dialup uucp connections where one is using dial in and dial out on the same modem device. At least on Linux and SCO OpenServer systems, the getty procedures change the ownership of the modem devices to ``uucp'' while listening for connections, and at least ``uucico'' needs to be able to read and write these. I haven't tested this yet with dialup lines, but will be in the near future since I am going to be replacing our dialup uucp and HylaFAX machine which is now running Caldera OpenLinux 1.2 (kernel version 2.0.35). I will probably be building an OpenPKG package for HylaFAX when I do this. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``Never do your enemy a minor injury.'' - Machiavelli
--- rc.uucp.orig 2004-09-20 07:33:41.000000000 -0700 +++ rc.uucp 2005-03-02 12:06:04.833532068 -0800 @@ -21,7 +21,7 @@ } uucp_start () { ( @l_prefix@/sbin/uucpd ${uucp_bind}${uucp_bind:+:}${uucp_port:-uucp} \ - @l_prefix@/sbin/uucico ${uucp_flags} \ + -- @l_prefix@/sbin/uucico ${uucp_flags} \ </dev/null >/dev/null 2>&1 & echo $! >$uucp_pidfile ) </dev/null >/dev/null 2>&1
--- uucp.spec.orig 2004-10-11 11:49:21.000000000 -0700 +++ uucp.spec 2005-03-02 12:05:12.899871892 -0800 @@ -34,7 +34,7 @@ Group: Communication License: GPL Version: 1.07 -Release: 2.2.0 +Release: 20050302 # list of sources Source0: ftp://ftp.gnu.org/gnu/uucp/uucp-%{version}.tar.gz @@ -118,6 +118,7 @@ rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir strip $RPM_BUILD_ROOT%{l_prefix}/bin/* 2>/dev/null || true strip $RPM_BUILD_ROOT%{l_prefix}/sbin/* 2>/dev/null || true + %define l_files_defattr '%defattr(-,uucp,uucp)' %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ '%config %{l_prefix}/etc/uucp/*'