[GH-ISSUE #8] Linux Agent: Reboot Required Logic Wrong #83

Closed
opened 2026-03-14 01:34:39 +03:00 by kerem · 1 comment
Owner

Originally created by @eCloudJTuttle on GitHub (May 2, 2022).
Original GitHub issue: https://github.com/amidaware/rmmagent/issues/8

Originally assigned to: @wh1te909 on GitHub.

For all of our Linux servers, they all show "Reboot Required". Running the command on the machine "needs-restarting" returns code 0, so machine does not require a reboot.

The source code looks for the file needs-restarting and returns true if the file exists. If the file does exist, the command should be called, and if the return code is not zero, then it requires reboot.

Originally created by @eCloudJTuttle on GitHub (May 2, 2022). Original GitHub issue: https://github.com/amidaware/rmmagent/issues/8 Originally assigned to: @wh1te909 on GitHub. For all of our Linux servers, they all show "Reboot Required". Running the command on the machine "needs-restarting" returns code 0, so machine does not require a reboot. The source code looks for the file needs-restarting and returns true if the file exists. If the file does exist, the command should be called, and if the return code is not zero, then it requires reboot.
kerem 2026-03-14 01:34:39 +03:00
  • closed this issue
  • added the
    bug
    fixed
    labels
Author
Owner

@wh1te909 commented on GitHub (May 2, 2022):

thanks nice catch! I totally did forget to actually call the binary lol

<!-- gh-comment-id:1115092440 --> @wh1te909 commented on GitHub (May 2, 2022): thanks nice catch! I totally did forget to actually call the binary lol
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rmmagent#83
No description provided.