[ python-Bugs-1465646 ] test_grp & test_pwd fail

SourceForge.net noreply at sourceforge.net
Thu Apr 6 20:34:00 CEST 2006


Bugs item #1465646, was opened at 2006-04-06 12:57
Message generated for change (Comment added) made by doerwalter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1465646&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Richard Townsend (rptownsend)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_grp & test_pwd fail

Initial Comment:
test_grp and test_pwd fail on PC running Red Hat 
Enterprise Edition V4.2 with Python-2.4.3 and Python-
2.5a1.

See attached file for test error messages.



----------------------------------------------------------------------

>Comment By: Walter Dörwald (doerwalter)
Date: 2006-04-06 20:34

Message:
Logged In: YES 
user_id=89016

I'm prepared to throw out the fancy tests from test_pwd.py
and test_grp.py. They don't buy us much anyway and basically
test more the OS then the Python modules. (For related bugs
see #779218, #962226 and #775964.)

----------------------------------------------------------------------

Comment By: Matt Fleming (splitscreen)
Date: 2006-04-06 17:48

Message:
Logged In: YES 
user_id=1126061

AFAIK getgrgid() doesn't handle negative integers very well
(I can't even add a group with a negative gid on my NetBSD
machine).

----------------------------------------------------------------------

Comment By: Richard Townsend (rptownsend)
Date: 2006-04-06 16:42

Message:
Logged In: YES 
user_id=200117

The test workstation is getting its password and group info 
from NIS.

The test workstation is running Red Hat Linux, but the NIS 
server is running HPUX 11i.

I believe these are the entries causing the errors:

lancaster:/etc > ypcat passwd | grep '-'
nobody:*:-2:-2::/:

lancaster:/etc > ypcat group | grep '-'
nogroup:*:-2:




----------------------------------------------------------------------

Comment By: Georg Brandl (gbrandl)
Date: 2006-04-06 15:01

Message:
Logged In: YES 
user_id=849994

Can you post the relevant part of /etc/passwd and /etc/group?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1465646&group_id=5470


More information about the Python-bugs-list mailing list