From nobody Mon Aug 23 18:14:26 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A01BF1785622 for ; Mon, 23 Aug 2021 18:14:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GtgPH42qhz4m6p for ; Mon, 23 Aug 2021 18:14:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6959D18FB4 for ; Mon, 23 Aug 2021 18:14:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 17NIERYP078359 for ; Mon, 23 Aug 2021 18:14:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 17NIERfN078358 for ports-bugs@FreeBSD.org; Mon, 23 Aug 2021 18:14:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 258011] mail/opendkim does not restart properly with "service -R" Date: Mon, 23 Aug 2021 18:14:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ml@netfence.it X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258011 Bug ID: 258011 Summary: mail/opendkim does not restart properly with "service -R" Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ml@netfence.it CC: freebsd-ports@dan.me.uk Flags: maintainer-feedback?(freebsd-ports@dan.me.uk) CC: freebsd-ports@dan.me.uk When issuing "service -R", opendkim stops, but does not restart. In syslog I see: opendkim[...]: socket cleanup failed: Permission denied "service milter-opendkim restart" does the job. I tried debugging this, but so far I'm not able to see where something might lie. This is no big trouble, but one must remember to start opendkim manually af= ter restarting everything else. Log when issuing "service -R": /usr/sbin/service: DEBUG: checkyesno: apache24_configcheck_disable is set to NO. Stopping apache24. /usr/sbin/service: DEBUG: run_rc_command: doit: kill -TERM 81005 Waiting for PIDS: 81005. /usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/clamav_freshclam /usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/clamav_freshclam Stopping clamav_freshclam. /usr/sbin/service: DEBUG: run_rc_command: doit: su -m mailnull -c 'sh -c "k= ill -TERM 79370"' Waiting for PIDS: 79370. /usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/clamav_clamd /usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/clamav_clamd Stopping clamav_clamd. /usr/sbin/service: DEBUG: run_rc_command: doit: su -m mailnull -c 'sh -c "k= ill -TERM 76373"' Waiting for PIDS: 76373. /usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/cyrus_imapd /usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/cyrus_imapd Stopping cyrus_imapd. /usr/sbin/service: DEBUG: run_rc_command: doit: kill -TERM 72343 Waiting for PIDS: 72343. /usr/sbin/service: DEBUG: run_rc_command: stop_postcmd: cyrus_imapd_poststop Stopping milteropendkim. /usr/sbin/service: DEBUG: run_rc_command: doit: kill -TERM 84032 Waiting for PIDS: 84032. /usr/sbin/service: DEBUG: run_rc_command: stop_postcmd: dkim_postcmd Stoppi= ng saslauthd. /usr/sbin/service: DEBUG: run_rc_command: doit: su -m cyrus -c 'sh -c "kill -TERM 67912"' /usr/sbin/service: DEBUG: pid file (/var/run/saslauthd/saslauthd.pid): not readable. /usr/sbin/service: DEBUG: checkyesno: saslauthd_enable is set to YES. Starting saslauthd. /usr/sbin/service: DEBUG: run_rc_command: doit: limits -C daemon su -m cy= rus -c 'sh -c "/usr/local/sbin/saslauthd -a ldap "' /usr/sbin/service: DEBUG: pid file (/var/run/milteropendkim/pid): not reada= ble. /usr/sbin/service: DEBUG: checkyesno: milteropendkim_enable is set to YES. /usr/sbin/service: DEBUG: run_rc_command: start_precmd: dkim_prepcmd Starti= ng milteropendkim. /usr/sbin/service: DEBUG: run_rc_command: doit: limits -C daemon=20 /usr/local/sbin/opendkim -l -u mailnull:mailnull -P /var/run/milteropendkim/pid -x /usr/local/etc/mail/opendkim.conf=20=20=20 /usr/sbin/service: DEBUG: run_rc_command: start_postcmd: dkim_start_postcmd /usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/cyrus_imapd /usr/sbin/service: DEBUG: pid file (/var/run/cyrus-master.pid): not readabl= e. /usr/sbin/service: DEBUG: checkyesno: cyrus_imapd_enable is set to YES. Starting cyrus_imapd. /usr/sbin/service: DEBUG: run_rc_command: doit: limits -C daemon=20 /usr/local/cyrus/libexec/master -d /usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/clamav_clamd /usr/sbin/service: DEBUG: checkyesno: clamav_clamd_enable is set to YES. /usr/sbin/service: DEBUG: run_rc_command: start_precmd: clamav_clamd_precmd Starting clamav_clamd. /usr/sbin/service: DEBUG: run_rc_command: doit: limits -C daemon su -m mailnull -c 'sh -c "/usr/local/sbin/clamd "' /usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/clamav_freshclam /usr/sbin/service: DEBUG: pid file (/var/run/clamav/freshclam.pid): not readable. /usr/sbin/service: DEBUG: checkyesno: clamav_freshclam_enable is set to YES. /usr/sbin/service: DEBUG: run_rc_command: start_precmd: clamav_freshclam_pr= ecmd Starting clamav_freshclam. /usr/sbin/service: DEBUG: run_rc_command: doit: limits -C daemon su -m mailnull -c 'sh -c "/usr/local/bin/freshclam --daemon -p /var/run/clamav/freshclam.pid"' /usr/sbin/service: DEBUG: checkyesno: apache24_http_accept_enable is set to= NO. /usr/sbin/service: DEBUG: checkyesno: apache24_configcheck_disable is set to NO. /usr/sbin/service: DEBUG: pid file (/var/run/httpd.pid): not readable. /usr/sbin/service: DEBUG: checkyesno: apache24_enable is set to YES. /usr/sbin/service: DEBUG: run_rc_command: start_precmd: apache24_prestart /usr/sbin/service: DEBUG: checkyesno: apache24_configcheck_disable is set to NO. Performing sanity check on apache24 configuration: Syntax OK /usr/sbin/service: DEBUG: checkyesno: apache24limits_enable is set to NO. Starting apache24. /usr/sbin/service: DEBUG: run_rc_command: doit: limits -C daemon=20 /usr/local/sbin/httpd -DNOHTTPACCEPT Log when issuing "service milter-opendkim restart": /usr/local/etc/rc.d/milter-opendkim: DEBUG: pid file (/var/run/milteropendkim/pid): not readable. /usr/local/etc/rc.d/milter-opendkim: DEBUG: checkyesno: milteropendkim_enab= le is set to YES. /usr/local/etc/rc.d/milter-opendkim: DEBUG: pid file (/var/run/milteropendkim/pid): not readable. /usr/local/etc/rc.d/milter-opendkim: DEBUG: checkyesno: milteropendkim_enab= le is set to YES. milteropendkim not running? (check /var/run/milteropendkim/pid). /usr/local/etc/rc.d/milter-opendkim: DEBUG: pid file (/var/run/milteropendkim/pid): not readable. /usr/local/etc/rc.d/milter-opendkim: DEBUG: checkyesno: milteropendkim_enab= le is set to YES. /usr/local/etc/rc.d/milter-opendkim: DEBUG: run_rc_command: start_precmd: dkim_prepcmd Starting milteropendkim. /usr/local/etc/rc.d/milter-opendkim: DEBUG: run_rc_command: doit: limits -C daemon /usr/local/sbin/opendkim -l -u mailnull:mailnull -P /var/run/milteropendkim/pid -x /usr/local/etc/mail/opendkim.conf=20=20=20 /usr/local/etc/rc.d/milter-opendkim: DEBUG: run_rc_command: start_postcmd: dkim_start_postcmd root@mail:~ # ps ax | grep milter 37977 - SsJ 0:00.00 /usr/local/sbin/opendkim -l -u mailnull:mailnull -P /var/run/milteropendkim/pid -x /usr/local/etc/mail/opendkim.conf --=20 You are receiving this mail because: You are the assignee for the bug.=