Date: Sat, 11 Feb 2012 19:07:55 -0800 From: Devin Teske <devin.teske@fisglobal.com> To: Devin Teske <devin.teske@fisglobal.com> Cc: Ron McDowell <rcm@fuzzwad.org>, freebsd-sysinstall@freebsd.org Subject: Re: Announcing bsdconfig(8) preliminary Message-ID: <092FD6D4-5AC7-40D6-B060-12F09AACB5BE@fisglobal.com> In-Reply-To: <D87EEA55-A933-43CD-B6AE-D38E9A2C3A46@fisglobal.com> References: <4F342066.2050409@fuzzwad.org> <07f501cce85b$4ac934f0$e05b9ed0$@fisglobal.com> <4F35C5E6.7010607@fuzzwad.org> <5FB150D7-BA30-406D-B8B1-5BDEF1909502@fisglobal.com> <4F35DEC0.2030904@fuzzwad.org> <F7F9BEFD-8E88-489D-8B82-FA3D5C5BDE7E@fisglobal.com> <D87EEA55-A933-43CD-B6AE-D38E9A2C3A46@fisglobal.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 11, 2012, at 5:23 PM, Devin Teske wrote: >=20 > On Feb 11, 2012, at 2:06 PM, Devin Teske wrote: >=20 >>=20 >> On Feb 10, 2012, at 7:21 PM, Ron McDowell wrote: >>=20 >>> On 2/10/12 8:35 PM, Devin Teske wrote: >>>> On Feb 10, 2012, at 5:35 PM, Ron McDowell wrote: >>>>=20 >>>>> On 2/10/12 7:20 PM, Devin Teske wrote: >>>>>>> -----Original Message----- >>>>>>> From: owner-freebsd-sysinstall@freebsd.org [mailto:owner-freebsd- >>>>>>> sysinstall@freebsd.org] On Behalf Of Ron McDowell >>>>>>> Sent: Thursday, February 09, 2012 11:37 AM >>>>>>> To: freebsd-sysinstall@freebsd.org >>>>>>> Subject: Announcing bsdconfig(8) preliminary >>>>>>>=20 >>>>>>> http://fuzzwad.org/bsdconfig/ is a long way from finished, but ther= e is >>>>>>> enough of a framework available now, that I'm wanting some feedback= on. >>>>>>> Tarballs are out there and I'll guarantee you'll want to look at the >>>>>>> latest, and not the earlier examples. The manpage in the tarball i= s a >>>>>>> good place to start. >>>>>>>=20 >>>>>>> Feel free to talk about it here and ask any questions you want. The >>>>>>> direction I go with it will depend [I hope!] on where everyone want= s it >>>>>>> to go. Thanks in advance. >>>>>>>=20 >>>>>> Hi Ron, >>>>>>=20 >>>>>> Thank you very much for working on this with everyone. >>>>>>=20 >>>>>> I notice that you've centralized the use of "notimplemented" to >>>>>> /usr/libexec/bsdconfig/notimplemented which makes the per-module fil= es >>>>>> /usr/libexec/bsdconfig/*.*/notimplemented obsolete. >>>>>>=20 >>>>>> I thinking I should clean things up after installation by executing: >>>>>>=20 >>>>>> cd /usr/libexec/bsdconfig >>>>>> sudo rm -f *.*/notimplemented >>>>> Absolutely, thanks for pointing that out. I just cleaned it up on my= copy. >>>>>=20 >>>>>> Again, thanks for working on this, ... would you mind if I took it a= nd worked on >>>>>> it this weekend and passed it back to you for review? >>>>> Go for it! >>>>>=20 >>>> How do you feel about implementing "090.time-zone" with my ports addit= ion, sysutils/tzdialog? >>>=20 >>> tzsetup(8) is already installed in base...I haven't looked at tzdialog,= does it do more than tzsetup? If so, then tzdialog needs to be included he= re like we've done with host-setup in 120.networking. >>>=20 >>>> Aside, I have a question about the INDEX file... >>>>=20 >>>> Does the exit status of the program-to-be-executed matter in any way t= o bsdconfig? >>>=20 >>> Not yet, but it could and probably should...if nothing else, we should = at least pass the exit code back up the line. >>>=20 >>>> Reason I ask is because tzdialog has a "-e" flag which may be useful i= f-desired, causing the exit status to be success if-and-only-if both a zone= file is selected and it was installed without error. >>>=20 >>> --=20 >>> Ron McDowell >>> San Antonio TX >>=20 >> I've put a significant amount of work into this over the last 24 hours a= nd would like to share my contributions. >>=20 >> http://druidbsd.sourceforge.net/download/bsdconfig/ >>=20 >> http://druidbsd.sourceforge.net/download/bsdconfig/bsdconfig.120211.txz >>=20 >> Please try: >>=20 >> bsdconfig networking >> bsdconfig timezone >> bsdconfig networking -h >> bsdconfig timezone -h >> bsdconfig networking -X >> bsdconfig timezone -X >>=20 >=20 > Here's a little trick for testing the X11 interfaces from a Mac or PC (ru= nning Windows) using X11 Forwarding over SSH to a FreeBSD 9 box as a non-ro= ot user with sudo(8) access. >=20 [snip] >=20 > Step 3: Grant "root" the ability to use your X11 session >=20 > The default settings in FreeBSD 9 don't allow you to do things like: >=20 > sudo xdpyinfo >=20 > The failure becomes: >=20 > X11 connection rejected because of wrong authentication. > xdpyinfo: unable to open display "localhost:10.0". >=20=20 > The solution is to execute: >=20 > xauth -f ~/.Xauthority extract - ${HOSTNAME:-localhost}{/unix,}:${DISPLA= Y#*:} | sudo -u root xauth -ivf ~root/.Xauthority merge - >=20 for csh/tcsh users: xauth -f ~/.Xauthority extract - $HOST{/unix,}:`/bin/sh -c 'echo ${DISPLAY= #*:}'` | sudo -u root xauth -ivf ~root/.Xauthority merge - > NOTE: If you want to authorize another user other than root, replace "sud= o -u root" with "sudo -u USER" and replace "~root/.Xauthority" with "~USER/= .Xauthority". >=20 --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?092FD6D4-5AC7-40D6-B060-12F09AACB5BE>