You’re compiling runwhen with a recent version of skalibs? You may encounter the following error:
Making compile/host/rw-match./compile/host/rw-match.o: In function `main':rw-match.c:(.text.startup+0x13e): undefined reference to `scan_uint'collect2: error: ld returned 1 exit statusThe following files were not made successfully:command/rw-match
With skalibs 1.4.2, runwhen won’t compile. The solution is pretty simple, but hard to find if you’re not reading a couple of mailing lists. scan_uint has been refactored to uint_scan in the recent release of skalibs. Just replace scan_uint to uint_scan in rw-match.c and everything compiles nicely.
Thanks a lot to the guys from uberspace.de for pointing me to the solution.
I already wrote about the benefits of having a rescue system like GRML on hand, so I won’t try to convince you again. But what’s the use of a PXE enabled rescue environment while sitting on a train and screwing up your LVM? There’s no need to search for your rescue thumb drive, because – let’s face it – it’s always in the last pocket you look at or not even with you at all.