Re: Missing files in etc
On Thu, Jan 07, 2016 at 11:42:32PM +, Roderich wrote: > On Thu, 7 Jan 2016, Philip Guenther wrote: > > >>Unpacking base58.tgz with "tar xvzpf" is not enough to serve a diskless > >>machine, the missing files are necessary. > >> > >>What can I do? > > > >You could USE THE INSTALLER, instead of creating problems for yourself > >and wasting other people's time. > > I thank Ingo very much for his time writing one line. The diskless machine > is now running. > > Please, Guenther, tell me, how to use the installer to populate > a directory to serve a diskless machine. Please! > > Perhaps you help a lot of people, that like me, want to ocassionally > set up quickly a diskless machine only to make a test without risk > for a working machine. Or do you think, one must read the installer > script to do that? > > BTW, it seems, now is /etc/fstab necessary. > > And something like telnetd or sshd in the installers shell > can be very helpfull for making the kernel panic and save > the result of trace and ps. > > Regards > Rodrigo. > What I've done in the past is to follow the FAQ for "Building a Release" (http://www.openbsd.org/faq/faq5.html#Release). It will leave DESTDIR with a base system that you can move to the correct location and modify for your diskless host. It's an alternative at least, if you are ok with building it yourself from sources. Cheers, -- Andreas Kusalananda Kähäri, Bioinformatics Developer, Uppsala, Sweden OpenPGP: url=https://db.tt/2zaB1E7y; id=46082BDF
Re: Missing files in etc
I wrote the following more or less nonsense: And something like telnetd or sshd in the installers shell can be very helpfull for making the kernel panic and save the result of trace and ps. It can be very helpfull, but not for that. The kernel in that state will not transmit to the machine that conected to it before the panic. Painful that I had to do the test with the diskless machine to recognize it. Tomorow I grab a 0 modem cable and try, unless I read here a better idea. Rodrigo.
Re: Missing files in etc
On Thu, Jan 7, 2016 at 3:59 PM, Ted Unangst wrote: > Philip Guenther wrote: >> On Thu, Jan 7, 2016 at 1:53 PM, Roderich wrote: >> > I see, there is no set etc58.tgz, many of the files of the etc set are >> > now in the base set, but I miss some files (login.conf, passwd, pwd.db, >> > ssh/sshd_config, ...). >> > >> > Unpacking base58.tgz with "tar xvzpf" is not enough to serve a diskless >> > machine, the missing files are necessary. >> > >> > What can I do? >> >> You could USE THE INSTALLER, instead of creating problems for yourself >> and wasting other people's time. > > Unfortunately we don't have a diskless installer. That's weird: I don't see "diskless installer" mentioned at all previous to these replies to me. Sorry, I guess I lose the game of "guess the problem I'm trying to solve!" I stand by my recommendation that if he wants to manually do the job of the installer, he should read the source code to the existing one. Philip Guenther
Re: Missing files in etc
Philip Guenther wrote: > On Thu, Jan 7, 2016 at 1:53 PM, Roderich wrote: > > I see, there is no set etc58.tgz, many of the files of the etc set are > > now in the base set, but I miss some files (login.conf, passwd, pwd.db, > > ssh/sshd_config, ...). > > > > Unpacking base58.tgz with "tar xvzpf" is not enough to serve a diskless > > machine, the missing files are necessary. > > > > What can I do? > > You could USE THE INSTALLER, instead of creating problems for yourself > and wasting other people's time. Unfortunately we don't have a diskless installer.
Re: Missing files in etc
On Thu, 7 Jan 2016, Philip Guenther wrote: Unpacking base58.tgz with "tar xvzpf" is not enough to serve a diskless machine, the missing files are necessary. What can I do? You could USE THE INSTALLER, instead of creating problems for yourself and wasting other people's time. I thank Ingo very much for his time writing one line. The diskless machine is now running. Please, Guenther, tell me, how to use the installer to populate a directory to serve a diskless machine. Please! Perhaps you help a lot of people, that like me, want to ocassionally set up quickly a diskless machine only to make a test without risk for a working machine. Or do you think, one must read the installer script to do that? BTW, it seems, now is /etc/fstab necessary. And something like telnetd or sshd in the installers shell can be very helpfull for making the kernel panic and save the result of trace and ps. Regards Rodrigo.
Re: Missing files in etc
On Thu, Jan 7, 2016 at 1:53 PM, Roderich wrote: > I see, there is no set etc58.tgz, many of the files of the etc set are > now in the base set, but I miss some files (login.conf, passwd, pwd.db, > ssh/sshd_config, ...). > > Unpacking base58.tgz with "tar xvzpf" is not enough to serve a diskless > machine, the missing files are necessary. > > What can I do? You could USE THE INSTALLER, instead of creating problems for yourself and wasting other people's time. Really want to do it for yourself without involving others? Then *read* the installer and do the steps that it's doing! Philip Guenther
Re: Missing files in etc
Hi Roderich, Roderich wrote on Thu, Jan 07, 2016 at 09:53:16PM +: > What can I do? Look in /var/sysmerge/. Ingo
Missing files in etc
Dear Sirs! I see, there is no set etc58.tgz, many of the files of the etc set are now in the base set, but I miss some files (login.conf, passwd, pwd.db, ssh/sshd_config, ...). Unpacking base58.tgz with "tar xvzpf" is not enough to serve a diskless machine, the missing files are necessary. What can I do? Thanks Rodrigo.
Re: current snapshot (7/16) missing files in /etc
On 07/19/14 07:54, Richard wrote: > I found several files missing from a clean install of the snapshot of > 7/16/2014: > > /etc/ntpd.conf > /etc/rc.local > /etc/mtree/BSD.local.dist > > I just copied these from a 5.5 installation, but a newbie would have > trouble... > > The /etc/mtree/BSD.local.dist file was discovered missing by doing a > "make update-plist" inside a /usr/ports directory. > > rich...@aaazen.com > > Richard Narron > - > Corruption is not the #1 priority of the Police Commissioner. His job > is to enforce the law and fight crime. > -- P.B.A. President E. J. Kiernan > > For /etc/mtree/BSD.local.dist $ cd /usr/ports/infrastructure/ $ grep -r "BSD.local.dist" . ./lib/OpenBSD/FS.pm:OpenBSD::Mtree::parse($mtree, '/usr/local', '/etc/mtree/BSD.local.dist'); ./package/find-plist-issues:OpenBSD::Mtree::parse($mtree, '/usr/local', '/etc/mtree/BSD.local.dist'); ./bin/check-common-dirs:OpenBSD::Mtree::parse($mtree, '/usr/local', '/etc/mtree/BSD.local.dist'); Still references to BSD.local.dist in the ports tree.. Moved into the Attic... 15 July... $ ls -lrt /cvs/src/etc/mtree/Attic/ total 184 -r--r--r-- 1 cvsync cvsync 14157 Jul 11 11:58 4.4BSD.var,v -r--r--r-- 1 cvsync cvsync 54244 Jul 11 11:58 4.4BSD.usr,v -r--r--r-- 1 cvsync cvsync 7773 Jul 11 11:58 4.4BSD.root,v -r--r--r-- 1 cvsync cvsync 10583 Jul 15 10:14 BSD.local.dist,v >From cvs log description: revision 1.16 date: 2014/07/15 09:14:50; author: espie; state: dead; lines: +1 -1; commitid: VM74ohHqnmCx3IOP; folded back into 4.4BSD.dist removed to unconfuse devs okay aja, theo I see nothing in current that tells those following current to remove /etc/mtree/BSD.local.dist the problem will only be seen on new installations. Some have been moved into examples $ tar -tzf base56.tgz ./etc/examples ./etc/examples ./etc/examples/bgpd.conf ./etc/examples/chio.conf ./etc/examples/dhcpd.conf ./etc/examples/dvmrpd.conf ./etc/examples/exports ./etc/examples/ftpchroot ./etc/examples/hostapd.conf ./etc/examples/hosts.lpd ./etc/examples/ifstated.conf ./etc/examples/iked.conf ./etc/examples/inetd.conf ./etc/examples/ipsec.conf ./etc/examples/ldapd.conf ./etc/examples/ldpd.conf ./etc/examples/mixerctl.conf ./etc/examples/mrouted.conf ./etc/examples/ntpd.conf ./etc/examples/ospf6d.conf ./etc/examples/ospfd.conf ./etc/examples/pf.conf ./etc/examples/printcap ./etc/examples/rbootd.conf ./etc/examples/rc.local ./etc/examples/rc.securelevel ./etc/examples/rc.shutdown ./etc/examples/relayd.conf ./etc/examples/remote ./etc/examples/ripd.conf ./etc/examples/sasyncd.conf ./etc/examples/sensorsd.conf ./etc/examples/snmpd.conf ./etc/examples/sysctl.conf ./etc/examples/wsconsctl.conf ./etc/examples/ypldap.conf ntpd.conf and rc.local should be there under examples on 5.6 There is another problem is building from cvs $ ls -lrt /etc/examples total 8 -rw-r--r-- 1 root wheel 240 Jul 12 13:07 printcap -rw-r--r-- 1 root wheel 1850 Jul 12 13:07 remote The examples don't get placed in /etc/examples by building userland, likely as before this could have replaced existing configurations.
current snapshot (7/16) missing files in /etc
I found several files missing from a clean install of the snapshot of 7/16/2014: /etc/ntpd.conf /etc/rc.local /etc/mtree/BSD.local.dist I just copied these from a 5.5 installation, but a newbie would have trouble... The /etc/mtree/BSD.local.dist file was discovered missing by doing a "make update-plist" inside a /usr/ports directory. rich...@aaazen.com Richard Narron - Corruption is not the #1 priority of the Police Commissioner. His job is to enforce the law and fight crime. -- P.B.A. President E. J. Kiernan