From owner-cvs-all@FreeBSD.ORG Sun Apr 24 01:51:24 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 372B216A4CE; Sun, 24 Apr 2005 01:51:24 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0780A43D4C; Sun, 24 Apr 2005 01:51:24 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3O1pN3V028575; Sun, 24 Apr 2005 01:51:23 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3O1pNHb028574; Sun, 24 Apr 2005 01:51:23 GMT (envelope-from dougb) Message-Id: <200504240151.j3O1pNHb028574@repoman.freebsd.org> From: Doug Barton Date: Sun, 24 Apr 2005 01:51:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/etc/rc.d named X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2005 01:51:24 -0000 dougb 2005-04-24 01:51:23 UTC FreeBSD src repository Modified files: etc/rc.d named Log: Add -h to the ln command to make the -f flag actually do something. Without this flag, if the symlink existed already a new symlink would be created in the source directory. While harmless if the two symlinks were the same, it nonetheless caused pointless confusion. The pathological case is that when there is an existing /etc/namedb symlink, but named_chrootdir in rc.conf pointed to a different directory, it was the symlink in /var/named that was getting updated, not the one in /etc. This led to some difficult to diagnose problems for users. Revision Changes Path 1.21 +1 -1 src/etc/rc.d/named