Hello Andrew,

the ipmitool code in this area has not changed for years. If I remember
correctly, there was a change in the shell where a parameter was activated by
default.


Can you escape the outer "? Like this

ipmitool sel time set \"$(date "+%m/%d/%Y %T")\"


CU 
Jörg


-- 
New:
GPG Fingerprint: 63E0 075F C8D4 3ABB 35AB  30EE 09F8 9F3C 8CA1 D25D
GPG key (long) : 09F89F3C8CA1D25D
GPG Key        : 8CA1D25D
CAcert Key S/N : 0E:D4:56


Jörg Frings-Fürst
D-54470 Lieser


git:      https://git.jff.email/cgit/

Skype:    jff-skype@jff.email
Jami:     joergfringsfuerst
Telegram: @joergfringsfuerst
Matrix:   @joergff:matrix.snct-gmbh.de

My wish list: 
 - Please send me a picture from the nature at your home.




Am Freitag, dem 15.12.2023 um 11:31 -0800 schrieb andrew bezella:
> On Fri, 2023-12-15 at 16:10 +0100, Jörg Frings-Fürst wrote:
> 
> [...]
> 
> thank you for the quick reply!
> 
> > Please can you test with
> > 
> > ipmitool sel time set now
> 
> this reports success (and i changed our crontab over to it yesterday):
> # ipmitool sel time set now
> 12/15/2023 04:20:53 PM UTC
> 
> > and with
> > 
> > ipmitool sel clear && ipmitool sel time set "$(date "+%m/%d/%Y %T")"
> 
> this fails (tried repeatedly just in case it actually needed "a few
> seconds"):
> # ipmitool sel clear && ipmitool sel time set "$(date "+%m/%d/%Y %T")"
> 
> Clearing SEL.  Please allow a few seconds to erase.
> Specified time could not be parsed
> 
> i also tested on an older system where i upgraded only the ipmitool
> package with the same results.
> 
> 
> one slight correction to my original bug report: i first noticed the
> issue w/1.8.19-4 (i had reported "1.8.19-6")
> 
> hope that helps.  thanks again.  
> 
>       andy
> 


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to