3

Depending on your Linux version there are different commands to update the system from a repository.

What command is needed to preview whether a reboot will be required.... In other words - BEFORE an update, rather than after.

  • for SLES/OpenSUSE?
  • for Debian/Ubuntu?
  • for RHEL/CentOS/Fedora?
0

For Debian & Ubuntu, you could do an upgrade dry-run via apt-get dist-upgrade -s and look for a new kernel being installed. Except in very few cases, this should cover everything.

Exceptions I can think of:

  • root or other critical partitions on a third-party kernel module that gets upgraded.
  • grsec locking in the kernel, where some actions are not available until the reboot
  • thx for the answer. need to get some system(s) installed to test. – Michael Felt Mar 29 '17 at 7:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.