Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Oct 2018 16:13:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        rc@FreeBSD.org
Subject:   [Bug 216115] service -e showing sendmail enabled when it is not
Message-ID:  <bug-216115-20181-orjZQTnUxd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216115-20181@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216115-20181@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216115

--- Comment #21 from Alex Kozlov <ak@FreeBSD.org> ---
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216115-20181-orjZQTnUxd>