Date: Thu, 31 Dec 2015 18:22:47 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 205761] mail/dovecot2: rc script not working when config missing Message-ID: <bug-205761-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205761 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@FreeBSD.org Reporter: me@cschwarz.com Assignee: adamw@FreeBSD.org Flags: maintainer-feedback?(adamw@FreeBSD.org) Created attachment 164906 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D164906&action= =3Dedit 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 dove= cot2 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=3Dr= cvar - 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 runni= ng `service...`, the script should still work. I therefore propose the patch I attached to this report. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205761-13>