pcompact deprecated warning from cron [message #53785] |
Thu, 07 April 2022 13:35 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
wsap
Messages: 70 Registered: March 2018 Location: Halifax, NS
|
Member |
|
|
With the upgrade to OpenVZ 7.0.18 the standard nightly cron run of pcompact results in email notifications like this:
Subject: Cron <root@node> /usr/sbin/pcompact -t 2h -q >/dev/null
Message:
WARNING: You are using a deprecated CLI component that won't be installed by default in the next major release. Please use virsh instead
WARNING: You are using a deprecated CLI component that won't be installed by default in the next major release. Please use virsh instead
WARNING: You are using a deprecated CLI component that won't be installed by default in the next major release. Please use virsh instead
WARNING: You are using a deprecated CLI component that won't be installed by default in the next major release. Please use virsh instead
I appreciate that these warnings are handy for those running the command manually, however it doesn't make much sense for a cron run that OpenVZ itself originally set up and uses to send warnings about its own utilities on each cron run like this.
The help docs for pcompact indicate that the -q switch, which is applied, is used to "disable printing of non-error messages to the standard output (console)."
This warning is not an error, and so it should be silenced by the -q switch, no?
[Updated on: Thu, 07 April 2022 13:37] Report message to a moderator
|
|
|
|
|