Subject: misc/4357: /etc/weeky used /usr/lib/uucp instead of /usr/libexec/uucp
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 10/27/1997 02:26:03
>Number: 4357
>Category: misc
>Synopsis: /etc/weeky used /usr/lib/uucp instead of /usr/libexec/uucp
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 26 17:35:06 1997
>Last-Modified:
>Originator: Matthias Scheler
>Organization:
Matthias Scheler http://home.owl.de/~tron/
>Release: 971021
>Environment:
System: NetBSD lyssa 1.3_ALPHA NetBSD 1.3_ALPHA (LYSSA) #0: Thu Oct 23 10:44:51 MEST 1997 tron@lyssa:/src/src/sys/arch/i386/compile/LYSSA i386
>Description:
"/etc/weekly" offers the possibility to clean up your UUCP. However it
looks for a script called "clean.weekly" in "/usr/lib/uucp" instead of
"/usr/libexec/uucp".
>How-To-Repeat:
less /usr/src/etc/weekly
>Fix:
*** src/etc/weekly.orig Mon Mar 10 13:07:52 1997
--- src/etc/weekly Mon Oct 27 02:23:25 1997
*************** fi
*** 45,54 ****
# rm -rf $TDIR
#fi
! if [ "$clean_uucp" = YES ] && [ -f /usr/lib/uucp/clean.weekly ]; then
echo ""
echo "Cleaning up UUCP:"
! echo /usr/lib/uucp/clean.weekly | su daemon
fi
echo ""
--- 45,54 ----
# rm -rf $TDIR
#fi
! if [ "$clean_uucp" = YES ] && [ -f /usr/libexec/uucp/clean.weekly ]; then
echo ""
echo "Cleaning up UUCP:"
! echo /usr/libexec/uucp/clean.weekly | su daemon
fi
echo ""
>Audit-Trail:
>Unformatted: