URL: <http://savannah.gnu.org/bugs/?53193>
Summary: ipmi-config compatibility scripts mangle parameters through shell Project: GNU FreeIPMI Submitted by: None Submitted on: Tue 20 Feb 2018 04:34:08 PM UTC Category: bmc-config Severity: 3 - Normal Priority: 5 - Normal Item Group: Improper Behaviour Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Operating System: GNU/Linux _______________________________________________________ Details: bmc-config and the other compatibility scripts seem to let the shell mangle their parameters before passing them to ipmi-config. root@epic:~# ls bmc-core.conf root@epic:~# bmc-config -g '*' -o invalid category 'bmc-core.conf' specified (yeah, I was attempting to make a backup of all setting from all categories...) This is because of the rather convoluted way that bmc-config patches the --category=core option into the command line. A much simpler bmc-config.in not suffering from the same problem would be: #!/bin/sh exec @CONFIGSBINDIR@/ipmi-config --category=core "$@" _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?53193> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Freeipmi-devel mailing list Freeipmi-devel@gnu.org https://lists.gnu.org/mailman/listinfo/freeipmi-devel