[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#213721: marked as done (libc6: Translation gid->groupname hangs if groupname doesnt exists)



Your message dated Fri, 31 Oct 2003 10:25:03 -0500
with message-id <20031031152503.GA512@nevyn.them.org>
and subject line Bug#213721: libc6: Translation gid->groupname hangs if groupname doesnt exists
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Oct 2003 09:37:17 +0000
>From ian@turboliesel.planet-school.de Thu Oct 02 04:37:15 2003
Return-path: <ian@turboliesel.planet-school.de>
Received: from turboliesel.planet-school.de [62.216.178.200] 
	by master.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1A4ztb-0007Y8-00; Thu, 02 Oct 2003 04:37:15 -0500
Received: (qmail 2863 invoked by uid 1000); 2 Oct 2003 09:37:14 -0000
Message-ID: <[🔎] 20031002093714.2862.qmail@turboliesel.planet-school.de>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Ian Hubbertz <ian@planet-school.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6: Translation gid->groupname hangs if groupname doesnt exists
X-Mailer: reportbug 2.29
Date: Thu, 02 Oct 2003 11:37:14 +0200
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0
	tests=HAS_PACKAGE
	version=2.53-bugs.debian.org_2003_10_1
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_1 (1.174.2.15-2003-03-30-exp)

Package: libc6
Version: 2.3.2-7
Severity: important


All programs trying to translate a GID to a groupname (like ls -l, but
also rsync) hangs when trying to resolve a gid that doesnt exists in
/etc/group. Even "chown 0:0 $DIR" hangs.

* strace shows that the programs are in an infinite loop trying to open
/etc/group.

* I found out, that this only happens if there is a large entry in
/etc/group.

* I had the following entry in /etc/group:

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

kunden:x:514:k2001-1,k2001-2,k2002-1,k2003-1,k2004-1,k2005-1,k2006-1,k2007-1,k2008-1,k2009-1,k2010-1,k2012-1,k2014-1,k2016-1,k2018-1,k2020-1,k2021-1,k2022-1,k2023-2,k2024-1,k2025-1,k2026-1,k2027-1,k2028-1,k2029-1,k2030-1,k2031-1,k2031-2,k2031-3,k2032-1,k2033-1,k2036-1,k2037-1,k2036-2,k2036-3,k2039-1,k2039-2,k2039-3,k2040-1,k2040-2,k2040-3,k2041-1,k2042-1,k2043-1,k2044-1,k2045-1,k2046-1,k2047-1,k2047-2,k2047-3,k2049-1,k2050-1,k2050-2,k2050-3,k2051-1,k2052-1,k2053-1,k2054-1,k2055-1,k2056-1,k2057-1,k2058-1,k2060-1,k2061-1,k2062-1,kk2063-1,k2063-1,k2065-1,k2066-1,k2067-1,k2068-1,k2069-1,k2070-1,k2071-1,k2072-1,k2073-1,k2073-2,k2073-3,k2073-4,k2073-5,k2076-1,k2077-1,k2078-1,k2079-1,k2080-1,k2081-1,k2082-1,k1999-1,k2083-1,k2084-1,k2085-1,k2086-1,k2087-1,k2088-1,k2091-1,k2092-1,k2093-1,k2094-1,k2095-1,k2096-1,k2097-1,k2098-1,k2099-1,k2100-1,k2098-2,k2098-3,k2101-1,k2102-1,k2103-1,k2104-1,k2105-1,k2106-1,k2107-1,k2108-1,k2109-1,k2110-1,k2112-1,k2113-1,k2114-1,k2115-1,k2116-1,k2117-1,
 k2118-1,k2119-1,k2120-1,k2121-1,k2123-1,k2124-1,k2125-1,k2126-1,k2127-1,k2128-1,k2129-1,k2130-1,k2131-1,k2132-1,k2133-1,k2134-1,k2135-1,k2137-1,k2138-1,k2139-2,k2141-1,k2142-1,k2143-1,k2144-1,k2145-1,k2146-1,k2147-1,k2148-1,k2149-1,k2150-1,k2151-1,k2152-1,k2153-1,k2155-1,k2155-2,k2156-1,k2157-1,k2159-1,k2160-1,k2161-1,k2162-1,k2163-1,k2164-1,k2165-1,k2166-1,k2167-1,k2168-1,k2169-1,k2170-2,k2170-3,k2170-4,k2170-5,k2171-1,k2172-1,k2173-1,k2174-1,k2175-1,k2176-2,k2177-1,k2178-1,k2179-1,k2179-2,k2181-1,k2181-2,k2183-1,k2184-1,k2186-1,k2187-1,k2189-1,k2190-1,k2191-1,k2192-1,k2194-1,k2200-1,k2202-1,k2203-1,k2205-1,k2207-1,k2208-1,k2209-1,k2210-1,k2212-1,k1939-1,k1953-1,k1942-1,k1943-1,k2000-1,k1277-1,k2213-1,k2214-1,k2215-1,k2216-1,k2217-1,k2218-1,k2219-1,k2220-1,k2221-1,k2222-1,k2223-1,k2224-1,k2225-1,k2226-1,k2227-1,k2228-1,k2229-1,k2230-1,k2231-1,k2232-1,k2233-1,k2234-1,k2235-1,k2236-1,k2237-1,k2238-1,k2239-1,k2240-1,k2241-1,k2242-1,k2242-2,k2243-1,k2244-1,k2245-1,k2247-1,k2248
 -1,k2250-1,k2251-1,k2252-1,k2253-1,k2254-1,k2255-1,k2256-1,k2257-1,k2258-1,k2259-1,k2260-1,k2261-1,k2262-1,k2263-1,k2264-1,k2265-1,k2266-1,k2267-1,k2268-1,k2269-1,k2270-1,k2271-1,k2272-1,k2273-1,k2274-1,k2275-1,k2276-1,k2277-1,k2278-1,k2279-1,k2280-1,k2281-1,k2282-1,k2283-1,k2284-1,k2285-1,k2286-1,k2287-1,k2288-1,k2289-1,k2290-1,k2291-1,k2292-1,k2293-1,k2294-1,k2295-1,k2296-1,k2297-1,k2298-1,k2299-1,k2300-1,k2301-1,k2302-1,k2303-1,k2305-1,k2306-1,k2307-1,k2308-1,k2309-1,k2310-1,k2311-1,k2312-1,k2313-1,k2314-1,k2315-1,k2316-1,k1042-1,k2317-1,k2318-1,k2319-1,k2320-1,k2321-1,k2322-1,k2323-1,k2324-1,k2325-1,k2326-1,k2327-1,k2328-1,k2329-1,k2330-1,k2331-1,k2332-1,k2333-1,k2334-1,k2335-1,k2336-1,k2337-1,k2338-1,k2339-1,k2340-1,k2341-1,k2342-1,k2343-1,k2344-1,k2345-1,k2346-1,k2347-1,k2349-1,k2350-1,k2352-1,k2353-1,k2354-1,k2355-1,k2356-1,k2357-1,k2358-1,k2359-1,k2360-1,k2361-1,k2362-1,k2363-1,k2364-1,k2365-1,k2367-1,k2368-1,k2369-1,k2370-1,k2371-1,k2372-1,k2373-1,k2374-1,k2375-1,k2
 376-1,k2377-1,k1997-1,k2378-1,k1990-1,k1989-1,k1977-1,k2379-1,k2380-1,k2381-1,k2382-1,k2383-1,k2385-1,k2386-1,k2387-1,k2388-1,k2389-1,k2390-1,k2391-1,k2393-1,k2394-1,k2395-1,k2396-1,k2397-1,k2398-1,k2399-1,k2400-1,k2401-1,k2402-1,k2403-1,k2404-1,k2405-1,k2406-1,k2407-1,k2408-1,k2409-1,k2410-1,k2411-1,k2412-1,k2413-1,k2414-1,k2415-1,k2416-1,k2417-1,k2418-1,k2419-1,k2420-1,k2421-1,k2422-1,k2423-1,k2424-1,k2425-1,k2426-1,k2427-1,k2428-1,k2429-1,k2430-1,k2431-1,k2433-1,k2434-1,k2435-1,k2436-1,k2437-1,k2438-1,k2439-1,k2440-1,k1221-1,k2441-1,k2442-1,k2443-1,k2444-1,k2446-1,k2445-1,k2447-1,k2448-1,k2449-1,k2450-1,k2451-1,k2452-1,k2453-1,k2454-1,k2455-1,k2456-1,k2457-1,k2458-1,k2459-1,k1005-1,k2460-1,k2461-1,k2462-1,k2463-1,k2464-1,k2465-1,k2466-1,k2467-1,k2468-1,k2469-1,k2470-1,k2471-1,k2472-1,k2473-1,k2474-1,k2475-1,k2476-1,k2477-1,k2478-1,k1994-1,k1932-1,k2479-1,k1862-1,k2480-1,k2481-1,k2482-1,k2483-1,k2484-1,k2485-1,k2486-1,k2487-1,k2488-1,k2489-1,k2490-1,k2491-1,k2493-1,k2494-1
 ,k2495-1,k2496-1,k2497-1,k1958-1,k1959-1,k2498-1,k2500-1,k2501-1,k2502-1,k2503-1,k2504-1,k2505-1,k2506-1,k2507-1,k2508-1,k2509-1,k1634-1,k2530-1,k2724-1,k2725-1,k2726-1,k2727-1,k2728-1,k2730-1,k2731-1,k2732-1,k2738-1,k2739-1,k2740-1,k2745-1

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

That are 4198 characters and 523 users in group.


* This line is unchanged since a long time, it worked fine with older
versions of libc.


* /etc/nsswitch.conf is at default


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux turboliesel 2.4.22-rc2 #1 Thu Aug 21 18:20:33 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl

-- no debconf information


---------------------------------------
Received: (at 213721-done) by bugs.debian.org; 31 Oct 2003 15:25:05 +0000
>From drow@crack.them.org Fri Oct 31 09:25:04 2003
Return-path: <drow@crack.them.org>
Received: from nevyn.them.org [66.93.172.17] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AFb96-00027P-00; Fri, 31 Oct 2003 09:25:04 -0600
Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian))
	id 1AFb95-00009V-PT; Fri, 31 Oct 2003 10:25:03 -0500
