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

Bug#641538: policyd-weight: debug bug: using wrong function to calculate the issuing group

Package: policyd-weight
Severity: normal
Tags: upstream

In line 676 the policyd calls getpwuid($() to calculate the
name of the issuing *group*, I'd say, it should be getgrgid($().

Mostly the bug doesn't matter, since the *name* of the user 0
is the same as the name of the group 0.

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages policyd-weight depends on:
ii  adduser                3.112+nmu2        add and remove users and groups
ii  libnet-dns-perl        0.66-2            Perform DNS queries from a Perl sc
ii  libnet-ip-perl         1.25-2            Perl extension for manipulating IP
ii  perl                   5.10.1-17squeeze2 Larry Wall's Practical Extraction 

Versions of packages policyd-weight recommends:
ii  perl [libsys-syslog-pe 5.10.1-17squeeze2 Larry Wall's Practical Extraction 

policyd-weight suggests no packages.

-- no debconf information

Reply to: