[Bug 1604936] Re: Please document command-line options with --help and when called incorrectly
Launchpad Bug Tracker
1604936 at bugs.launchpad.net
Thu Nov 10 20:53:03 UTC 2016
This bug was fixed in the package shim-signed - 1.19~14.04.1
---------------
shim-signed (1.19~14.04.1) trusty; urgency=medium
* update-secureboot-policy:
- Add a --help option, document other options. (LP: #1604936)
- Rework prompting to display our Secure Boot warning and explanation
text more prominently, rather than forcing graphical users to hit
"Help" to see the full explanation for why we ask about disabling
Secure Boot. (LP: #1595611)
-- Mathieu Trudel-Lapierre <cyphermox at ubuntu.com> Tue, 02 Aug 2016
15:18:33 -0400
** Changed in: shim-signed (Ubuntu Trusty)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shim-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1604936
Title:
Please document command-line options with --help and when called
incorrectly
Status in shim-signed package in Ubuntu:
Fix Released
Status in shim-signed source package in Precise:
In Progress
Status in shim-signed source package in Trusty:
Fix Released
Status in shim-signed source package in Xenial:
Fix Released
Bug description:
[Impact]
update-secureboot-policy did not include any help text.
[Test case]
- verify 'sudo update-secureboot-policy' works as expected (prompts to disable Secure Boot if it's enabled)
- verify 'sudo update-secureboot-policy --disable' works as expected (same as above)
- verify 'sudo update-secureboot-policy --enable' re-enables Secure Boot after it has been disabled (ie. after a run with --disable and a reboot)
- verify 'update-secureboot-policy --help' displays help text.
[Regression Potential]
None. The default behavior without a parameter remains to try to disable Secure Boot if it's not already disabled. --enable is documented behind a new parameter --help which displays usage information.
---
Subject says it all. Having to read the source to discover --enable
was irksome. There should probably also be an opposite explicit
--disable.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1604936/+subscriptions
More information about the foundations-bugs
mailing list