From owner-freebsd-bugs Wed Aug 20 15:44:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA14066 for bugs-outgoing; Wed, 20 Aug 1997 15:44:41 -0700 (PDT) Received: from merchant.tns.net (tcilx.terracom-usa.com [204.216.142.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA14059 for ; Wed, 20 Aug 1997 15:44:35 -0700 (PDT) Received: (from tiller@localhost) by merchant.tns.net (8.8.6/8.8.6) id PAA15673; Wed, 20 Aug 1997 15:39:36 -0700 (PDT) Message-Id: <199708202239.PAA15673@merchant.tns.net> From: "Studded" To: "freebsd-bugs@freebsd.org" Date: Wed, 20 Aug 97 15:43:56 -0700 Reply-To: "Studded" Priority: Normal X-Mailer: PMMail 1.92 For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Fwd: Re: bin/4308 Sender: owner-freebsd-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Forgot to cc: the list. Doug ==================BEGIN FORWARDED MESSAGE================== >From: "Studded" >To: "Andreas Klemm" >Date: Tue, 19 Aug 97 03:50:08 -0700 On Sun, 17 Aug 1997 08:21:53 -0700 (PDT), Andreas Klemm wrote: >Synopsis: FreeBSD uses an out of date version of vixie cron > >State-Changed-From-To: open-feedback >State-Changed-By: andreas >State-Changed-When: Sun Aug 17 17:20:08 MEST 1997 >State-Changed-Why: > >could you please update your system to 2.2-STABLE and re-try ? Well, I have a small problem, namely that I can't upgrade any of my production systems right now, and it'll be a few days before I can set up a test system. One of our systems is an older -stable, 2.2-STABLE FreeBSD 2.2-STABLE #0: Wed Jul 9 19:28:21 PDT 1997 But this system has the same problem (leaving the ghost cron process behind). I tried getting the 8/18 -stable usbin sources and building cron, but I got the following errors after doing make clean then make: Warning: Object directory not changed from original /usr/src/usr.sbin/cron/lib cc -O2 -pipe -I/usr/src/usr.sbin/cron/lib/../cron -c entry.c -o entry.o cc -O2 -pipe -I/usr/src/usr.sbin/cron/lib/../cron -c env.c -o env.o cc -O2 -pipe -I/usr/src/usr.sbin/cron/lib/../cron -c misc.c -o misc.o building standard cron library ranlib libcron.a ===> cron Warning: Object directory not changed from original /usr/src/usr.sbin/cron/cron cc -O2 -pipe -DLOGIN_CAP -c cron.c cc -O2 -pipe -DLOGIN_CAP -c database.c cc -O2 -pipe -DLOGIN_CAP -c do_command.c do_command.c:32: login_cap.h: No such file or directory do_command.c: In function `child_process': do_command.c:228: `LOGIN_SETALL' undeclared (first use this function) do_command.c:228: (Each undeclared identifier is reported only once do_command.c:228: for each function it appears in.) do_command.c:228: `LOGIN_SETPATH' undeclared (first use this function) do_command.c:228: `LOGIN_SETENV' undeclared (first use this function) *** Error code 1 Stop. *** Error code 1 Stop. I finally figured out that it was looking for login_cap.h but not finding it, so I made a symbolic link to /usr/src/lib/libutil/login_cap.h and changed do_command.c to look in the cron/cron directory, and that got me through make clean, make depend. When I did make at this point, I got this: ===> cron Warning: Object directory not changed from original /usr/src/usr.sbin/cron/cron cc -O2 -pipe -DLOGIN_CAP -c cron.c cc -O2 -pipe -DLOGIN_CAP -c database.c cc -O2 -pipe -DLOGIN_CAP -c do_command.c cc -O2 -pipe -DLOGIN_CAP -c job.c cc -O2 -pipe -DLOGIN_CAP -c user.c cc -O2 -pipe -DLOGIN_CAP -c popen.c cc -O2 -pipe -DLOGIN_CAP -o cron cron.o database.o do_command.o job.o user.o popen.o -L/usr/src/usr.sbin/cron/cron/../lib -lutil -lcron do_command.o: Undefined symbol `_setusercontext' referenced from text segment *** Error code 1 Stop. *** Error code 1 Stop. We have now exceeded the limits of my understanding (I'm not a programmer). So if you have any suggestions, I'll be glad to do what I can. Otherwise I'll try and put together a 2.2.2-Release setup and test it again. Thanks for your interest, Doug Do thou amend they face, and I'll amend my life. -Shakespeare, "Henry V"