Project

General

Profile

Bug #31400

Silence warning about nut_upsshut not being set when it is disabled

Added by Steve Clemenson about 1 year ago. Updated 10 months ago.

Status:
Done
Priority:
No priority
Assignee:
Benno Rice
Category:
OS
Target version:
Seen in:
Severity:
Low
Reason for Closing:
Reason for Blocked:
Need additional information from Author
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Upon starting the UPS service, I get the following warning in the console:

root: /usr/local/etc/rc.d/nut: WARNING: $nut_upsshut is not set properly - see rc.conf(5)

Tried different UPS models that use different drivers, error persists.

UPS communication works, proper shutdown gets triggered, but others are reporting that FreeNAS doesn't shutdown gracefully.

Discussed here:
https://forums.freenas.org/index.php?threads/ups-config-problem-warning-nut_upsshut-is-not-set-properly.62599/


Related issues

Has duplicate FreeNAS - Bug #32106: /usr/local/etc/rc.d/nut: WARNING: $nut_upsshut is not set properly - see rc.conf(5)Closed2018-04-14

History

#1 Updated by Steve Clemenson about 1 year ago

  • File debug-FreeNAS_DBR-20180405223154.txz added
  • Private changed from No to Yes

#2 Updated by Steve Clemenson about 1 year ago

  • File UPS errors.txt added

#3 Updated by Steve Clemenson about 1 year ago

  • Seen in changed from Unspecified to 11.1-U4

#4 Updated by Steve Clemenson about 1 year ago

  • File deleted (debug-FreeNAS_DBR-20180405223154.txz)

#5 Updated by Steve Clemenson about 1 year ago

  • Private changed from Yes to No

#6 Updated by Dru Lavigne about 1 year ago

  • Private changed from No to Yes
  • Reason for Blocked set to Need additional information from Author

Steve: please attach a debug (System -> Advanced -> Save Debug) to this ticket.

#7 Updated by Steve Clemenson about 1 year ago

  • File debug-FreeNAS_DBR-20180405222033.txz added

#8 Updated by Dru Lavigne about 1 year ago

  • Assignee changed from Release Council to Alexander Motin
  • Target version set to 11.2-RC2

#9 Updated by Alexander Motin about 1 year ago

  • Assignee changed from Alexander Motin to Benno Rice

#11 Updated by Nick Wolff about 1 year ago

  • Severity set to Low

#12 Updated by Benno Rice 12 months ago

  • Has duplicate Bug #32106: /usr/local/etc/rc.d/nut: WARNING: $nut_upsshut is not set properly - see rc.conf(5) added

#13 Updated by Benno Rice 12 months ago

  • Status changed from Unscreened to In Progress

#14 Updated by Benno Rice 12 months ago

https://github.com/freenas/freenas/pull/1135

I've set the value of this to NO to match existing behaviour and because I'm fairly sure people don't want their systems to power off when they turn the UPS service off.

#15 Updated by Benno Rice 12 months ago

  • Status changed from In Progress to Ready for Testing

#16 Updated by Dru Lavigne 12 months ago

  • File deleted (UPS errors.txt)

#17 Updated by Dru Lavigne 12 months ago

  • File deleted (debug-FreeNAS_DBR-20180405222033.txz)

#18 Updated by Dru Lavigne 12 months ago

  • Subject changed from $nut_upsshut is not set properly to Silence warning about nut_upsshut not being set when it is disabled
  • Target version changed from 11.2-RC2 to 11.2-BETA1
  • Private changed from Yes to No
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#19 Updated by Nick Wolff 10 months ago

  • Status changed from Ready for Testing to Passed Testing

Verified value is set

root@fncertified:/var/log # cat /tmp/rc.conf.freenas | grep upsshut
nut_upsshut="NO" 

#20 Updated by Dru Lavigne 10 months ago

  • Status changed from Passed Testing to Done
  • Needs QA changed from Yes to No

Also available in: Atom PDF