Project

General

Profile

Bug #676

Error while start service Could not set supplementary group ID's

Added by Alexandr Ryabukhin over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Start date:
12/18/2012
Due date:
% Done:

0%

Estimated time:
Affected version:
1.4.3-r1

Description

Gentoo, AMD64

error in gwlib/utils.c (line 440):

  if (initgroups(user, -1) == -1) {

ERROR: Could not set supplementary group ID's.
ERROR: System error 22: Invalid argument

Please replace with

    struct passwd *pwd; 
    pwd = getpwnam(user);
    if (initgroups(user, pwd->pw_gid) == -1) {

History

#1 Updated by Alexander Malysh over 11 years ago

  • Status changed from New to Resolved

Hi,

fixed in kannel libs.

Also available in: Atom PDF