← Back to team overview

touch-packages team mailing list archive

[Bug 690929] Re: getent fails to enumerate netgroups that contain multiple groups when the last group is empty

 

This is no more a supported version now

** Changed in: eglibc (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/690929

Title:
  getent fails to enumerate netgroups that contain multiple groups when
  the last group is empty

Status in eglibc package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: libc6

  root@goats:/etc# cat /etc/netgroup
  group_not_empty (-,antarus,)
  group_empty
  test1 group_not_empty group_empty
  test2 group_empty group_not_empty

  root@goats:/etc# getent netgroup test1
  test1                
  root@goats:/etc# getent netgroup test2
  test2                 (-, antarus, ) 

  I believe the correct behavior is to list (-, antarus, ) for both
  queries.

  
  root@goats:/etc# apt-cache policy libc6
  libc6:
    Installed: 2.11.1-0ubuntu7.5
    Candidate: 2.11.1-0ubuntu7.5

  root@goats:/etc# lsb_release -rd
  Description:    Ubuntu 10.04.1 LTS
  Release:        10.04

  I have not been able to successfully compile eglibc with debug symbols
  and trying to track the behavior of __getnetgrent_r is a pain with
  optimized libraries; however this is likely either a bug in
  __getnetgrent_r or a 'feature' of netgroups of which I am not aware.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/690929/+subscriptions