9.2X installworld on fresh jail bsdconfig fix

Mars G. Miro spry at anarchy.in.the.ph
Wed May 21 14:53:27 UTC 2014


Hi

	I've been hitting this snag on installworld on a fresh jail:

...
install: /usr/jails/turkb2/usr/libexec/bsdconfig/050.diskmgmt/diskmgmt:
No such file or directory
*** [_SCRIPTSINS_diskmgmt] Error code 71
install -o root -g wheel  -m 444 INDEX USAGE
/usr/jails/turkb2/usr/libexec/bsdconfig/050.diskmgmt
1 error
...

	Happens on my fast box everytime.

	Seems that it's caused by this race on bsdconfig directories installed,
w/c got fixed by this

http://lists.freebsd.org/pipermail/svn-src-head/2013-August/051090.html
http://svnweb.freebsd.org/base/stable/9/etc/mtree/BSD.usr.dist?revision=256129&view=co&pathrev=256129

	Anyways, grabbing the mtree above and doing

# mtree -eU -f BSD.usr.dist.92X -p /path/to/jail's/usr/
	
	and then installing the world on the fresh jail fixes it.

	Sending this on the list, to propagate my notes ;-)


-- 
Reporter, n.:
	A writer who guesses his way to the truth and dispels it with a
	tempest of words.
		-- Ambrose Bierce, "The Devil's Dictionary"


More information about the freebsd-jail mailing list