Bug 260169 - emulators/qemu-guest-agent: pkg-message is probably out of sync with rc.d
Summary: emulators/qemu-guest-agent: pkg-message is probably out of sync with rc.d
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-02 15:01 UTC by Lapo Luchini
Modified: 2021-12-02 15:01 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (zhecka)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lapo Luchini 2021-12-02 15:01:25 UTC
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).