Article View: muc.lists.freebsd.ports
Article #54Re: Cyrus IMAP autostart problem
From: Andrea Venturoli
Date: Wed, 21 Oct 2026 08:50
Date: Wed, 21 Oct 2026 08:50
59 lines
5065 bytes
5065 bytes
On 10/20/26 20:29, Marcin Cieslak wrote: > Some detailed logs from cyrus? Initially nothing. Then I put: > rc_debug="YES" > rc_startmsgs="YES" in /etc/rc.conf and now I see: > root[59608]: /etc/rc: DEBUG: Sourcing /usr/local/etc/rc.conf.d/cyrus_imapd > root[59649]: /etc/rc: DEBUG: checkyesno: cyrus_imapd_enable is set to YES. > root[59663]: /etc/rc: DEBUG: checkyesno: cyrus_imapd_svcj is set to NO. > root[59679]: /etc/rc: DEBUG: checkyesno: rc_startmsgs is set to YES. > root[59707]: /etc/rc: DEBUG: checkyesno: cyrus_imapd_svcj is set to NO. > root[59771]: /etc/rc: DEBUG: run_rc_command: doit: limits -C daemon /usr/local/cyrus/libexec/master -d -p /var/run/cyrus-master.pid > master[59790]: couldn't dup fd 0: Bad file descriptor > master[59790]: exiting > root[59843]: /etc/rc: WARNING: failed to start cyrus_imapd This is hard to debug, since it doesn't happen if I start it manually and I have no idea how to attach gdb/truss/whatever to a process that is spawn from boot (although a jail's boot, that can be started with "ezjail-admin start mail"). If anyone has any suggestion with this goal... > Maybe it tries to access some of the other services and they are not > ready yet? It shouldn't depend on any other service, AFAICT. In any case, from the logs, I see it starts after all the others. > Does delaying the start of the imapd servie work as a workaround? Altough I usually prefer fixes, insted of workarounds, this might be a good suggestion. How do I do this? Overall, I don't know where to go for support next, as I'm not sure if this a Cyrus bug, a port bug or FreeBSD. (The fact that it works on 14.4, but not on 15.1 doesn't necessarily answer the question). bye & Thanks av. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<e1c33f4c-ff04-46f0-be3d-cfda3f257947@netfence.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<> <srqqp9pq-s12p-rp91-34s1-sn624125409r@fncre.vasb>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail From: Andrea Venturoli <ml@netfence.it> Newsgroups: muc.lists.freebsd.ports Subject: Re: Cyrus IMAP autostart problem Date: Wed, 21 Oct 2026 10:50:28 +0200 Organization: Newsgate at muc.de e.V. Sender: owner-freebsd-ports@FreeBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <e1c33f4c-ff04-46f0-be3d-cfda3f257947@netfence.it> References: <> <srqqp9pq-s12p-rp91-34s1-sn624125409r@fncre.vasb> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="34121"; mail-complaints-to="news-admin@muc.de" User-Agent: Mozilla Thunderbird DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792572668; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=NbY2Z/vbTnfrMW/AexVc+SdJm0upykIReEEuS/T68c8=; b=Ij7HY7UWOv1a8EwWM6zBktJxmM4wL0BF5QR+16G57izQGHfXlGQP2AZTLCIW9Yy3IpYFXA 1PS9mNH8Kr8Yf+8ZS1njJQqFyYjCr+Eks5kUaMx3ZrD/gKpy6Nb2RvFMdr/QgKNlowjFrt qnuhQcwJlEUHgIIOf+AyV3CPlc6ZScOFOrjMNHVGFDXse798PJBTZxOA/mBBKF2oziwp8w 9R+zCvsTkli0nZiLbuQSVjfowKx/9/gH25rPAzPl4NBhR25TBjUZ4CWj1usTj6zFAPtu+c oyapG4YiX0Cn+Tb6NwyVwGPA58yUtHZSB5iJdOARyqQ4ajKVDlYBhFHvk9pscQ== X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it; dmarc=pass (policy=none) header.from=netfence.it X-Authentication-Warning: soth.netfence.it: Host mailserver.netfence.it [78.134.96.152] claimed to be [10.1.2.18] X-BeenThere: freebsd-ports@freebsd.org Precedence: list Content-Language: en-US In-Reply-To: <srqqp9pq-s12p-rp91-34s1-sn624125409r@fncre.vasb> X-Scanned-By: MIMEDefang 2.86 X-Spamd-Bar: / X-Spamd-Result: default: False [-0.80 / 15.00]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; HAS_XAW(0.00)[]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3] X-Rspamd-Queue-Id: 4j8jff4wfVz3Kcm X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes