On 11/09/2014 04:54 PM, Philip Guenther wrote:
> On Sun, Nov 9, 2014 at 4:17 PM, Jason Adams <[email protected]> wrote:
>> Definitely no quoted anything with white space in any hostname.if.
>> If fact even when they only have one parameter: dhcp, this happens.
>>
>> And it happens very near the top of netstart
>> -----------------------
>> # sh -x /etc/netstart
>> + [ -n ]
>> + . /etc/rc.d/rc.subr
>> + FUNCS_ONLY=1
>> + [ -n 1 ]
>> + return
>> + _rc_parse_conf
>> /etc/netstart: no closing quote
> Oh, then your /etc/rc.conf.local** has something not permitted by the
> new, more restrictive syntax.  To quote the upgrade faq;
>
>         rc.conf.local is no longer a shell script. Variables (notably
> pkg_scripts) must now be on single lines.
>
>
> Philip Guenther
>
> ** or your /etc/rc.conf, if you ignored the comments and edited it
Bingo!

There was no problem in my rc.conf.local.

My rc.conf was a shell script with a date in the comments from 2103.
The one I extracted from etc56.tgz was NOT a shell script and had  date 2014 in 
the comments.

Making the appropriate backups, I carefully inspected the two for differences, 
and saw nothing
that looked problematic.

So I swapped in the the one I extracted from etc56.tgz into /etc and rebooted.
No more closing quote messages.  Everything seems to be running normally

Upon detailed inspection I think I may have edited rc.conf several months 
before I upgraded.
(This is exactly my second OpenBSD install, as you probably already guessed.)

sysmerge didn't show any differences previously AND
it doesn't show any differences NOW after I swapped in the one from etc56.tgz

No clue why that is.

Thanks for your help.

(i386 system)



-- 
Those who do not understand Unix are condemned to reinvent it, poorly.

Reply via email to