[Bug 205761] mail/dovecot2: rc script not working when config missing
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Dec 31 18:22:48 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205761
Bug ID: 205761
Summary: mail/dovecot2: rc script not working when config
missing
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: adamw at FreeBSD.org
Reporter: me at cschwarz.com
Assignee: adamw at FreeBSD.org
Flags: maintainer-feedback?(adamw at FreeBSD.org)
Created attachment 164906
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=164906&action=edit
Patch for the port.
The dovecot2 ports does not ship with a default config (bug #198792).
The dovecot2 port also brings the ability to run multiple instances of dovecot2
at once.
ports r378311 changed the behavior of the rc-script to only `run_rc_command`
for those config files listed in the rcvar that are actually present.
However, this leads to the following situation:
- User installs mail/dovecot2
- User / Automation tool runs `service dovecot <command>`, e.g. command=rcvar
- Script produces no output because `run_rc_command` is not run because no
config file exists.
While easily resolvable by first deploying the configuration and then running
`service...`, the script should still work.
I therefore propose the patch I attached to this report.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list