UFW warns about ports in /etc/services. Can that be disabled?

Issue

This Content is from ServerFault. Question asked by elyograg

Whenever I do certain ufw commands, like ufw status, it outputs this before printing the data I was after:

WARN: Skipping 'mysql': also in /etc/services
WARN: Skipping 'ntp': also in /etc/services
WARN: Skipping 'tacacs': also in /etc/services
WARN: Skipping 'tftp': also in /etc/services

Is there any way to tell ufw not to report that warning? I tried a number of google searches, but the results are not helpful. I do not want to turn off all warnings, just that one. There might be other warnings about my config that I do want to see.



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from serverfault, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?