|
From: | anonymous |
Subject: | [Freeipmi-devel] [bug #53193] ipmi-config compatibility scripts mangle parameters through shell |
Date: | Tue, 20 Feb 2018 11:34:10 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
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. address@hidden:~# ls bmc-core.conf address@hidden:~# 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/
[Prev in Thread] | Current Thread | [Next in Thread] |