Bug 207149 - /etc/rc.d/msgs missing the rc.d mechanism
Summary: /etc/rc.d/msgs missing the rc.d mechanism
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 10.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: Jilles Tjoelker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-13 09:15 UTC by Jonathan de Boyne Pollard
Modified: 2016-10-09 21:31 UTC (History)
1 user (show)

See Also:
jilles: mfc-stable10+
jilles: mfc-stable9-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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