From owner-freebsd-rc@freebsd.org Tue Oct 9 16:13:20 2018 Return-Path: Delivered-To: freebsd-rc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D9F210B2953 for ; Tue, 9 Oct 2018 16:13:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DD06270A88 for ; Tue, 9 Oct 2018 16:13:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9F7A310B2951; Tue, 9 Oct 2018 16:13:19 +0000 (UTC) Delivered-To: rc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8DD5310B2950 for ; Tue, 9 Oct 2018 16:13:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2DC8870A83 for ; Tue, 9 Oct 2018 16:13:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5E50A14F2D for ; Tue, 9 Oct 2018 16:13:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w99GDI3U080928 for ; Tue, 9 Oct 2018 16:13:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w99GDIYN080924 for rc@FreeBSD.org; Tue, 9 Oct 2018 16:13:18 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: rc@FreeBSD.org Subject: [Bug 216115] service -e showing sendmail enabled when it is not Date: Tue, 09 Oct 2018 16:13:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ak@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2018 16:13:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216115 --- Comment #21 from Alex Kozlov --- Alright, I'm too lazy to grok devel/rclint, so I hacked together crude chec= ker in shell. There're a few false positives, but even so from 1341 rc-scripts more than = 200 have code outside of command functions :-( But only a few broken with service enabled command: * audio/madfufw - exit(0) if /var/run/maudio.pid exist or creates that file= if it's not * net/frr3, net/frr4, net/frr5 - preprocesses rc-commands, 'enabled' always return no (rc=3D1) * net/kafka - unconditionally creates ${kafka_log_dir}/${kafka_out_file} if= its doesn't exist * sysutils/ipad_charge - exit if less than two command line arguments given * sysutils/logstash5 - unconditionally creates piddir if it's exist (invert= ed condition?) * www/gitlab-ce - tries to recreate Gemfile.lock in certain conditions * sysutils/p5-Tail-Stat, www/nginx, www/nginx-devel, www/uwsgi - uses hack = to run multiple instances from on rc-script, always retun rc=3D0, so 'enabled' always return yes --=20 You are receiving this mail because: You are the assignee for the bug.=