Date: Sat, 9 Feb 2002 13:18:50 -0800 (PST) From: jim smith <n0oct@sbcglobal.net> To: freebsd-gnats-submit@FreeBSD.org Subject: conf/34776: rc.diskless1 creates insufficiently sized /etc if also using XFree86-4.1, resulting in failed diskless boot attempts. Message-ID: <200202092118.g19LIox44374@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 34776 >Category: conf >Synopsis: rc.diskless1 creates insufficiently sized /etc if also using XFree86-4.1, resulting in failed diskless boot attempts. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 09 13:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: jim smith >Release: FreeBSD 4.5-RELEASE #1 >Organization: the Bedrose P. Lipschitz Experience >Environment: FreeBSD shirley.brainski.org 4.5-RELEASE FreeBSD 4.5-RELEASE #1: Mon Feb 4 00:58:13 CST 2002 jim@shirley.brainski.org:/usr/obj/usr/src/sys/ATHLONv1 i386 >Description: rc.diskless1 creates an mfs /etc which is sized to 4096 sectors [~1.9M]. Since XFree86-4.1 puts many of its files now in /etc/X11 [with symbolic links from /usr/X11R6/lib/X11 (where they used to be located)], the original size allocated for the mfs /etc is too small. When trying to boot a diskless workstation with XFree86-4.1 on the system, the boot will fail because there is insufficient space in the mfs /etc. >How-To-Repeat: Configure a diskless workstation server with FreeBSD-4.5-Release and XFree86-4.1. Create a root hierarchy for the diskless root mount point with clone_root and boot a diskless workstation from this server [using the bootp/DHCP method as outlined in the handbook]. >Fix: Edit rc.diskless1 [v 1.5.2.6 2001/05/11] as outlined below. This creates a bigger [maybe a little too big?] mfs /etc, so that populating it doesn't result in diskless boot failure. NB: this rc.diskless1 file should be edited in /etc *before* clone_root is run. If fixing this after clone_root has been run, then it must be edited in /<diskless root mount point>/etc. --- rc.diskless1.orig Feb 3 07:10:15 2002 +++ rc.diskless1 Feb 8 18:36:34 2002 # Create an MFS /tmp to temporarily hold files from /etc until we # can bootstrap /etc as an MFS. ---mount_md 4096 /etc 0 +++mount_md 8192 /etc 0 chkerr $? "MFS mount on /etc" /bin/chmod 755 /etc >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202092118.g19LIox44374>