[rc update] sshd no longer starts at boot

Manfred Antar null at pozo.com
Sun Dec 4 10:30:09 PST 2005

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.

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:

# $Id: pkgtools.sh 1047 2004-12-25 15:35:21Z knu $

# PROVIDE: pkgtools
# REQUIRE: ldconfig

. /etc/rc.subr



[ -z "$pkgtools_libdir" ] && pkgtools_libdir="/usr/local/lib/compat/pkg"

pkgtools_start() {
    if [ -d "$pkgtools_libdir" ]; then
        /sbin/ldconfig -m "$pkgtools_libdir"

load_rc_config $name
run_rc_command "$1"

||      null at pozo.com           ||
||      Ph. (415) 681-6235      ||

More information about the freebsd-current mailing list