]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
I caught the following snippet at the end of my /var/log/bsdinstall_log:
authordteske <dteske@FreeBSD.org>
Thu, 12 Dec 2013 20:47:18 +0000 (20:47 +0000)
committerdteske <dteske@FreeBSD.org>
Thu, 12 Dec 2013 20:47:18 +0000 (20:47 +0000)
commita2907c1e4c6da22581bc34cf82d2032a098d3ca1
tree741c36cff086deefe0b9042a84f2a2c2339ed537
parent44bab93625a7a80c774a63f86cb7fb79f3439d55
I caught the following snippet at the end of my /var/log/bsdinstall_log:
===
DEBUG: Running installation step: services
local: Not in a function
/usr/libexec/bsdinstall/services: cannot create  : Read-only file system
/usr/libexec/bsdinstall/services: /tmp/bsdinstall/etc/rc.conf.services: \
 Permission denied
===
The `local: Not in a function' is obvious, and was introduced by myself in
SVN revision 256348.

The latter two are caused by the attempt to use "\" to continue the line
after using the ">>" redirect. This appears to attempt to write a file with
the name " " in the current directory and subsequently attempts to execute
the file that was originally intended for writing (which is not executable;
hence the `Permission denied'). That was introduced in SVN r228192 about
2 years ago, apparently unnoticed until I started going over the debug
outputs very carefully.

MFC after: 3 days
usr.sbin/bsdinstall/scripts/services