[Bug 260169] emulators/qemu-guest-agent: pkg-message is probably out of sync with rc.d

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 02 Dec 2021 15:01:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260169

            Bug ID: 260169
           Summary: emulators/qemu-guest-agent: pkg-message is probably
                    out of sync with rc.d
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: lapo@lapo.it
                CC: zhecka@gmail.com
                CC: zhecka@gmail.com
             Flags: maintainer-feedback?(zhecka@gmail.com)

This is the package message:

# pkg install qemu-guest-agent
=======================================================
Modify your `/etc/rc.conf` by adding these settings

qemu_guest_agent_enable="YES"
qemu_guest_agent_flags="-d -v -l /var/log/qemu-ga.log"

and run
# service qemu-guest-agent start

For detailed help use `qemu-ga -h`
=======================================================

…to which my first reaction is: if that's the correct value to use, why saying
it in the message instead of actually using it as a default in the rc.d?

Turns out the comment in the rc.d explains better: the default is fine with
only "-d", you can add "-v -l …" if you want more logs; which makes sense to
me, but in that case I'd suggest re-wording the pkg-message (or removing it
altogether, how to enable and start a service is pretty common information
IMHO, nothing specific to this package).

-- 
You are receiving this mail because:
You are the assignee for the bug.