Date: Fri, 31 Oct 2003 10:25:03 -0500
From: Daniel Jacobowitz <dan@debian.org>
To: Ian Hubbertz <ian@planet-school.de>, 213721-done@bugs.debian.org
Subject: Re: Bug#213721: libc6: Translation gid->groupname hangs if groupname doesnt exists
Message-ID: <20031031152503.GA512@nevyn.them.org>
References: <[🔎] 20031002093714.2862.qmail@turboliesel.planet-school.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] 20031002093714.2862.qmail@turboliesel.planet-school.de>
User-Agent: Mutt/1.5.1i
Delivered-To: 213721-done@bugs.debian.org
X-Spam-Status: No, hits=-5.7 required=4.0
	tests=EMAIL_ATTRIBUTION,QUOTED_EMAIL_TEXT
	version=2.53-bugs.debian.org_2003_10_31
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_31 (1.174.2.15-2003-03-30-exp)

On Thu, Oct 02, 2003 at 11:37:14AM +0200, Ian Hubbertz wrote:
> Package: libc6
> Version: 2.3.2-7
> Severity: important
> 
> 
> All programs trying to translate a GID to a groupname (like ls -l, but
> also rsync) hangs when trying to resolve a gid that doesnt exists in
> /etc/group. Even "chown 0:0 $DIR" hangs.

This is now fixed in unstable.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: