You are not logged in.

#1 2012-09-10 01:58:14

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

kmod upgrade

With the recent kmod upgrade (in testing), it is easy to make a system unbootable with a custom kernel.

* Build a kernel using 'make tar-pkg'.
* Copy it to the target machine.
* cd / && tar xvfm <package>
* Now /lib is overwritten and the system is borked.

Using a rescue disc, the system can be recovered, but I just bricked a machine 500kms away. sad
Of course, this situation could have been avoided if I had used 'tar xvfmh', but old habits die hard...

Offline

#2 2012-09-10 02:40:01

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: kmod upgrade

This wasn't any better with kmod in core. "make tar-pkg" didn't work at all because of the rootprefix.

Offline

#3 2012-09-10 03:21:10

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: kmod upgrade

Yes, but a compilation failure is much easier to fix. smile

Offline

Board footer

Powered by FluxBB