Feature #23361
Add unauthorized reboot e-mail alert
Description
Please note, I reported this for FN10 and now it's gone missing...... HOWEVER the problem impacted me, under FN9 (and still does, very infrequently)
Please see: "Feature #22899: System should notifiy administrator of unauthorised reboot" for more information.
"Faulty hardware / power loss / etc.
If Windows desktop and server can do it, I'm sure FreeNAS can.
Wild guess, FreeNAS writes a file called .reboot in a path, OS detects file is there, therefore reboot approved, file deleted, user not notified.
FreeNAS reboots, does NOT detect file in known path, therefore initiates user notification script.
(I can't code and don't code but that's my guess)
Thanks."
Sorry but I'm rating this not just nice to have, I think it's important.
Related issues
Associated revisions
History
#1
Updated by Bonnie Follweiler almost 4 years ago
- Assignee set to William Grzybowski
#2
Updated by Bonnie Follweiler almost 4 years ago
- Tracker changed from Bug to Feature
#3
Updated by William Grzybowski almost 4 years ago
- Status changed from Unscreened to Screened
- Priority changed from No priority to Important
- Target version set to 9.10.4
#4
Updated by Kris Moore almost 4 years ago
- Target version changed from 9.10.4 to 11.1
#5
Updated by William Grzybowski over 3 years ago
- Status changed from Screened to Unscreened
- Assignee changed from William Grzybowski to Vladimir Vinogradenko
Vladimir, I was thinking of writing the boot file to /data/sentinels on middlewared system plugin setup and remove it on shutdown. Checking for the existence of it on init.
However for this we would probably need a cleaner shutdown of middlewared and implement a `teardown` or something.
Other ideas welcome ;)
#6
Updated by Vladimir Vinogradenko over 3 years ago
- Status changed from Unscreened to Screened
#7
Updated by Vladimir Vinogradenko over 3 years ago
- Status changed from Screened to Ready For Release
#8
Updated by Dru Lavigne over 3 years ago
- Subject changed from System should notifiy administrator of unauthorised reboot to Add unauthorized reboot e-mail alert
- Target version changed from 11.1 to 11.1-BETA1
#9
Updated by Dru Lavigne about 3 years ago
- Status changed from Ready For Release to Resolved
#10
Updated by Dru Lavigne about 3 years ago
- Related to Bug #26403: Don't send email on authorized system reboot added
#11
Updated by Nick Wolff about 3 years ago
- QA Status Test Passes FreeNAS added
- QA Status deleted (
Not Tested)
#12
Updated by Joe Maloney about 3 years ago
- Needs QA changed from Yes to No