OpenVZ Forum


Home » General » Support » pcompact deprecated warning from cron
pcompact deprecated warning from cron [message #53785] Thu, 07 April 2022 13:35 Go to previous message
wsap is currently offline  wsap
Messages: 62
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

 
Read Message
Read Message
Read Message
Previous Topic: docs.openvz.org dead?
Next Topic: Just wanted to say: -"Thank you!" and the best for OpenVZ 8
Goto Forum:
  


Current Time: Sun Apr 28 06:49:29 GMT 2024

Total time taken to generate the page: 0.02409 seconds