iocage clean --help: Unexpected output
Stock FreeNAS Mini:
Build FreeNAS-9.10-MASTER-201704170553 (1ea4bf6)
Platform Intel(R) Atom(TM) CPU C2750 @ 2.40GHz
Testing iocage (version 0.9.7 2017/03/08)on my FreeNAS Mini - latest nightly iso (FreeNAS 9.10-MASTER--201704170553-1ea4bf6.iso). After installing, I log in via the webui as root, open the shell, and type iocage clean --help. This message appears:
Setting up zpool [freenas-boot] for iocage usage
If you wish to change please use "iocage activate"
The shell then locks up, forcing me to reboot the system after waiting about 2-3 minutes. I expected any help text for the "clean" command to display, similar to the other iocage subcommands.
After rebooting the system, the proper text for iocage clean --help now appears normally, and the shell doesn't lock up either
#2 Updated by Brandon Schneider over 4 years ago
I think this might be related to the color logging that Marcelo did, can you try something for me?
zfs inherit -r org.freebsd.ioc:active POOLand try another
COMMAND --helpand see if that locks up as well. From my tests clean is the only one showing the logs before the help.
#3 Updated by Brandon Schneider over 4 years ago
- Status changed from Screened to Resolved
Confirmed and fixed https://github.com/iocage/iocage/commit/dd330533024289616dbb7bd8cf54d43a608640a8.