[PC-BSD Testing] unable to ssh in after upgrade from 9.2-RELEASE to 10-RC4

Dave Cottlehuber dch at jsonified.com
Thu Jan 9 09:19:21 PST 2014


On 09. Jänner 2014 at 17:44:07, Kris Moore (kris at pcbsd.org) wrote:
>  
> On 01/08/2014 20:00, Dave Cottlehuber wrote:
> > Hi,
> >
> > This is my first upgrade so apologies if I'm simply mis-reading  
> docs.
> > I've a remote (hetzner) server, with mfsBSD 9.2 access via ssh  
> as a
> > poor man's console if ssh fails. Which I'm currently using.  
> >
> > - TrueOS amd64 9.2-RELEASE, installed using mfsBSD & some hackery[1]  
> > - edited /usr/local/share/pcbsd/pc-updatemanager/conf/sysupdate.conf  
> > - upgraded directly to 10-RC4 via pc-updatemanager, which:  
> > - downloaded & unpacked a bunch of stuff (lost terminal history  
> sadly)
> > - lots of chflags errors at end and then prompted for a reboot  
> to finish
> > - on reboot, ssh is not accessible, and there appears to be no  
> network
> > available
> > (ssh fails with no route to host, ping 100% fails)
> >
> > I switch over to mfsBSD, import zpool and scrub is clean.
> >
> > After chrooting to the zpool, adding rc_debug="YES", I got  
> a clean
> > set of logs from /var/log after the next boot:
> >
> > debug.log - at least openntpd is working here - why not ssh etc?  
> >
> > Jan 9 00:24:01 wintermute ntpd[2448]: reply from 46.4.17.217  
> > : offset -0.000030 delay 0.000346,  
> next query 7s
> >
> > messages - weird DHCP-like errrs & an ssh precmd issue:
> >
> > Jan 9 00:23:20 wintermute root: /etc/rc: DEBUG: checkyesno:  
> > warden_enable is set to YES.
> >
> > Jan 9 00:23:20 wintermute root: /etc/rc: DEBUG: run_rc_command:  
> doit:
> > warden_start
> > Jan 9 00:23:20 wintermute kernel:
> > Jan 9 00:23:20 wintermute kernel: re0: link state changed to  
> UP
> > Jan 9 00:23:20 wintermute devd: Executing '/etc/rc.d/dhclient  
> > quietstart re0'
> > Jan 9 00:23:20 wintermute root: /etc/rc.d/dhclient: DEBUG:  
> pid file
> > (/var/run/dhclient.re0.pid): not readable.
> >
> > Jan 9 00:23:20 wintermute root: /etc/rc.d/dhclient: DEBUG:  
> > run_rc_command: start_precmd: dhclient_prestart
> > Jan 9 00:23:20 wintermute root: /etc/rc.d/dhclient: DEBUG:  
> 're0' is
> > not a DHCP-enabled interface
> > Jan 9 00:23:22 wintermute kernel: Jan 9 00:23:22 syslogd: bind:  
> Can't
> > assign requested address
> >
> > Jan 9 00:23:23 wintermute kernel: Jan 9 00:23:23 syslogd: bind:  
> Can't
> > assign requested address
> >
> > Jan 9 00:23:25 wintermute root: /etc/rc: DEBUG: checkyesno:  
> > sshd_rsa_enable is set to yes.
> >
> > Jan 9 00:23:25 wintermute root: /etc/rc: DEBUG: checkyesno:  
> > sshd_dsa_enable is set to yes.
> > Jan 9 00:23:25 wintermute root: /etc/rc: DEBUG: checkyesno:  
> > sshd_ecdsa_enable is set to yes.
> > Jan 9 00:23:25 wintermute root: /etc/rc: DEBUG: checkyesno:  
> > sshd_enable is set to YES.
> >
> > Jan 9 00:23:25 wintermute root: /etc/rc: DEBUG: run_rc_command:  
> doit:
> > sshd_configtest
> > Jan 9 00:23:25 wintermute root: /etc/rc: WARNING: failed precmd  
> > routine for sshd
> >
> > How should I proceed here?
> >
> > - is there any info you'd like me to grab? /var/log/messages  
> of before
> > failed reboot, and a recent reboot, are at [2], and I've a .tar.gz  
> of
> > /boot, /etc, /root/, var/log as well.
> > - there's nothing critical on this box, I could reinstall (via  
> mfsBSD
> > again)
> > - alternatively, I could split the zfs mirror, setup a fresh  
> install,
> > and do some zfs legwork
> >
> > A+
> > Dave
> >
> >
>  
> :(
>  
> The updates to 9.2 weren't ready yet, and we are still on 10.0-RC3.  
> They
> will start going out in the next couple of days for testing.

Thanks for the reply Kris!

Oops :/. In hindsight this should have been obvious to me, but a
future improvement might be to prevent updating if there’s no
supported path yet. Would this be something I should add to trac?

> In the meantime, it sounds like your world environment is borked.  
> What
> does "uname -a" show on the system? Also if you run "freebsd-update  
> fetch" does it show a buch of stuff needing updating?

I just finished installing it from scratch, so it’s pretty happy now.

A+
Dave




More information about the Testing mailing list