jack206

Results 14 comments of jack206

``` BMCWEB_ROUTE(app, "/redfish/v1/Systems//LogServices/EventLog/Entries/") .privileges(redfish::privileges::getLogEntryCollection) .methods(boost::beast::http::verb::get)( [&app](const crow::Request& req, const std::shared_ptr& asyncResp, const std::string& systemName) { query_param::QueryCapabilities capabilities = { .canDelegateTop = true, .canDelegateSkip = true, }; query_param::Query delegatedQuery; std::ofstream logfile("/var/log/log1.txt");...

[log.zip](https://github.com/openbmc/openbmc/files/13411677/log.zip) I execute timedatectl in systemd(version 234),It only takes 0.5s,but in version 250,it takes almost 5s.Does anyone know why?

I can tell it has nothing to do with cpu usage: em: 374108K used, 52452K free, 85424K shrd, 68908K buff, 251484K cached CPU: 48% usr 23% sys 0% nic 28%...

> I notice a possibly significant difference, the slow time was reported with the clock not synchronized. Can you be more specific?

It seems systemed(253) also have this case. root@BMC:~# systemctl --version systemd 253 (253.1^) +PAM -AUDIT -SELINUX -APPARMOR -IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL -ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN...

> There are several resets of wdt 0 timeout. Systemd `init` will reset it to it's configured timeout comand and poke it until it hands off from `systemd-shutdown` to `/run/initramfs/shutdown`...

> tes, or specify the time I mean I want to use the reboot command and do not want to restart immediately. For example, I run the reboot command and...

> The shutdown command has the delay for scheduled shutdown for compatibility with legacy (eg sysvinit) and similar. But the invoker can choose to reboot instead. And there is a...

> Upon further investigation the compat command is not open to patching (unless you find another shutdown that implemented it) https://github.com/systemd/systemd/blob/2292d377a2911382ffe24fad2e4c67a5999257b9/src/systemctl/systemctl-compat-shutdown.c#L21...L24 > > But the delayed shutdown is via a...

The background log keeps scrolling