Date: Sun, 04 Dec 2005 10:30:05 -0800 From: Manfred Antar <null@pozo.com> To: Doug Barton <dougb@freebsd.org>, Nicolas Blais <nb_root@videotron.ca> Cc: freebsd-current@freebsd.org, Scott Robbins <scottro@nyc.rr.com> Subject: Re: [rc update] sshd no longer starts at boot Message-ID: <7.0.0.16.2.20051204102647.037622d8@pozo.com> 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>
index | next in thread | previous in thread | raw e-mail
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 ||
==================================
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7.0.0.16.2.20051204102647.037622d8>
