Konstantin, Pavel,
could you please address this question.

"
https://forum.openvz.org/index.php?t=msg&th=13672&start=0&S=bd9c642df73c9b607d6e8890808ffa66

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?
"

Thank you,
        Vasily Averin
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to