What we keep under /etc (was: cvs commit: src/etc rc rc.shutdown src/etc/rc.d ...)

Makoto Matsushita matusita at jp.FreeBSD.org
Sat Oct 9 11:12:32 PDT 2004


brian> Ok, so etc/mtree can be left out.  What about etc/periodic and etc/rc.d?

I don't think followings are generally applied to others, but here's
my case:

* I've modified /etc/periodic/security/security.function.  In
  check_diff() function, there's a line that compares old one and a
  new one.  However, in my cases, there are lots of bogus output will
  be generated (it is assumed one, not a bug or admin failure), so I'd
  like to trim off unwanted output by egrep(1) -- changing the file is
  the only answer.

* Also /etc/rc.d/ppp-user got a little hack.  Usually one PPPoE
  connection is enough, but I need two PPPoE connections, one for the
  Internet, and another for ADSL carrier-local network.  There's an
  option to add a script, /etc/rc.d/ppp2-user for example, to connect
  the second connection -- but it doesn't work as expected.  Yes,
  second ppp(8) instance runs, but not just after the first ppp(8) runs.
  I've been trying to fix an order, but no lucks.  So I've changed
  ppp-user script to run two ppp(8).

If there's a chance that users may modify /etc files, "overriding /etc
files silently" should be avoided as we can, IMHO.

-- -
Makoto `MAR' Matsushita


More information about the cvs-src mailing list