mempodippy / vlany

Linux LD_PRELOAD rootkit (x86 and x86_64 architectures)
GNU General Public License v3.0
935 stars 193 forks source link

Handle the init upgrade/switch to systemd (ex: Debian 7 -> Debian 8) #22

Closed unixfox closed 7 years ago

unixfox commented 7 years ago

If a box with vlany installed and running on Debian 7 upgrade to Debian 8 the box will never reboot because of the bug with udev (a component of systemd) or if a box running any distribution switch to another init manager (Gentoo gives the ability to do this: https://elatov.github.io/2015/02/upgrade-gentoo-to-use-systemd/) the same bug will appears.

There are a few method to prevent the brick:

unixfox commented 7 years ago

I'm dumb, the install.sh fix grub to mount the boot directory to read write even if the box isn't running on systemd.