From owner-freebsd-sysinstall@FreeBSD.ORG Sun Feb 26 20:46:51 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 360C4106566C; Sun, 26 Feb 2012 20:46:51 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0A1858FC08; Sun, 26 Feb 2012 20:46:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1QKkohY059511; Sun, 26 Feb 2012 20:46:50 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1QKkoFe059507; Sun, 26 Feb 2012 20:46:50 GMT (envelope-from eadler) Date: Sun, 26 Feb 2012 20:46:50 GMT Message-Id: <201202262046.q1QKkoFe059507@freefall.freebsd.org> To: eadler@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: bin/165492: bsdinstall(8): segmentation fault X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2012 20:46:51 -0000 Old Synopsis: bsdinstall segmentation fault New Synopsis: bsdinstall(8): segmentation fault Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall Responsible-Changed-By: eadler Responsible-Changed-When: Sun Feb 26 20:46:08 UTC 2012 Responsible-Changed-Why: Fix synopsys and assign http://www.freebsd.org/cgi/query-pr.cgi?pr=165492 From owner-freebsd-sysinstall@FreeBSD.ORG Sun Feb 26 22:20:04 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7809C106566C for ; Sun, 26 Feb 2012 22:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3789C8FC13 for ; Sun, 26 Feb 2012 22:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1QMK4uT042838 for ; Sun, 26 Feb 2012 22:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1QMK4HK042836; Sun, 26 Feb 2012 22:20:04 GMT (envelope-from gnats) Date: Sun, 26 Feb 2012 22:20:04 GMT Message-Id: <201202262220.q1QMK4HK042836@freefall.freebsd.org> To: freebsd-sysinstall@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: bin/165492: commit references a PR X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2012 22:20:04 -0000 The following reply was made to PR bin/165492; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/165492: commit references a PR Date: Sun, 26 Feb 2012 22:09:56 +0000 (UTC) Author: nwhitehorn Date: Sun Feb 26 22:09:21 2012 New Revision: 232200 URL: http://svn.freebsd.org/changeset/base/232200 Log: Fix segfault if distfetch and distextract binaries are run standalone without the DISTRIBUTIONS environment variable set. PR: bin/165492 Submitted by: Fernando Apesteguia MFC after: 4 days Modified: head/usr.sbin/bsdinstall/distextract/distextract.c head/usr.sbin/bsdinstall/distfetch/distfetch.c Modified: head/usr.sbin/bsdinstall/distextract/distextract.c ============================================================================== --- head/usr.sbin/bsdinstall/distextract/distextract.c Sun Feb 26 21:24:27 2012 (r232199) +++ head/usr.sbin/bsdinstall/distextract/distextract.c Sun Feb 26 22:09:21 2012 (r232200) @@ -38,9 +38,16 @@ static int extract_files(int nfiles, con int main(void) { - char *diststring = strdup(getenv("DISTRIBUTIONS")); + char *diststring; const char **dists; int i, retval, ndists = 0; + + if (getenv("DISTRIBUTIONS") == NULL) { + fprintf(stderr, "DISTRIBUTIONS variable is not set\n"); + return (1); + } + + diststring = strdup(getenv("DISTRIBUTIONS")); for (i = 0; diststring[i] != 0; i++) if (isspace(diststring[i]) && !isspace(diststring[i+1])) ndists++; Modified: head/usr.sbin/bsdinstall/distfetch/distfetch.c ============================================================================== --- head/usr.sbin/bsdinstall/distfetch/distfetch.c Sun Feb 26 21:24:27 2012 (r232199) +++ head/usr.sbin/bsdinstall/distfetch/distfetch.c Sun Feb 26 22:09:21 2012 (r232200) @@ -37,9 +37,16 @@ static int fetch_files(int nfiles, char int main(void) { - char *diststring = strdup(getenv("DISTRIBUTIONS")); + char *diststring; char **urls; int i, nfetched, ndists = 0; + + if (getenv("DISTRIBUTIONS") == NULL) { + fprintf(stderr, "DISTRIBUTIONS variable is not set\n"); + return (1); + } + + diststring = strdup(getenv("DISTRIBUTIONS")); for (i = 0; diststring[i] != 0; i++) if (isspace(diststring[i]) && !isspace(diststring[i+1])) ndists++; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-sysinstall@FreeBSD.ORG Mon Feb 27 06:00:22 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6DF31065670 for ; Mon, 27 Feb 2012 06:00:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9FC558FC08 for ; Mon, 27 Feb 2012 06:00:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1R60Ma7069591 for ; Mon, 27 Feb 2012 06:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1R60MuC069590; Mon, 27 Feb 2012 06:00:22 GMT (envelope-from gnats) Date: Mon, 27 Feb 2012 06:00:22 GMT Message-Id: <201202270600.q1R60MuC069590@freefall.freebsd.org> To: freebsd-sysinstall@FreeBSD.org From: Jin Guojun Cc: Subject: Re: bin/164399: bsdinstall(8): 9.0 installer failures X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jin Guojun List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 06:00:22 -0000 The following reply was made to PR bin/164399; it has been noted by GNATS. From: Jin Guojun To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/164399: bsdinstall(8): 9.0 installer failures Date: Sun, 26 Feb 2012 21:39:10 -0800 (PST) ---2114655128-324512918-1330321150=:1142 Content-Type: text/plain; charset=us-ascii Further information for problem 1) installer configured internal IDE DVD driver as cd0 (not acd0) but trying to mount /dev/acd0, thus boot to root failed. Manually typing in "cd9660:/dev/cd0 ro" will boot: This occurs on different motherboards and CPUs, but all have a DVD R/W (different vendors). So, the problem may be related DVD device vs. CD device (just guessing because I have no CD R/W in hand). ---2114655128-324512918-1330321150=:1142 Content-Type: text/html; charset=us-ascii
Further information for problem 1) installer configured internal IDE DVD driver as cd0 (not acd0) but trying to mount /dev/acd0, thus boot to root failed. Manually typing in "cd9660:/dev/cd0 ro" will boot:

