From root@webclub.ru  Mon Apr  3 01:47:56 2000
Return-Path: <root@webclub.ru>
Received: from gate.webclub.ru (gate.web2000.ru [195.58.61.2])
	by hub.freebsd.org (Postfix) with ESMTP id 4AB9C37BC51
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 Apr 2000 01:47:54 -0700 (PDT)
	(envelope-from root@webclub.ru)
Received: from root by gate.webclub.ru with local (Exim 3.13 #1)
	id 12c2VX-000LUH-00
	for FreeBSD-gnats-submit@freebsd.org; Mon, 03 Apr 2000 12:46:51 +0400
Message-Id: <E12c2VX-000LUH-00@gate.webclub.ru>
Date: Mon, 03 Apr 2000 12:46:51 +0400
From: root@web2000.ru
Sender: root@webclub.ru
Reply-To: novikov@web2000.ru
To: FreeBSD-gnats-submit@freebsd.org
Subject: /etc/group and comments
X-Send-Pr-Version: 3.2

>Number:         17767
>Category:       kern
>Synopsis:       The comments in /etc/group break many programs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr  3 01:50:00 PDT 2000
>Closed-Date:    Mon Apr 3 05:01:19 PDT 2000
>Last-Modified:  Mon Apr 10 12:20:02 PDT 2000
>Originator:     Andrey Novikov
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
Web2000 Ltd.
>Environment:
>Description:

	Many programs e.g. proftpd asume /etc/group not to have any
	comments and complain about malformed group file on startup.

>How-To-Repeat:
>Fix:
	
	Remove comments from /etc/group


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Mon Apr 3 05:01:19 PDT 2000 
State-Changed-Why:  
These programs simply shouldn't do that.  The format of the /etc/group   
file is implementation specific.  Ours is well documented (group(5)) and 
proper, standard ways of reading its contents are provided (id(1),  
getgrent(3)). 

You should take this bad programming practice up with the authors of the 
software in which you've discovered it. 

From: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To: novikov@web2000.ru
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/17767: /etc/group and comments
Date: Mon, 10 Apr 2000 21:01:55 +0200

 -On [20000403 12:01], root@web2000.ru (root@web2000.ru) wrote:
 >
 >	Many programs e.g. proftpd asume /etc/group not to have any
 >	comments and complain about malformed group file on startup.
 >
 >>How-To-Repeat:
 >>Fix:
 >	
 >	Remove comments from /etc/group
 
 It can also be argued otherwise that programs are supposed to ignore
 default comment characters from configuration files, such as the hash
 (#).
 
 -- 
 Jeroen Ruigrok vd Werven/Asmodai    asmodai@[wxs.nl|bart.nl|freebsd.org]
 Documentation nutter/C-rated Coder BSD: Technical excellence at its best  
 The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai>
 When Silence cries...  Is it what I feel?  Or is it what you really long
 to be..?
 
>Unformatted:
