Re: Upgrading by installing post time_t snapshot

2013-10-10 Thread Nick Holland
On 10/09/13 16:47, Jeff Ross wrote: ... Hi Nick! Just the person I was hoping to hear chime in! yeah, you got my attention. and got me nervous. :) Standard ksh shell, as root, although I got there via sudo. I for sure thought it was odd, but actually on 4 separate systems I've had

Upgrading by installing post time_t snapshot

2013-10-09 Thread Jeff Ross
I've got to upgrade some remote machines that I only have access via ssh. I've been using a script based on the Upgrade without install kernel for years. I modified it slightly for this upgrade by adding /usr/sbin/pwd_mkdb /etc/master.passwd to /etc/rc.local so the password databases

Re: Upgrading by installing post time_t snapshot

2013-10-09 Thread Nick Holland
On 10/09/2013 02:43 PM, Jeff Ross wrote: I've got to upgrade some remote machines that I only have access via ssh. I've been using a script based on the Upgrade without install kernel for years. I modified it slightly for this upgrade by adding /usr/sbin/pwd_mkdb /etc/master.passwd to

Re: Upgrading by installing post time_t snapshot

2013-10-09 Thread Jeff Ross
On 10/9/13 1:29 PM, Nick Holland wrote: On 10/09/2013 02:43 PM, Jeff Ross wrote: I've got to upgrade some remote machines that I only have access via ssh. I've been using a script based on the Upgrade without install kernel for years. I modified it slightly for this upgrade by adding

Re: Upgrading by installing post time_t snapshot

2013-10-09 Thread Nicholas Marriott
So long as tmux is running and attached it is already in memory and replacing the binary on disk should have no effect. Also ksh is still ksh even if it's inside tmux. tmux is not a shell. Once your script is going then whether you are running it inside tmux or not should make no difference.

Re: Upgrading by installing post time_t snapshot

2013-10-09 Thread Jeff Ross
Speaking of failing internet...using my phone... All of the programs at the end of my script are static binaries, either in /bin or /usr/sbin, so they should work, right? Yet nothing ran, ls and cat both failed with the bad system call error. I only have one version of my script. It

Re: Upgrading by installing post time_t snapshot

2013-10-09 Thread Paul de Weerd
On Wed, Oct 09, 2013 at 03:56:49PM -0600, Jeff Ross wrote: | Speaking of failing internet...using my phone... | | All of the programs at the end of my script are static binaries, | either in /bin or /usr/sbin, so they should work, right? Yet nothing | ran, ls and cat both failed with the bad

Re: Upgrading by installing post time_t snapshot

2013-10-09 Thread Jeff Ross
Ah, sure that makes perfect sense. I'll have to gather up someone to run the power button on the other servers that need upgrading. Thanks! Sent from my iPhone, Reluctantly hunting and pecking on a virtual keyboard :-) On Oct 9, 2013, at 4:20 PM, Paul de Weerd we...@weirdnet.nl wrote: On

Re: Upgrading by installing post time_t snapshot

2013-10-09 Thread Nicholas Marriott
No, if being static was enough you wouldn't need to copy /sbin/reboot. Static binaries only help when library ABIs change, not the kernel syscall ABI. The kernel ABI has changed. By unpacking base*.tgz you have replaced the binaries in /sbin with copies that expect a new kernel, but you are still