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 system call error. 

All of these programs have just been replaced with newer versions that
have a different idea of which system call does what compared to the
old situation (the one your running kernel knows about).  These
binaries being static or dynamic is irrelevant.  Only the old ones are
capable of still running, that's why you copy /sbin/reboot to
/sbin/oreboot.

Note that the oreboot trick isn't perfect: a proper shutdown will try
to nicely stop things (do you have stuff in /etc/rc.shutdown?) that
may fail too.

The only guarranteed way to not fuck this up is to shutdown the
system and boot an upgrade kernel (e.g. bsd.rd).

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to