conf/189366: freebsd-update on FreeBSD10-release left set_rcvar lines in /etc/rc.d

George Michaelson ggm at
Mon May 5 05:30:01 UTC 2014

>Number:         189366
>Category:       conf
>Synopsis:       freebsd-update on FreeBSD10-release left set_rcvar lines in /etc/rc.d
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 05 05:30:00 UTC 2014
>Originator:     George Michaelson
>Release:        FreeBSD 10.0-RELEASE amd64
System: FreeBSD 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root at amd64

	I run freebsd-update and get told its being upgraded from 10.0-release to -p2.
	After it runs, the machine fails to boot, stops single user, because almost all of /etc/rc.d has got set_rcvar lines in the files.
	However the set_rcvar function has been removed.

	Worryingly, when I diff -r on a -p2 system, I find that for many of these files the ONLY CHANGE is the textual replacement of
	the "`set_rcvar`" call by the "foo_enable" string: not the version/date/RCS stamp, just an in-place replacement.

	Somebody hasn't actually checked in tha change properly at some stage and instead has updated the FreeBSD-update information in a way
	which doesn't correctly replace the files.

	You'd need to do a replace/install/upgrade on a 9.x series to 10.0 release and then run freebsd-update


	I have NFI because FreeBSD-update doesn't seem to want to 'replace' these files. I am copying rc.d and other stuff on from other hosts
	I have.


More information about the freebsd-bugs mailing list