Bug 207149

Summary: /etc/rc.d/msgs missing the rc.d mechanism
Product: Base System Reporter: Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups>
Component: miscAssignee: Jilles Tjoelker <jilles>
Status: Closed FIXED    
Severity: Affects Only Me CC: jilles
Priority: --- Flags: jilles: mfc-stable10+
jilles: mfc-stable9-
Version: 10.2-STABLE   
Hardware: Any   
OS: Any   

Description Jonathan de Boyne Pollard 2016-02-13 09:15:04 UTC
Because it is missing the requisite mechanism, it performs the same action (creating a file in /var) all of the time, including at system shutdown ...

$ /etc/rc.d/msgs stop
/etc/rc.d/msgs: cannot create /var/msgs/bounds: Permission denied
$

... and even when simply querying status

$ /etc/rc.d/msgs status
/etc/rc.d/msgs: cannot create /var/msgs/bounds: Permission denied
$
$ /etc/rc.d/msgs rcvar
/etc/rc.d/msgs: cannot create /var/msgs/bounds: Permission denied
$
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-03-27 16:28:34 UTC
A commit references this bug:

Author: jilles
Date: Sun Mar 27 16:27:49 UTC 2016
New revision: 297314
URL: https://svnweb.freebsd.org/changeset/base/297314

Log:
  rc.d: Make msgs a proper rc.d script.

  PR:		207149
  Reported by:	Jonathan de Boyne Pollard

Changes:
  head/etc/rc.d/msgs
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-10-09 21:29:28 UTC
A commit references this bug:

Author: jilles
Date: Sun Oct  9 21:28:56 UTC 2016
New revision: 306924
URL: https://svnweb.freebsd.org/changeset/base/306924

Log:
  MFC r297314: rc.d: Make msgs a proper rc.d script.

  PR:		207149
  Reported by:	Jonathan de Boyne Pollard

Changes:
_U  stable/10/
  stable/10/etc/rc.d/msgs