From owner-freebsd-current@FreeBSD.ORG Sun Dec 4 18:30:09 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2F3116A41F; Sun, 4 Dec 2005 18:30:09 +0000 (GMT) (envelope-from null@pozo.com) Received: from pozo.com (pozo.com [216.101.162.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78C2A43D64; Sun, 4 Dec 2005 18:30:08 +0000 (GMT) (envelope-from null@pozo.com) Received: from sunpci.pozo.com (sunpci.pozo.com [192.168.0.29]) (authenticated bits=0) by pozo.com (8.13.4/8.13.4) with ESMTP id jB4IU5Ss072122 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 4 Dec 2005 10:30:06 -0800 (PST) (envelope-from null@pozo.com) Message-Id: <7.0.0.16.2.20051204102647.037622d8@pozo.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.0.16 Date: Sun, 04 Dec 2005 10:30:05 -0800 To: Doug Barton , Nicolas Blais From: Manfred Antar In-Reply-To: <43933227.4050906@FreeBSD.org> References: <200512031609.48962.nb_root@videotron.ca> <200512041135.39342.nb_root@videotron.ca> <20051204174032.GA1304@mail.scottro.net> <200512041303.45970.nb_root@videotron.ca> <43933227.4050906@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: freebsd-current@freebsd.org, Scott Robbins Subject: Re: [rc update] sshd no longer starts at boot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2005 18:30:09 -0000 At 10:15 AM 12/4/2005, Doug Barton wrote: >Nicolas Blais wrote: > >>For cupds, after you did the update, did you rm /usr/local/etc/rc.d/cups.sh and cp /usr/local/etc/rc.d/cups.sh.sample /usr/local/etc/rc.d/cups.sh ? > >A more effective long term solution to that problem is to do: > >cd /usr/local/etc/rc.d >rm cups.sh >ln -s cups.sh.sample cups.sh > >Also, you can test the effectiveness of the solution by removing the line with the word PROVIDE on it from the cups.sh[.sample] script, which is all the update to the port does. > >Of course, it's possible that some OTHER script from another port is also causing a problem. If after you do the cups update you still have a problem, send me all the scripts you have in /usr/local/etc/rc.d and /usr/X11R6/etc/rc.d, I will be glad to take a look. > >hth, >Doug There are other scripts that cause this. I just did a portupgrade of portupgrade and it installs a script called 000.pkgtools.sh after rebooting no ssh sendmail or cron. Here is the script: #!/bin/sh # # $Id: pkgtools.sh 1047 2004-12-25 15:35:21Z knu $ # PROVIDE: pkgtools # REQUIRE: ldconfig # KEYWORD: FreeBSD . /etc/rc.subr name=pkgtools start_cmd=pkgtools_start stop_cmd=: [ -z "$pkgtools_libdir" ] && pkgtools_libdir="/usr/local/lib/compat/pkg" pkgtools_start() { if [ -d "$pkgtools_libdir" ]; then /sbin/ldconfig -m "$pkgtools_libdir" fi } load_rc_config $name run_rc_command "$1" ================================== || null@pozo.com || || Ph. (415) 681-6235 || ==================================