From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23434 invoked from network); 16 Jun 2003 20:54:53 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 16 Jun 2003 20:54:53 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19S0zG-0003NX-D2 for listarch-gnats-devel@sources.redhat.com; Mon, 16 Jun 2003 16:53:58 -0400 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19S0yc-0002JN-Do for help-gnats@gnu.org; Mon, 16 Jun 2003 16:53:18 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19S0yV-00021z-6E for help-gnats@gnu.org; Mon, 16 Jun 2003 16:53:13 -0400 Received: from moutng.kundenserver.de ([212.227.126.185]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19S0xs-0001Gm-60 for help-gnats@gnu.org; Mon, 16 Jun 2003 16:52:32 -0400 Received: from [212.227.126.161] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19S0vq-0004Fn-00; Mon, 16 Jun 2003 22:50:26 +0200 Received: from [80.128.9.77] (helo=habakuk.home.ha-schneider.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19S0vq-000446-00; Mon, 16 Jun 2003 22:50:26 +0200 Received: from localhost (localhost [127.0.0.1]) Tralala-OS/47.11) with ESMTP id 9FD332EFF3; Mon, 16 Jun 2003 22:50:40 +0200 (CEST) Received: by habakuk.home.ha-schneider.de (Super-secret mailer on Tralala-OS/47.11, from userid 1000) id 856502EEDB; Mon, 16 Jun 2003 22:50:39 +0200 (CEST) From: Hans-Albert Schneider To: "Erwin, Richard D" , "Brandon Metcalf" Date: Mon, 16 Jun 2003 20:54:00 -0000 User-Agent: KMail/1.5.1 References: <6E6ACC930A9BAB47AB0BBD1ACC0F8B38016A9D45@xch-nw-02.nw.nos.boeing.com> In-Reply-To: <6E6ACC930A9BAB47AB0BBD1ACC0F8B38016A9D45@xch-nw-02.nw.nos.boeing.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306162250.38754.Hans-Albert@HA-Schneider.de> X-Virus-Scanned: by AMaViS snapshot-20020531 cc: help-gnats@gnu.org Subject: Re: setting the default database in gnats 3.999.2 X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: General discussion about GNU GNATS List-Help: List-Post: List-Subscribe: , List-Archive: Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2003-q2/txt/msg00086.txt.bz2 On Monday 16 June 2003 19:56, Erwin, Richard D wrote: > I am going to assume, forthe moment, that can grab a copy of and > adjust my categories file from my build of gnats 3.113 and adjust > to suit. The format did only change slightly. Here are the explanations from the "categories" file of the current sources: # Each entry has the format: # # category:description:responsible:notify # # * `category' is the name of the classification for the PR. The # first category listed will be the default assigned to PRs that # arrive without one set. This is traditionally called "pending". # # * `description' can be a normal text description for the # category, like "Development Tools" for the `tools' category. # # * `responsible' gives the name (which can be found in the responsible # file) of the person who will be given responsibility for any PR # appearing in this category. # # * `notify' are other email addresses which should be given copies of # any PR in this category. These names are also mapped through the # responsible file when trying to determine the email address to use. # I see the following differences compares to 3.1xx: - The name of the "pending" category is not fixed anymore; it is simply the first one listed. So if you want the old behaviour, make sure there is a category named "pending", and that it is the first one listed in the categories file. - According to the documentation cited above, the "notify" field is now also mapped through the "responsibles" file; in 3.1xx it contained e-mail addresses. (I did not check the source code for this.) Please note that both the name and the format of the file are now defined in the "dbconfig" file, and can be changed there; look for field "Category" { ... } You can also rename the field; but you must keep the line builtin-name "category" If you want to change the name of the category or the format of the file, also look for cross references like 'Category[notify]'. > In the meantime, any suggestions on how to fix the abovementioned > error would be appreciated. Check the permissions of the files and directories involved. Especially: can you read the source file? Does it exits? Try ls -l /usr/local/etc/gnats/defaults/categories ls -ld /usr/local/etc/gnats/defaults The file should have mode 644 ("-rw-r--r--" at the beginning of the line), and the directory should have mode 755 ("drwxr-xr-x"). The same holds for the directories "above" it; i.e., for /usr/local/etc/gnats, /usr/local/etc, /usr/local, /usr, and /). (Well, this is not exactly true, but it simplifies the explanation.) If one of the directories has fewer permissions, e.g. "drwx------", please change them with the command chmod 755 /usr/local/etc/gnats/defaults (or whichever directory it is). The permissions of the file can be changed with chmod 644 /usr/local/etc/gnats/defaults/categories If cat /usr/local/etc/gnats/defaults/categories works, so should the "cp". Please also check the other files in /usr/local/etc/gnats/defaults; they also need mode 644. If it is really the permissions, please report this to the list. I suspect that the "umask" which was active when you installed gnats, so please type (as the user who did the "make install"): umask and include the result in your report. It may also have happened that someone changed the permissions after installation. Other ideas (they may be a bit queer): - If /usr/local is mounted from another machine (typically via NFS), that machine may have been down when you typed mkdb. - Are you sure you used the "mkdb" from the right place? (Not from another installation, or whatever.) - What about error messages during installation? Hans-Albert -- Hans-Albert Schneider Munich, Germany EMail: Hans-Albert@HA-Schneider.de _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats