We have a standard mechanism to notify users that their machine should be rebooted through /run/reboot-required, needrestart should use that instead of debconf prompts.
We have a standard mechanism to notify users that their machine should be rebooted through /run/reboot- required, needrestart should use that instead of debconf prompts.