This occurs on different motherboards and CPUs, but all have a DVD R/W (different vendors).
So, the problem may be related DVD device vs. CD device (just guessing because I have no CD R/W in hand).
---2114655128-324512918-1330321150=:1142-- From owner-freebsd-sysinstall@FreeBSD.ORG Mon Feb 27 11:07:48 2012 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DB74106564A for ; Mon, 27 Feb 2012 11:07:48 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1B1CB8FC15 for ; Mon, 27 Feb 2012 11:07:48 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1RB7lPj090364 for ; Mon, 27 Feb 2012 11:07:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1RB7lU5090362 for freebsd-sysinstall@FreeBSD.org; Mon, 27 Feb 2012 11:07:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 27 Feb 2012 11:07:47 GMT Message-Id: <201202271107.q1RB7lU5090362@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-sysinstall@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-sysinstall@FreeBSD.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 11:07:48 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/165492 sysinstall bsdinstall(8): segmentation fault o bin/164399 sysinstall bsdinstall(8): 9.0 installer failures o bin/164294 sysinstall bsdinstall(8): FreeBSD 9.0-RELEASE bsdinstall dvd does o bin/164291 sysinstall bsdinstall(8): bsdinstall and filestetyem selection / o bin/164284 sysinstall bsdinstall(8): FreeBSD install assign incorrect dev as o bin/164281 sysinstall bsdinstall(8): please allow sysinstall as installer op o bin/164267 sysinstall bsdinstall(8) bugs when RE-installing to GPT partition o bin/164097 sysinstall bsdinstall(8): always installs GPT f bin/164094 sysinstall bsdinstall(8): installer progress over 100% o bin/163943 sysinstall bsdinstall(8) fails to detect CD device when booting w o bin/163123 sysinstall bsdinstall(8): IPV6 only errors connecting o bin/162693 sysinstall sysinstall(8): release/Makefile.sysinstall on 9.x refe o bin/162605 sysinstall sysinstall(8) doesn't identify CD/DVD drives for the u o bin/162429 sysinstall bsdinstall(8): 9.x installer: selecting ZFS for the ro o bin/162428 sysinstall bsdinstall(8): should check available disk space from o bin/162364 sysinstall sysinstall(8): update sysinstall ftp mirror list for c o bin/162258 sysinstall sysinstall(8): long-time bugs o bin/162175 sysinstall [patch] bsdinstall(8): add keymap selection loop and t o bin/162152 sysinstall bsdinstall(8): No up-to-date IPv6 French mirror f bin/161931 sysinstall bsdinstall(8): (add sysinstall partition config as opt o bin/161929 sysinstall bsdinstall(8): (change partition editor screen default o bin/161928 sysinstall bsdinstall(8): (add option to enable 2 button mouse co o bin/161924 sysinstall bsdinstall(8): add msg box telling user to remove inst o bin/161923 sysinstall bsdinstall(8) games & ports install options o kern/161837 sysinstall [libdisk] [patch] sysinstall(8) has a 32 disk limit o bin/161720 sysinstall bsdinstall(8): partition editor does not put partition o bin/161547 sysinstall [patch] bsdinstall(8) should identify wireless network f bin/161113 sysinstall bsdinstall(8): 9.0-BETA3: overwrites Win*-bootcodes wi o bin/161101 sysinstall bsdinstall(8): 9.0-BETA3: partition editor: UFS-option o bin/161100 sysinstall bsdinstall(8): 9.0-BETA3: Add User but no Add Group o bin/161056 sysinstall bsdinstall(8): could allow full control over newfs arg o bin/161055 sysinstall bsdinstall(8): partitioner should auto-populate GPT la f bin/161054 sysinstall bsdinstall(8): partitioner should list valid "type"s o bin/161053 sysinstall bsdinstall(8): network setup dialog is hard to navigat o bin/161052 sysinstall bsdinstall(8): should be consistent about saving confi o bin/161050 sysinstall bsdinstall(8): should use new syntax for IPv4 in rc.co o bin/161049 sysinstall bsdinstall(8): could try to tell if SSDs support TRIM o bin/161048 sysinstall [patch] bsdinstall(8): should run a concurrent shell o o bin/161047 sysinstall [patch] bsdinstall(8): should not run on vt0 o bin/157635 sysinstall sysinstall(8): "none" Do not install a boot manager - o bin/157117 sysinstall sysinstall(8): Add ftp4.se.freebsd.org to list of IPv6 o bin/154788 sysinstall sysinstall(8) crashes if no network interface found o bin/154613 sysinstall sysinstall(8) does not rescan USB automatically o bin/150995 sysinstall sysinstall(8): corruption of partition table s bin/150237 sysinstall sysinstall(8): Suggestion: installer should suggest th o bin/148805 sysinstall [hang] FreeBSD 7.2, 8.0, and 9.0 hang during install a f bin/148220 sysinstall sysinstall(8): 9.0-current gets "Cannot resolv hostnam o bin/148201 sysinstall sysinstall(8): core dump (Error 10) while trying to in o bin/148053 sysinstall sysinstall(8) labeling o bin/146299 sysinstall sysinstall(8): cannot create slice o bin/145735 sysinstall sysinstall(8) trashes Vista-created partition tables o bin/145027 sysinstall Remove all sysinstall(8) references to floppy and slip o bin/144278 sysinstall [install] Fixit from USB dont work o bin/142867 sysinstall sysinstall(8): in a custom installation re-entering th o misc/142335 sysinstall Download of Release 8.0 LIVE is NOT a "live" from CD p o bin/140843 sysinstall sysinstall(8): cannot software install from usb o bin/140842 sysinstall sysinstall(8): destroyed ncurses interface with FBSD8. o bin/140595 sysinstall [request] sysinstall(8): Replace "Country Selection" w o bin/138423 sysinstall sysinstall(8): Installer (and sade) get wrong number o o bin/138025 sysinstall sysinstall(8) fails to create big partition o bin/137864 sysinstall [patch] sysinstall(8): add possibility to shutdown/pow o bin/137713 sysinstall sysinstall(8): installer partition editor generates in o bin/134425 sysinstall sysinstall(8) custom distributions select all and dese o bin/129762 sysinstall sysinstall(8) doesn't seem to support GPT for EFI boar s bin/123304 sysinstall sysinstall(8): missing sensible and user friendly prog o bin/121503 sysinstall sysinstall(8): 7.0 upgrade doesn't let me mount all of a bin/121124 sysinstall sysinstall(8): FreeBSD 6.3 installation deletes MBR pa o bin/119077 sysinstall [patch] sysinstall(8) - reading packages from index is o bin/113682 sysinstall [patch] sysinstall(8) warns for invalid geometry which o bin/112757 sysinstall sysinstall(8): sysinstall(8): in the FDISK tool we can o bin/110151 sysinstall sysinstall(8): sysinstall(8) don't respects install ro o bin/108191 sysinstall sysinstall(8): Disklabel editor help text (by F1 key) o bin/107830 sysinstall sysinstall(8): Change Units (Z) in fdisk doesn't work p bin/102638 sysinstall [patch] sysinstall(8): custom dist set always install o bin/102498 sysinstall sysinstall(8): Cursor doesn't track sysinstall hilight a bin/101762 sysinstall sysinstall(8) does not obey /usr/ports symlink while i o bin/97108 sysinstall sysinstall(8): write failure on transfer (wrote -1 byt o bin/93275 sysinstall sysinstall(8): Failure to install after restarting ins o bin/90656 sysinstall sysinstall(8): 6.0-RELEASE (i386) cannot be installed s bin/86859 sysinstall sysinstall(8): Installer should ask about Linux earlie o bin/86454 sysinstall sysinstall(8): sysinstall terminates with signal 10 if o bin/79910 sysinstall sysinstall(8): Cannot escape from failed port/package o bin/79840 sysinstall sysinstall(8): Partitioning and formating a new disk f o bin/79621 sysinstall sysinstall(8): sysinstall(8) does not create a device o bin/78964 sysinstall sysinstall(8): can not write labels to hdd on installa s bin/73617 sysinstall sysinstall(8): fdisk editor unmarks active partition o bin/73410 sysinstall sysinstall(8): Sysinstall could not allocate disklabel o bin/72895 sysinstall sysinstall(8): Sysinstall generates invalid partition o bin/70002 sysinstall sysinstall(8): fails to locate FTP dirs if the OS has o bin/69986 sysinstall sysinstall(8): [patch] no job control in fixit shell o o bin/69942 sysinstall sysinstall(8): sysinstall changes /etc/rc.conf after i o bin/69723 sysinstall sysinstall(8): [request] allow to continue from packag o bin/62702 sysinstall sysinstall(8): backup of /etc and /root during sysinst o bin/62367 sysinstall sysinstall(8): 5.2.1-RC installation problems o bin/61890 sysinstall sysinstall(8): fdisk(8) uses incorrect calculations fo o bin/61603 sysinstall sysinstall(8): wrong geometry guessed o bin/60632 sysinstall sysinstall(8): UI bug in partition label screen in sys o bin/53341 sysinstall sysinstall(8): [patch] dump frequency in sysinstall is o bin/48989 sysinstall sysinstall(8): Sysinstall's partition editor gets con s bin/48341 sysinstall sysinstall(8): changes the active slice flag when it p o bin/46905 sysinstall sysinstall(8): FreeBSD 5.x cannot be installed from mu o bin/46235 sysinstall sysinstall(8): NTP servers for Finland require updatin o bin/42162 sysinstall sysinstall(8): after restart, installation crashes, md o bin/41949 sysinstall sysinstall(8): sysinstall sorts /etc/rc.conf during ne o bin/41850 sysinstall sysinstall(8): sysinstall fails to create root filesys o bin/40260 sysinstall sysinstall(8): hang when detecting devices (No CD/DVD s conf/39580 sysinstall sysinstall(8): [request] more secure mount options o bin/38854 sysinstall sysinstall(8): resetting during setup causes the targe s bin/38609 sysinstall sysinstall(8): [request] sysinstall should know the si o bin/38478 sysinstall sysinstall(8): In Choose Distributions screen, it's di o bin/38057 sysinstall sysinstall(8): "install" document doesn't display corr o bin/38056 sysinstall sysinstall(8): User (creation)'s "Member groups" item o bin/38055 sysinstall sysinstall(8): Groups (creation) item should be before o bin/37710 sysinstall sysinstall(8): LAN interface in wrong state after atte a bin/32375 sysinstall sysinstall(8): sysinstall doesn't respect User generat o bin/31363 sysinstall sysinstall(8): "partition editor" silently corrects pa a bin/30737 sysinstall sysinstall(8): sysinstall leaks file descriptors on re o bin/29375 sysinstall sysinstall(8): disk editor gets confused by slices tha a bin/23402 sysinstall sysinstall(8): upgrade ought to check partition sizes o bin/16948 sysinstall sysinstall(8): sysinstall/disklabel: bad partition tab o bin/15038 sysinstall sysinstall(8): easy to not notice that selection lists s bin/7232 sysinstall sysinstall(8): suggestion for FreeBSD installation dia 122 problems total. From owner-freebsd-sysinstall@FreeBSD.ORG Sat Mar 3 02:20:07 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4BAB106564A for ; Sat, 3 Mar 2012 02:20:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A046C8FC0A for ; Sat, 3 Mar 2012 02:20:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q232K7M2057101 for ; Sat, 3 Mar 2012 02:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q232K7Nx057100; Sat, 3 Mar 2012 02:20:07 GMT (envelope-from gnats) Date: Sat, 3 Mar 2012 02:20:07 GMT Message-Id: <201203030220.q232K7Nx057100@freefall.freebsd.org> To: freebsd-sysinstall@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: bin/161048: commit references a PR X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 02:20:07 -0000 The following reply was made to PR bin/161048; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/161048: commit references a PR Date: Sat, 3 Mar 2012 02:14:08 +0000 (UTC) Author: nwhitehorn Date: Sat Mar 3 02:13:53 2012 New Revision: 232427 URL: http://svn.freebsd.org/changeset/base/232427 Log: MFC r230482-230484,r230997: Per popular demand, if installing from a graphics terminal, show the installer log in real time on VTY 3, and spawn a shell on VTY 4. PR: bin/161048 Modified: stable/9/release/rc.local Directory Properties: stable/9/release/ (props changed) Modified: stable/9/release/rc.local ============================================================================== --- stable/9/release/rc.local Sat Mar 3 01:33:10 2012 (r232426) +++ stable/9/release/rc.local Sat Mar 3 02:13:53 2012 (r232427) @@ -12,12 +12,21 @@ MACHINE=`uname -m` kbdcontrol -d >/dev/null 2>&1 if [ $? -eq 0 ]; then - # Syscons: use xterm + # Syscons: use xterm, start interesting things on other VTYs if [ ${MACHINE} = "pc98" ]; then TERM=cons25w else TERM=xterm fi + + if [ -z "$EXTERNAL_VTY_STARTED" ]; then + # Init will clean these processes up if/when the system + # goes multiuser + touch /tmp/bsdinstall_log + tail -f /tmp/bsdinstall_log > /dev/ttyv2 & + /usr/libexec/getty autologin ttyv3 & + EXTERNAL_VTY_STARTED=1 + fi else # Serial or other console echo _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-sysinstall@FreeBSD.ORG Sat Mar 3 02:24:33 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B0146106564A; Sat, 3 Mar 2012 02:24:33 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 874558FC18; Sat, 3 Mar 2012 02:24:33 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q232OX5D065157; Sat, 3 Mar 2012 02:24:33 GMT (envelope-from nwhitehorn@freefall.freebsd.org) Received: (from nwhitehorn@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q232OXgI065153; Sat, 3 Mar 2012 02:24:33 GMT (envelope-from nwhitehorn) Date: Sat, 3 Mar 2012 02:24:33 GMT Message-Id: <201203030224.q232OXgI065153@freefall.freebsd.org> To: kaduk@mit.edu, nwhitehorn@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: nwhitehorn@FreeBSD.org Cc: Subject: Re: bin/161048: [patch] bsdinstall(8): should run a concurrent shell on another vt X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 02:24:33 -0000 Synopsis: [patch] bsdinstall(8): should run a concurrent shell on another vt State-Changed-From-To: open->closed State-Changed-By: nwhitehorn State-Changed-When: Sat Mar 3 02:24:01 UTC 2012 State-Changed-Why: Fixed and MFC'ed to 9-STABLE. Thanks for the report! http://www.freebsd.org/cgi/query-pr.cgi?pr=161048 From owner-freebsd-sysinstall@FreeBSD.ORG Sat Mar 3 02:25:12 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E30D1065677; Sat, 3 Mar 2012 02:25:12 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 15CB58FC15; Sat, 3 Mar 2012 02:25:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q232PBWX065210; Sat, 3 Mar 2012 02:25:11 GMT (envelope-from nwhitehorn@freefall.freebsd.org) Received: (from nwhitehorn@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q232PB17065206; Sat, 3 Mar 2012 02:25:11 GMT (envelope-from nwhitehorn) Date: Sat, 3 Mar 2012 02:25:11 GMT Message-Id: <201203030225.q232PB17065206@freefall.freebsd.org> To: fernando.apesteguia@gmail.com, nwhitehorn@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: nwhitehorn@FreeBSD.org Cc: Subject: Re: bin/165492: bsdinstall(8): segmentation fault X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 02:25:12 -0000 Synopsis: bsdinstall(8): segmentation fault State-Changed-From-To: open->closed State-Changed-By: nwhitehorn State-Changed-When: Sat Mar 3 02:24:51 UTC 2012 State-Changed-Why: Fixed and MFC'ed to 9-STABLE. Thanks for the patch! http://www.freebsd.org/cgi/query-pr.cgi?pr=165492 From owner-freebsd-sysinstall@FreeBSD.ORG Sat Mar 3 02:30:13 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1789A106566C for ; Sat, 3 Mar 2012 02:30:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E14568FC08 for ; Sat, 3 Mar 2012 02:30:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q232UCxc065511 for ; Sat, 3 Mar 2012 02:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q232UC3q065510; Sat, 3 Mar 2012 02:30:12 GMT (envelope-from gnats) Date: Sat, 3 Mar 2012 02:30:12 GMT Message-Id: <201203030230.q232UC3q065510@freefall.freebsd.org> To: freebsd-sysinstall@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: bin/165492: commit references a PR X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 02:30:13 -0000 The following reply was made to PR bin/165492; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/165492: commit references a PR Date: Sat, 3 Mar 2012 02:23:19 +0000 (UTC) Author: nwhitehorn Date: Sat Mar 3 02:23:09 2012 New Revision: 232433 URL: http://svn.freebsd.org/changeset/base/232433 Log: MFC r232200: Fix segfault if distfetch and distextract binaries are run standalone without the DISTRIBUTIONS environment variable set. PR: bin/165492 Submitted by: Fernando Apesteguia Modified: stable/9/usr.sbin/bsdinstall/distextract/distextract.c stable/9/usr.sbin/bsdinstall/distfetch/distfetch.c Directory Properties: stable/9/usr.sbin/bsdinstall/ (props changed) Modified: stable/9/usr.sbin/bsdinstall/distextract/distextract.c ============================================================================== --- stable/9/usr.sbin/bsdinstall/distextract/distextract.c Sat Mar 3 02:20:46 2012 (r232432) +++ stable/9/usr.sbin/bsdinstall/distextract/distextract.c Sat Mar 3 02:23:09 2012 (r232433) @@ -38,9 +38,16 @@ static int extract_files(int nfiles, con int main(void) { - char *diststring = strdup(getenv("DISTRIBUTIONS")); + char *diststring; const char **dists; int i, retval, ndists = 0; + + if (getenv("DISTRIBUTIONS") == NULL) { + fprintf(stderr, "DISTRIBUTIONS variable is not set\n"); + return (1); + } + + diststring = strdup(getenv("DISTRIBUTIONS")); for (i = 0; diststring[i] != 0; i++) if (isspace(diststring[i]) && !isspace(diststring[i+1])) ndists++; Modified: stable/9/usr.sbin/bsdinstall/distfetch/distfetch.c ============================================================================== --- stable/9/usr.sbin/bsdinstall/distfetch/distfetch.c Sat Mar 3 02:20:46 2012 (r232432) +++ stable/9/usr.sbin/bsdinstall/distfetch/distfetch.c Sat Mar 3 02:23:09 2012 (r232433) @@ -37,9 +37,16 @@ static int fetch_files(int nfiles, char int main(void) { - char *diststring = strdup(getenv("DISTRIBUTIONS")); + char *diststring; char **urls; int i, nfetched, ndists = 0; + + if (getenv("DISTRIBUTIONS") == NULL) { + fprintf(stderr, "DISTRIBUTIONS variable is not set\n"); + return (1); + } + + diststring = strdup(getenv("DISTRIBUTIONS")); for (i = 0; diststring[i] != 0; i++) if (isspace(diststring[i]) && !isspace(diststring[i+1])) ndists++; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-sysinstall@FreeBSD.ORG Sat Mar 3 11:40:08 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A055D1065677 for ; Sat, 3 Mar 2012 11:40:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4EAF78FC14 for ; Sat, 3 Mar 2012 11:40:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q23Be8FN010301 for ; Sat, 3 Mar 2012 11:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q23Be8Wj010300; Sat, 3 Mar 2012 11:40:08 GMT (envelope-from gnats) Date: Sat, 3 Mar 2012 11:40:08 GMT Message-Id: <201203031140.q23Be8Wj010300@freefall.freebsd.org> To: freebsd-sysinstall@FreeBSD.org From: Chris Rees Cc: Subject: Re: bin/162258: sysinstall(8): long-time bugs X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Chris Rees List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 11:40:08 -0000 The following reply was made to PR bin/162258; it has been noted by GNATS. From: Chris Rees To: bug-followup@freebsd.org Cc: Subject: Re: bin/162258: sysinstall(8): long-time bugs Date: Sat, 3 Mar 2012 11:33:31 +0000 Did you know that sysinstall has been deprecated? Did you try using the new bsdinstall? Chris From owner-freebsd-sysinstall@FreeBSD.ORG Sat Mar 3 21:52:29 2012 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A22EE106566C for ; Sat, 3 Mar 2012 21:52:29 +0000 (UTC) (envelope-from rsimmons0@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 52C3B8FC15 for ; Sat, 3 Mar 2012 21:52:29 +0000 (UTC) Received: by vcmm1 with SMTP id m1so1395805vcm.13 for ; Sat, 03 Mar 2012 13:52:28 -0800 (PST) Received-SPF: pass (google.com: domain of rsimmons0@gmail.com designates 10.52.23.74 as permitted sender) client-ip=10.52.23.74; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rsimmons0@gmail.com designates 10.52.23.74 as permitted sender) smtp.mail=rsimmons0@gmail.com; dkim=pass header.i=rsimmons0@gmail.com Received: from mr.google.com ([10.52.23.74]) by 10.52.23.74 with SMTP id k10mr25493375vdf.106.1330811548712 (num_hops = 1); Sat, 03 Mar 2012 13:52:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=srC2ujAcxkFQdPhd+iq3kwQAZWMfk8pgjEX1JwrUaos=; b=tu2NyIZFyQju76uGaNvxifgV+ohSJJYe8Eu86am94lY1lAtSID3q83q6YrHudQ5yBP QrMbWnCFdu+36SpALMRXEBZAJwkCK53zTOONXEFpG6MeTcPAHbFDjPiAKaks+HpP6CYG HyleKcDohNxpHjQvxXvziuB1NYkEk5+HUCfmr1IeW4R2HG5a4HnGqMjb065zQOiXzlq7 y0NjEXxf3vytDk4CAF9MsAPnavnpcCJbN3nG+A/k778eo85Va7D2vPRZUr/zKclM1zhb FhSqk/taDSTF2P9V4aVDX48CxyhvnMmI+cN1j8ODyRztXbncaDqTEaUpu14Z8tePECn7 mnag== MIME-Version: 1.0 Received: by 10.52.23.74 with SMTP id k10mr21694978vdf.106.1330809757768; Sat, 03 Mar 2012 13:22:37 -0800 (PST) Received: by 10.52.65.114 with HTTP; Sat, 3 Mar 2012 13:22:37 -0800 (PST) Date: Sat, 3 Mar 2012 16:22:37 -0500 Message-ID: From: Robert Simmons To: freebsd-sysinstall@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Value of DESTDIR X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 21:52:29 -0000 During the new installer for 9.0, what is the default value for DESTDIR? The reason I'm asking is I setup my partitions manually in the shell provided for doing this, and I want to know where I need to leave them mounted before I exit the shell to continue installation. From owner-freebsd-sysinstall@FreeBSD.ORG Sat Mar 3 23:04:33 2012 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9C65106566B for ; Sat, 3 Mar 2012 23:04:33 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 9A2208FC0A for ; Sat, 3 Mar 2012 23:04:33 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0M0B00C00XBEN500@smtpauth1.wiscmail.wisc.edu> for freebsd-sysinstall@freebsd.org; Sat, 03 Mar 2012 16:04:26 -0600 (CST) Received: from comporellon.tachypleus.net ([unknown] [76.210.72.39]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0M0B00MLSXBD4I20@smtpauth1.wiscmail.wisc.edu> for freebsd-sysinstall@freebsd.org; Sat, 03 Mar 2012 16:04:26 -0600 (CST) Date: Sat, 03 Mar 2012 16:04:25 -0600 From: Nathan Whitehorn In-reply-to: To: Robert Simmons Message-id: <4F529569.8020507@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.72.39 X-Spam-PmxInfo: Server=avs-16, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.3.3.215124, SenderIP=76.210.72.39 References: User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0) Gecko/20120212 Thunderbird/10.0 Cc: freebsd-sysinstall@freebsd.org Subject: Re: Value of DESTDIR X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 23:04:33 -0000 On 03/03/12 15:22, Robert Simmons wrote: > During the new installer for 9.0, what is the default value for DESTDIR? > > The reason I'm asking is I setup my partitions manually in the shell > provided for doing this, and I want to know where I need to leave them > mounted before I exit the shell to continue installation. > _______________________________________________ > freebsd-sysinstall@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sysinstall > To unsubscribe, send any mail to "freebsd-sysinstall-unsubscribe@freebsd.org" The default value is /mnt. -Nathan