New machine, I scooped a dual P3 from Phil. I had started noting what I did in XhierOnFreeBSD, but the hard disk barfed and the previous notes were getting cluttered, so I'm starting again.
Partitions set up thusly:
I may have wanted to reverse /usr and /fsys1. Oh well, I can probably always score more disk.
First, install base minimal system. Mount torres:/usr/ports and install the 44bsd-rdist, cvsup-without-gui, and rsync packages. Then cvsup src and ports from freebsd.uwaterloo.ca. Copy OATES config from torres to IPFILTER, copy torres' make.conf, and do a make buildworld.
16 October 2004
Allow inetd to start in rc.conf (made some other changes too, hurray for RCS), allow rsh/rlogin/rexec and set up .rhosts/.shosts to allow various archmasters in. Set rc.conf to allow linux emulation.
Create the standard xhier directory structure.
Hrm, I'd previously linked /usr/ports to /fsys1/ports. But make index doesn't seem to like this. I'd cvsupped with ports still really living in /usr. It's pissed off about that. So rm -r /fsys1/ports and re-cvsup.
With that done, let's turn our attention to xh-first-timing it. I think debian31 is a better starting point than debian30, so make a temp change on cscf.cs to tell debian31 that it's the master for freebsd5. dist that to debian31. Can't xh-first time, we get "rshd: Login incorrect". This is because we have to change /etc/pam.d/rsh:
# # $FreeBSD: src/etc/pam.d/rsh,v 1.5 2003/02/10 00:50:03 des Exp $ # # PAM configuration for the "rsh" service # # auth auth required pam_nologin.so no_warn auth required pam_rhosts.so no_warn allow_root # account account required pam_unix.so # session session required pam_permit.so # password password required pam_deny.so
ie, note the allow_root on the pam_rhosts.so line.
Now xh-first-time fails like this:
freebsd5# ./xh-check ELF interpreter /compat/linux/lib/ld-linux.so.2 not found Abort freebsd5#
so linux_enable in rc.conf isn't sufficient. cd /usr/ports/emulators/linux_base-debian and make package-recursive. It's still not keen on making packages, but it does create them.
Now xh-first-time will start running, at least, but:
xh-first-time FYI: (if it's not there) xh-first-time FYI: Crude check for missing NFS mounts. xh-first-time FYI: Distributing the real "xhier" package. xh-first-time FYI: Distributing the real "mfcf-basics" package. xh-first-time FYI: Distributing the real "os-extras" package. poll: protocol failure in circuit setup debian31:~#
http://www.redhat.com/archives/redhat-list/2001-August/msg00858.html talks about this a bit. Walter might also know about it; he posted to a debian group in 2002 asking about this.