I did 'emerge -u world' today (June 23), and then etc-update (replacing all of the init.d scripts) and now many bash scripts, such as rc-update, /sbin/rc, etc. report the following errors over and over again: bash: line 42: will: command not found bash: line 67: entrance: command not found The scripts still seem to complete correctly. I can't seem to find out exactly where these errors are coming from, so I can't give much more information. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Please run: # grep -r entrance /etc/* and report output.
# grep -r entrance /etc/* /etc/apache/lib/python2.2/test/test_zlib.py: Of entrance to a quarrel, but being in, grep: /etc/apache/lib/X11/mwm: No such file or directory /etc/apache/lib/mozilla/include/msgcompose/nsMsgSend.h: PRBool mAbortInProcess; // Used by Abort to avoid reentrance. Binary file /etc/apache/lib/aspell/en-only.rws matches Binary file /etc/apache/lib/gnome-stones/objects/libgnome-stones.so.0.0.0 matches Binary file /etc/apache/lib/gnome-stones/objects/libgnome-stones.so.0 matches Binary file /etc/apache/lib/gnome-stones/objects/libgnome-stones.so matches Binary file /etc/apache/lib/gnome-stones/objects/libgnome-stones.a matches Binary file /etc/apache/lib/gnome-stones/objects/libgnomekoban.so.0.0.0 matches Binary file /etc/apache/lib/gnome-stones/objects/libgnomekoban.so.0 matches Binary file /etc/apache/lib/gnome-stones/objects/libgnomekoban.so matches Binary file /etc/apache/lib/gnome-stones/objects/libgnomekoban.a matches /etc/init.d/xdm: EXE="$(which entranced)" /etc/init_d.old/xdm: EXE="$(which entranced)" /etc/rc.conf:entrance ] /etc/runlevels/default/xdm: EXE="$(which entranced)" After seeing this about, it looks like rc.conf was to blame...Going into rc.conf I found that two comment lines had wrapped. I've fixed it, but this may be indicative of a problem with etc-update...?
So you havent edited it, except for running etc-update from where it worked find to where it broke ?
Except for editing rc.conf to fix the problem, no I haven't changed it except for etc-update.
Ok, so we can safely say its due to a type-o in rc.conf. Marking as fixed.