From owner-freebsd-rc@FreeBSD.ORG Fri Jun 9 07:59:40 2006 Return-Path: X-Original-To: rc@freebsd.org Delivered-To: freebsd-rc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B35EC16A474 for ; Fri, 9 Jun 2006 07:59:40 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C38243D70 for ; Fri, 9 Jun 2006 07:59:39 +0000 (GMT) (envelope-from flz@FreeBSD.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 0BE6211AE2; Fri, 9 Jun 2006 09:59:35 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26317-01; Fri, 9 Jun 2006 09:59:11 +0200 (CEST) Received: from cream.stl.xbsd.org (unknown [193.120.13.130]) by smtp.xbsd.org (Postfix) with ESMTP id 1F93311652; Fri, 9 Jun 2006 09:59:08 +0200 (CEST) From: Florent Thoumie To: Sean McNeil In-Reply-To: <1149811261.2737.3.camel@triton.mcneil.com> References: <1149811261.2737.3.camel@triton.mcneil.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-q1Mg6xmtztG3EpKKDgl5" Date: Fri, 09 Jun 2006 08:59:06 +0100 Message-Id: <1149839946.24936.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: rc@freebsd.org Subject: Re: rc hosed on -STABLE X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 07:59:40 -0000 --=-q1Mg6xmtztG3EpKKDgl5 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2006-06-08 at 17:01 -0700, Sean McNeil wrote: > Hi, >=20 > I sent this to -current and -stable (yeah, cross post because I've found > people don't really pay attention to -stable). But I just realized > there is an -rc. Sorry for the duplicate post. >=20 > ... >=20 > I am now having difficulty with bringup on my -STABLE system. I get what > looks like bogus warnings: >=20 > root: /etc/rc: WARNING: Warning: /etc/rc.conf.d/ntpdate is deprecated, > please use /etc/rc/etc/rc.conf.d/ntpdate instead. >=20 > and >=20 > root: /etc/rc: WARNING: Warning: /etc/rc.conf.d/sendmail > is deprecated, please use /etc/rc/etc/rc.conf.d/sendmail instead. >=20 > but this doesn't make sense and is impossible as /etc/rc is a regular > file, not a directory. >=20 > There were warnings for /usr/local and /usr/X11R6 to go > into /usr/local/etc/rc.conf.d and /usr/X11R6/etc/rc.conf.d. These make > sense. They correspond to /etc/rc.d and /etc/rc.conf.d. >=20 > Also, I have port cyrus-imapd-2.2.13_2 and it > installs /usr/local/etc/rc.d/imap. This script has an internal name of > "cyrus_imap", but instead of wanting /usr/local/etc/rc.conf.d/cyrus_imap > as would be the completely logical place for it, I have to place it > in /usr/local/cyrus/etc/rc.conf.d/cyrus_imapd. >=20 > Seems like it bases the location upon where the binary is as opposed to > where the rc script is. Same thing happens with slapd. I told it to > put the rc script in /etc/rc.d/slapd when I configured the port. But it > warns me that it wants the rc.conf.d > in /usr/local/libexec/slapd/etc/rc.conf.d/slapd. This is very counter > intuitive to me. (note, also an executable, not a directory) >=20 > What is the logic behind this and why was it MFCd in a non-working > condition? Like I said, many of my daemons did not start even though I > could start them by running the script by hand. So I'm guessing that > maybe rcorder isn't working with this new configuration. Indeed, it tries to be too smart (and fails in some cases). I'll backout the commit today and will contact you with a patch ASAP. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --=-q1Mg6xmtztG3EpKKDgl5 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEiSpKMxEkbVFH3PQRAktGAJwLzOgPYQkpsYg4MlCJtQMuOKoYCwCcCwAK ez2djY2R89skwLhlgERnheY= =gyIv -----END PGP SIGNATURE----- --=-q1Mg6xmtztG3EpKKDgl5--