Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 2004 03:12:08 +0900
From:      Makoto Matsushita <matusita@jp.FreeBSD.org>
To:        brian@Awfulhak.org
Cc:        cvs-all@FreeBSD.org
Subject:   Re: What we keep under /etc (was: cvs commit: src/etc rc rc.shutdown src/etc/rc.d ...)
Message-ID:  <20041010031208L.matusita@jp.FreeBSD.org>
In-Reply-To: <20041009184627.26e9a57f@dev.lan.Awfulhak.org>
References:  <20041009114544.080344bd@dev.lan.Awfulhak.org> <20041009222726U.matusita@jp.FreeBSD.org> <20041009184627.26e9a57f@dev.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041010031208L.matusita>