@gtv4: Yay. The reboot on exit *might* be my fault.
I quite possibly got the logic wrong
here, and since I don't use KSM, nor advboot, nor fmon, that was a bit of a shot in the dark. (cf. the discussion in the PR @Markismus just linked to).
@tshering: What was the original intent here, and is there a KSM or advboot process we can look for to handle this properly?