The sed statement that sets DISPLAYMANAGER in rc.conf in targets/support/livecdfs-update.sh is a bit off: sed -i \ -e "s:DISPLAYMANAGER=\"xdm\":DISPLAYMANAGER=\"${clst_livecd_xdm}\":" \ -e ":^DISPLAYMANAGER: s:^#::" \ /etc/rc.conf The first regex in the 2nd part of the command is ignored since it's not wrapped in / /. This causes sed to remove # from the beginning of all lines in rc.conf.
Created attachment 112115 [details, diff] patch to fix the problem
The patch merges the two parts into a single regex that takes care of an existing DISPLAYMANAGER line with or without a beginning #. It also handles the case of the default possibly changing from "xdm" in the future. I made the same modification to the sed statement for /etc/conf.d/xdm.
I just re-ran livecd-stage2 with my patch, and it appears that both rc.conf and conf.d/xdm were modified properly. Also, it appears that the current sed statement doesn't work with / /, either. Perhaps it's the space between the 2 parts of the second statement. Whatever... :P
Fixed in SVN/2.0.3_pre3
This is fixed in 2.0.3 which should be hitting the tree shortly.