Console shutdown still asks for a reason

I closed out my GUI windows of my TrueNAS CE test VM, so I went to the console window to shut the VM down. It prompted me for a shutdown reason.

Anyone else have this issue?

This is probably just a TUI bug where it does not yet follow the GUI for CE.

Yep–they took it out of the GUI but not the console.

Okay.

Next question, should I open a Jira Bug report on it?

Might as well, I guess.

Afaik, you can tack the shutdown reason on at the end of the shutdown command and not prompted. Doesn’t that work or is that something you specifically don’t want to/can’t do?

This assumes you use the TrueNAS command:
midclt call system.shutdown "reason"

I assume the situation is based on just choosing “shut down” from the console menu. You’re right that an API command could just as well include text for a reason (and in fact would have to include such text, IIRC).

1 Like

Riiight, that console. I forgot that’s something that exists.

I was referring to the 10 option console menu, where option 10 is shutdown. (I vaguely recall option 9 is reboot… might have similar “reason” issues. Will check before submitting the bug.)

I’ve opened Jira ticket on the issue:

Also confirmed that console menu option 9, reboot, also requires a reason. That is included in the Jira ticket.