buildworld inside a jail

Harald Schmalzbauer h at schmalzbauer.de
Thu Feb 5 18:24:43 PST 2004


On Friday 06 February 2004 03:05, Colin Percival wrote:
> At 01:59 06/02/2004, Harald Schmalzbauer wrote:
> >with identical (5.2-p2) sources I can buildworld on the host machine but
> > if I try to buildowrld inside a jail it fails with the following error:
>
>    "Works for me".  Can you describe
> * The kernel you're running,

Custom UP, APIC, SCHED_4BSD and acpi. Please find the config attached

> * The world you've got inside the jail, and

It's the world of "make installworld DESTDIR=/jail"

> * The contents of /dev inside the jail?

It's the result of [devfsrules_jail=4] from devfs.rules (/etc/defaults) 
reading:
dr-xr-xr-x  2 root  wheel  -      512  5 Feb 23:21:07 2004 fd
dr-xr-xr-x  2 root  wheel  -      512  5 Feb 23:21:07 2004 net
crw-rw-rw-  1 root  wheel  -   2,   2  6 Feb 03:13:50 2004 null
crw-rw-rw-  1 root  wheel  -   6,   0  6 Feb 02:35:01 2004 ptyp0
crw-rw-rw-  1 root  wheel  -   6,   1  6 Feb 03:18:17 2004 ptyp1
crw-rw-rw-  1 root  wheel  -   6,   2  6 Feb 02:31:13 2004 ptyp2
crw-rw-rw-  1 root  wheel  -   6,   3  6 Feb 01:13:39 2004 ptyp3
crw-rw-rw-  1 root  wheel  - 249,   0  5 Feb 23:21:08 2004 random
lrwxr-xr-x  1 root  wheel  -        6  5 Feb 23:21:07 2004 stderr -> fd/2
lrwxr-xr-x  1 root  wheel  -        5  5 Feb 23:21:07 2004 stdin -> fd/0
lrwxr-xr-x  1 root  wheel  -        6  5 Feb 23:21:07 2004 stdout -> fd/1
crw-rw-rw-  1 root  wheel  -   5,   0  6 Feb 03:18:17 2004 ttyp0
crw--w----  1 root  tty    -   5,   1  6 Feb 03:18:17 2004 ttyp1
crw-rw-rw-  1 root  wheel  -   5,   2  6 Feb 02:31:13 2004 ttyp2
crw-rw-rw-  1 root  wheel  -   5,   3  6 Feb 01:13:39 2004 ttyp3
lrwxr-xr-x  1 root  wheel  -        7  5 Feb 23:21:07 2004 urandom -> random
crw-rw-rw-  1 root  wheel  -   2,  12  5 Feb 23:20:19 2004 zero

Thank you,

-Harry

P.S. Its past 3 in the mornig here so I'll be back tomorrow. Thanks a lot!
>
> Colin Percival
>
>
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
-------------- next part --------------
machine		i386
cpu		I686_CPU
ident		DFI

options 	SCHED_4BSD		#4BSD scheduler
#options		SCHED_ULE
options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories
options		QUOTA
options 	PROCFS			#Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		#Pseudo-filesystem framework
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
#options 	COMPAT_FREEBSD4		#Compatible with FreeBSD4
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options         CLK_USE_I8254_CALIBRATION
options         CLK_USE_TSC_CALIBRATION
options         HZ=2000
options         PERFMON
options         RANDOM_IP_ID

# To make an SMP kernel, the next two are needed
#options 	SMP			# Symmetric MultiProcessor Kernel
#options         MPTABLE_FORCE_HTT
device		apic			# I/O APIC

device		isa
device		pci
device		agp		# support several AGP chipsets
device		npx
device		acpi

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering

# SCSI peripherals
device		scbus		# SCSI bus (required for SCSI)
device		ch		# SCSI media changers
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)

# RAID controllers
device		twe		# 3ware ATA RAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
options         ATKBD_DFLT_KEYMAP       # specify the built-in keymap
makeoptions     ATKBD_DFLT_KEYMAP=german.iso
device		psm		# PS/2 mouse

device		vga		# VGA video card driver

# syscons is the default console driver, resembling an SCO console
device		sc
options         MAXCONS=12
options         SC_DISABLE_REBOOT
options         SC_DFLT_FONT            # compile font in
makeoptions     SC_DFLT_FONT=iso15

# Add suspend/resume support for the i8254.
device		pmtimer

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

device		miibus		# MII bus support
device		rl		# RealTek 8129/8139

# Pseudo devices - the number indicates how many units to allocate.
device		random		# Entropy device
device		loop		# Network loopback
device		ether		# Ethernet support
device		pty		# Pseudo-ttys (telnet etc)
device		bpf		# Berkeley packet filter

device		smb
device		smbus
device		ichsmb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040206/45922929/attachment.bin


More information about the freebsd-questions mailing list