From djm at mindrot.org Thu Jul 6 12:30:22 2006 From: djm at mindrot.org (Damien Miller) Date: Thu, 6 Jul 2006 12:30:22 +1000 (EST) Subject: [flashboot] rsync server has moved Message-ID: Hi, For anyone who is using it, the mindrot.org rsync server has changed home. It's canonical location is rsync.mindrot.org, so if you use that then you will be able to find it as long as it exists. -d From massimo at cedoc.mo.it Thu Jul 6 22:04:45 2006 From: massimo at cedoc.mo.it (Massimo Lusetti) Date: Thu, 06 Jul 2006 14:04:45 +0200 Subject: [flashboot] flashboot build affect openbsd build Message-ID: <1152187485.4304.7.camel@massimo.datacode.it> This is kinda a followup from the thread on misc@ "Error building -ntpd on -current" which i started. Before posting this same hypothesis on misc@ i would like to hear something from you as well cause... I've got two different machines which i keep current and on one of them i built flashboot from a current snapshot. On that machine then i was unable to complete a successful build of OpenBSD with the error described on misc@ Instead on the other machine i was able to build current and the only difference (without taking hw but that's not failing) between the two is that on the first one i built flashboot. So here come my question: Could be that building flashboot (with build.sh and mk-mini.conf) and setting BSDOBJDIR on a different directory other then /usr/obj could cause the problem? I've to admit i got not many clues. Thanks for your time. -- Massimo From massimo at cedoc.mo.it Fri Jul 7 01:52:40 2006 From: massimo at cedoc.mo.it (Massimo Lusetti) Date: Thu, 06 Jul 2006 17:52:40 +0200 Subject: [flashboot] mpt is no more for GENERIC-RD Message-ID: <1152201160.4304.16.camel@massimo.datacode.it> This is the dummy diff. --- GENERIC-RD.ori Thu Jul 6 17:51:05 2006 +++ GENERIC-RD Thu Jul 6 17:51:12 2006 @@ -325,8 +325,6 @@ scsibus* at ahc? ahd* at pci? # Adaptec 79?? SCSI controllers scsibus* at ahd? -mpt* at pci? # LSI Fusion-MPT SCSI/Fibre -scsibus* at mpt? dpt* at pci? # DPT SmartCache/SmartRAID PCI dpt* at eisa? # DPT SmartCache/SmartRAID EISA scsibus* at dpt? -- Massimo.run(); From djm at mindrot.org Sun Jul 9 18:57:30 2006 From: djm at mindrot.org (Damien Miller) Date: Sun, 09 Jul 2006 18:57:30 +1000 Subject: [flashboot] flashboot build affect openbsd build In-Reply-To: <1152187485.4304.7.camel@massimo.datacode.it> References: <1152187485.4304.7.camel@massimo.datacode.it> Message-ID: <44B0C4FA.9000102@mindrot.org> Massimo Lusetti wrote: > Instead on the other machine i was able to build current and the only > difference (without taking hw but that's not failing) between the two is > that on the first one i built flashboot. > > So here come my question: Could be that building flashboot (with > build.sh and mk-mini.conf) and setting BSDOBJDIR on a different > directory other then /usr/obj could cause the problem? If you have accidentally done a "make build" or a "make includes" with DESTDIR set but using the mk-mini.conf, then you could have clobbered something. If you are really paranoid, then you could try running the build under systrace with a very simple policy that permits everything except for writes under /usr/src -d From djm at mindrot.org Sun Jul 9 19:44:05 2006 From: djm at mindrot.org (Damien Miller) Date: Sun, 09 Jul 2006 19:44:05 +1000 Subject: [flashboot] mpt is no more for GENERIC-RD In-Reply-To: <1152201160.4304.16.camel@massimo.datacode.it> References: <1152201160.4304.16.camel@massimo.datacode.it> Message-ID: <44B0CFE5.1020902@mindrot.org> Thanks for reminding me - the kernel configs have all been synced now. -d Massimo Lusetti wrote: > This is the dummy diff. > > > --- GENERIC-RD.ori Thu Jul 6 17:51:05 2006 > +++ GENERIC-RD Thu Jul 6 17:51:12 2006 > @@ -325,8 +325,6 @@ > scsibus* at ahc? > ahd* at pci? # Adaptec 79?? SCSI controllers > scsibus* at ahd? > -mpt* at pci? # LSI Fusion-MPT SCSI/Fibre > -scsibus* at mpt? > dpt* at pci? # DPT SmartCache/SmartRAID PCI > dpt* at eisa? # DPT SmartCache/SmartRAID EISA > scsibus* at dpt? > > > From massimo at cedoc.mo.it Mon Jul 10 19:00:35 2006 From: massimo at cedoc.mo.it (Massimo Lusetti) Date: Mon, 10 Jul 2006 11:00:35 +0200 Subject: [flashboot] flashboot build affect openbsd build In-Reply-To: <44B0C4FA.9000102@mindrot.org> References: <1152187485.4304.7.camel@massimo.datacode.it> <44B0C4FA.9000102@mindrot.org> Message-ID: <1152522035.4325.7.camel@massimo.datacode.it> On Sun, 2006-07-09 at 18:57 +1000, Damien Miller wrote: > If you have accidentally done a "make build" or a "make includes" with > DESTDIR set but using the mk-mini.conf, then you could have clobbered > something. Thanks for clarifying it. I was thinking of something similar but was not too sure of what could exactly have been the problem, since i scheduled the built with a custom made scripts that's probably exact. > If you are really paranoid, then you could try running the build under > systrace with a very simple policy that permits everything except for > writes under /usr/src I'll try it really soon. Thanks! -- Massimo.run(); From massimo at cedoc.mo.it Fri Jul 21 00:09:47 2006 From: massimo at cedoc.mo.it (Massimo Lusetti) Date: Thu, 20 Jul 2006 16:09:47 +0200 Subject: [flashboot] current build as of today Message-ID: <1153404587.13622.4.camel@massimo.datacode.it> Here is what i got when try to build today using misc/build.sh and mk- mini.conf, while using standard procedure, as the one on faq5.html, the build goes fine. Regards ===> usr.bin/ssh/ssh cc -O2 -pipe -I/usr/src/usr.bin/ssh/ssh/.. -Wall -Wpointer-arith -Wno- uninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign- compare -Wbounded -Wshadow -nostdinc -idirafter /data/flash- live/usr/include -c /usr/src/usr.bin/ssh/ssh.c cc -O2 -pipe -I/usr/src/usr.bin/ssh/ssh/.. -Wall -Wpointer-arith -Wno- uninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign- compare -Wbounded -Wshadow -nostdinc -idirafter /data/flash- live/usr/include -c /usr/src/usr.bin/ssh/readconf.c cc -O2 -pipe -I/usr/src/usr.bin/ssh/ssh/.. -Wall -Wpointer-arith -Wno- uninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign- compare -Wbounded -Wshadow -nostdinc -idirafter /data/flash- live/usr/include -c /usr/src/usr.bin/ssh/clientloop.c cc -O2 -pipe -I/usr/src/usr.bin/ssh/ssh/.. -Wall -Wpointer-arith -Wno- uninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign- compare -Wbounded -Wshadow -nostdinc -idirafter /data/flash- live/usr/include -c /usr/src/usr.bin/ssh/sshtty.c cc -O2 -pipe -I/usr/src/usr.bin/ssh/ssh/.. -Wall -Wpointer-arith -Wno- uninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign- compare -Wbounded -Wshadow -nostdinc -idirafter /data/flash- live/usr/include -c /usr/src/usr.bin/ssh/sshconnect.c cc -O2 -pipe -I/usr/src/usr.bin/ssh/ssh/.. -Wall -Wpointer-arith -Wno- uninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign- compare -Wbounded -Wshadow -nostdinc -idirafter /data/flash- live/usr/include -c /usr/src/usr.bin/ssh/sshconnect1.c cc -O2 -pipe -I/usr/src/usr.bin/ssh/ssh/.. -Wall -Wpointer-arith -Wno- uninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign- compare -Wbounded -Wshadow -nostdinc -idirafter /data/flash- live/usr/include -c /usr/src/usr.bin/ssh/sshconnect2.c /usr/src/usr.bin/ssh/sshconnect2.c: In function `ssh_keysign': /usr/src/usr.bin/ssh/sshconnect2.c:1244: warning: implicit declaration of function `pipe' /usr/src/usr.bin/ssh/sshconnect2.c:1252: warning: implicit declaration of function `fork' /usr/src/usr.bin/ssh/sshconnect2.c:1257: warning: implicit declaration of function `getuid' /usr/src/usr.bin/ssh/sshconnect2.c:1258: warning: implicit declaration of function `close' /usr/src/usr.bin/ssh/sshconnect2.c:1259: warning: implicit declaration of function `dup2' /usr/src/usr.bin/ssh/sshconnect2.c:1259: error: `STDOUT_FILENO' undeclared (first use in this function) /usr/src/usr.bin/ssh/sshconnect2.c:1259: error: (Each undeclared identifier is reported only once /usr/src/usr.bin/ssh/sshconnect2.c:1259: error: for each function it appears in.) /usr/src/usr.bin/ssh/sshconnect2.c:1262: error: `STDIN_FILENO' undeclared (first use in this function) /usr/src/usr.bin/ssh/sshconnect2.c:1266: warning: implicit declaration of function `execl' *** Error code 1 Stop in /usr/src/usr.bin/ssh/ssh. *** Error code 1 Stop in /usr/src/usr.bin/ssh. *** Error code 1 Stop in /usr/src/usr.bin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src (line 73 of Makefile). -- Massimo.run(); From stevesk at pobox.com Fri Jul 21 01:30:28 2006 From: stevesk at pobox.com (Kevin Steves) Date: Thu, 20 Jul 2006 08:30:28 -0700 Subject: [flashboot] current build as of today In-Reply-To: <1153404587.13622.4.camel@massimo.datacode.it> References: <1153404587.13622.4.camel@massimo.datacode.it> Message-ID: <20060720153028.GA25863@steam.sbcglobal.net> On Thu, Jul 20, 2006 at 04:09:47PM +0200, Massimo Lusetti wrote: : /usr/src/usr.bin/ssh/sshconnect2.c:1266: warning: implicit declaration : of function `execl' : *** Error code 1 I missed some some needed #include when KERBEROS5=no. Fixed in OpenBSD CVS now. From massimo at cedoc.mo.it Fri Jul 21 01:52:52 2006 From: massimo at cedoc.mo.it (Massimo Lusetti) Date: Thu, 20 Jul 2006 17:52:52 +0200 Subject: [flashboot] current build as of today In-Reply-To: <20060720153028.GA25863@steam.sbcglobal.net> References: <1153404587.13622.4.camel@massimo.datacode.it> <20060720153028.GA25863@steam.sbcglobal.net> Message-ID: <1153410772.13622.6.camel@massimo.datacode.it> On Thu, 2006-07-20 at 08:30 -0700, Kevin Steves wrote: > On Thu, Jul 20, 2006 at 04:09:47PM +0200, Massimo Lusetti wrote: > : /usr/src/usr.bin/ssh/sshconnect2.c:1266: warning: implicit declaration > : of function `execl' > : *** Error code 1 > > I missed some some needed #include when KERBEROS5=no. > > Fixed in OpenBSD CVS now. Thanks very much! -- Massimo.run(); From massimo at cedoc.mo.it Fri Jul 21 20:09:09 2006 From: massimo at cedoc.mo.it (Massimo Lusetti) Date: Fri, 21 Jul 2006 12:09:09 +0200 Subject: [flashboot] Disk full (svnd0) Message-ID: <1153476549.4304.29.camel@massimo.datacode.it> I'm sorry to bother but I'm trying to compile a GENERIC-RD on a recent current to test a new C7 box which has 3 re(4) devices and cannot complete successfully. Now thanks to the quick fix by Kevin i can build using build.sh but cannot complete flashboot's make, this is with the CVS snapshot of 20060720. Thanks for any infos. SPECIAL find -d ./var/games -type d -exec rmdir {} \; >/dev/null 2>&1 SPECIAL find -d ./var/www -type d -exec rmdir {} \; >/dev/null 2>&1 SPECIAL find -d ./usr -type d -exec rmdir {} \; >/dev/null 2>&1 SPECIAL sync SPECIAL mkdir -p ./usr/lib SPECIAL ${CURDIR}/tools/libcopy.sh ${DESTDIR} ./usr/lib bin/* SPECIAL ${CURDIR}/tools/libcopy.sh ${DESTDIR} ./usr/lib sbin/* SPECIAL ${CURDIR}/tools/libcopy.sh ${DESTDIR} ./usr/lib usr/bin/* //usr/lib/libasn1.so.16.0 => ./usr/lib/libasn1.so.16.0 /mnt: write failed, file system is full cp: ./usr/lib/libasn1.so.16.0: No space left on device //usr/lib/libc.so.39.2 => ./usr/lib/libc.so.39.2 /mnt: write failed, file system is full cp: ./usr/lib/libc.so.39.2: No space left on device //usr/lib/libcrypto.so.13.0 => ./usr/lib/libcrypto.so.13.0 /mnt: write failed, file system is full cp: ./usr/lib/libcrypto.so.13.0: No space left on device //usr/lib/libcurses.so.10.0 => ./usr/lib/libcurses.so.10.0 /mnt: write failed, file system is full cp: ./usr/lib/libcurses.so.10.0: No space left on device //usr/lib/libdes.so.9.0 => ./usr/lib/libdes.so.9.0 /mnt: write failed, file system is full cp: ./usr/lib/libdes.so.9.0: No space left on device //usr/lib/libedit.so.3.0 => ./usr/lib/libedit.so.3.0 /mnt: write failed, file system is full cp: ./usr/lib/libedit.so.3.0: No space left on device //usr/lib/libgssapi.so.5.0 => ./usr/lib/libgssapi.so.5.0 /mnt: write failed, file system is full cp: ./usr/lib/libgssapi.so.5.0: No space left on device //usr/lib/libkrb5.so.16.0 => ./usr/lib/libkrb5.so.16.0 /mnt: write failed, file system is full cp: ./usr/lib/libkrb5.so.16.0: No space left on device //usr/lib/libkvm.so.8.0 => ./usr/lib/libkvm.so.8.0 /mnt: write failed, file system is full cp: ./usr/lib/libkvm.so.8.0: No space left on device //usr/lib/libm.so.2.3 => ./usr/lib/libm.so.2.3 /mnt: write failed, file system is full cp: ./usr/lib/libm.so.2.3: No space left on device //usr/lib/librpcsvc.so.1.0 => ./usr/lib/librpcsvc.so.1.0 /mnt: write failed, file system is full cp: ./usr/lib/librpcsvc.so.1.0: No space left on device //usr/lib/libtermcap.so.10.0 => ./usr/lib/libtermcap.so.10.0 /mnt: write failed, file system is full cp: ./usr/lib/libtermcap.so.10.0: No space left on device //usr/lib/libutil.so.11.0 => ./usr/lib/libutil.so.11.0 /mnt: write failed, file system is full cp: ./usr/lib/libutil.so.11.0: No space left on device //usr/lib/libz.so.4.1 => ./usr/lib/libz.so.4.1 /mnt: write failed, file system is full cp: ./usr/lib/libz.so.4.1: No space left on device *** Error code 1 Stop in /data/flashboot (line 129 of /data/flashboot/Makefile). *** Error code 1 Stop in /data/flashboot (line 72 of /data/flashboot/Makefile). -- Massimo.run(); From djm at mindrot.org Sat Jul 22 10:49:23 2006 From: djm at mindrot.org (Damien Miller) Date: Sat, 22 Jul 2006 10:49:23 +1000 Subject: [flashboot] Disk full (svnd0) In-Reply-To: <1153476549.4304.29.camel@massimo.datacode.it> References: <1153476549.4304.29.camel@massimo.datacode.it> Message-ID: <44C17613.1060306@mindrot.org> Massimo Lusetti wrote: > I'm sorry to bother but I'm trying to compile a GENERIC-RD on a recent > current to test a new C7 box which has 3 re(4) devices and cannot > complete successfully. > Now thanks to the quick fix by Kevin i can build using build.sh but > cannot complete flashboot's make, this is with the CVS snapshot of > 20060720. > /mnt: write failed, file system is full > cp: ./usr/lib/libasn1.so.16.0: No space left on device > //usr/lib/libc.so.39.2 => ./usr/lib/libc.so.39.2 This is one of the Kerberos libraries that should not be needed. So I guess that you have not set $DESTDIR correctly or are you are not building with mk-mini.conf. -d From massimo at cedoc.mo.it Sat Jul 22 19:01:51 2006 From: massimo at cedoc.mo.it (Massimo Lusetti) Date: Sat, 22 Jul 2006 11:01:51 +0200 Subject: [flashboot] Disk full (svnd0) In-Reply-To: <44C17613.1060306@mindrot.org> References: <1153476549.4304.29.camel@massimo.datacode.it> <44C17613.1060306@mindrot.org> Message-ID: <1153558912.4306.16.camel@massimo.datacode.it> On Sat, 2006-07-22 at 10:49 +1000, Damien Miller wrote: > This is one of the Kerberos libraries that should not be needed. So I > guess that you have not set $DESTDIR correctly or are you are not > building with mk-mini.conf. Usual excuses apply, big hurry but a project deadline and a very slow machine used to build, but shame on me. My build script didn't correctly report $DESTDIR, leaking of sleep and to much blur on my eyes. I've kernels from 'make everything' from flashboot-20060721 built on cvs checkout of the same date if anyone is interested, it's obvious they cannot taken as the official one. Regards -- Massimo.run(); From massimo at cedoc.mo.it Wed Jul 26 17:57:42 2006 From: massimo at cedoc.mo.it (Massimo Lusetti) Date: Wed, 26 Jul 2006 09:57:42 +0200 Subject: [flashboot] Including rdist? Message-ID: <20060726095742.a5823961.massimo@cedoc.mo.it> I find rdist/rdists useful within flashboot context. I plan to use it to distribute kernel updates to our vpn gateways, just to keep them in sync and updated. I start on looking at rist cause it (obviously) use ssh and is included in the default OpenBSD installation. Regards From rd at tilde.se Wed Jul 26 18:06:28 2006 From: rd at tilde.se (Rickard Dahlstrand) Date: Wed, 26 Jul 2006 10:06:28 +0200 Subject: [flashboot] Including rdist? In-Reply-To: <20060726095742.a5823961.massimo@cedoc.mo.it> References: <20060726095742.a5823961.massimo@cedoc.mo.it> Message-ID: <44C72284.2070809@tilde.se> Hi, Here is a shellscript I use that might work just as well. It's a simple shellscript with a public passwordless sshkey. It allows me send commands and copy only selected files and folders. Rickard. #servers=`wget https://32.32.32.23/listsrv.php --tries=3 --timeout=3 -q -O-` servers="0;123.123.123.123 1;322.312.312.132" for serv in ${servers}; do echo "--------${serv}---------" sshsrv=`echo "${serv}" | awk -F \; '{print $2}'` ssh -p2222 -i .ssh/master -o StrictHostKeyChecking=no -o CheckHostIP=no root@${sshsrv} "/bin/rw; /bin/hostname > /myname ;mv /bsd /obsd;" scp -P2222 -i .ssh/master -o StrictHostKeyChecking=no -o CheckHostIP=no -r bsd conf etc conf dist root@${sshsrv}:/ ssh -p2222 -i .ssh/master -o StrictHostKeyChecking=no -o CheckHostIP=no root@${sshsrv} "mv /etc/ssh/ssh_host* /conf/etc/ ssh/; /bin/ro; reboot;" done Massimo Lusetti wrote: > I find rdist/rdists useful within flashboot context. > I plan to use it to distribute kernel updates to our vpn gateways, just > to keep them in sync and updated. > > I start on looking at rist cause it (obviously) use ssh and is included > in the default OpenBSD installation. > > Regards > _______________________________________________ > flashboot mailing list > flashboot at mindrot.org > http://lists.mindrot.org/mailman/listinfo/flashboot > From farlies at gmail.com Mon Jul 31 11:15:20 2006 From: farlies at gmail.com (farlies) Date: Sun, 30 Jul 2006 20:15:20 -0500 Subject: [flashboot] Status of misc/patches Message-ID: <44CD59A8.3010804@gmail.com> Curious about the status of the patches in the misc/patches file. These seem incompatible with Current ldconfig.c: several hunks fail; make build fails with partial patch installed. The patches file seems identical in snapshot and alpha release. Attempted to merge manually, but some incompatibilities, e.g. semantics of '-S'. * Are these patches important/necessary? * If so, would one be advised to backtrack to stable? Side question: * Any way to resume a failed build that does not involve starting from scratch (~6 hours to get to the bug--is getting old :-) // F