[afnog] mergemaster mess

Brian Candler B.Candler at pobox.com
Wed Feb 15 23:15:04 EAT 2006


On Wed, Feb 15, 2006 at 08:16:33AM -0700, Mike Barnard wrote:
>     sorry,  i am doing this on FreeBSD 5.4. i already ran cvsup and got
>    my stable  source.

Which tag? RELENG_5? RELENG_5_4? Something else?

Read /usr/src/UPDATING and see if there's anything specific to your problem.

> cd /usr/src
> make buildworld
> make buildkernel KERNCONF=MYKERN
> make installkernel
>  KERNCONF=MYKERN
> shutdown -r now
> boot -s
> fsck -p
> mount -u /
> mount -a -t ufs
> swapon -a
> cd /usr/src
> make installworld
> mergemaster
> shutdown -r now
> when i reboot it   comes  up great but  gives  these errors
> /etc/rc.d/devd: WARNING: $devd_enable is not set properly - see rc.conf(5)

You missed the 'mergemaster -p' step, which is sometimes (but not always)
needed. Otherwise I can't see what's wrong.

What exactly does your rc.conf have in for devd_enable? The warning message
you see comes from /etc/rc.subr:

checkyesno()
{
        eval _value=\$${1}
        debug "checkyesno: $1 is set to $_value."
        case $_value in

                #       "yes", "true", "on", or "1"
        [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
                return 0
                ;;

                #       "no", "false", "off", or "0"
        [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0)
                return 1
                ;;
        *)
                warn "\$${1} is not set properly - see rc.conf(5)."
                return 1
                ;;
        esac
}

In other words, this message is saying you're supposed to set
devd_enable="YES" or "NO", not to "FLURBLE" or whatever you currently have
it set to :-)

Regards,

Brian.



More information about the afnog mailing list