OK, so Debian's cfengine needs a new version.

P.S. Please do not reply mail to [EMAIL PROTECTED], this is for us report bugs, every mail will generate a new bug ID.

--binghe


This has already been fixed in svn, and in 2.2.6
M

Chun Tian (binghe) wrote:
Package: cfengine2
Version: 2.2.5-1
Severity: normal
There's a segfault in Debian sid's cfengine2 2.2.5-1, you cannot see it because the segfault information is on console screen, not the one running cfagent. I dump the core, use gdb to debug it, and find this:
The line 700-707 of popen.c:
/* Now eliminate any residual privileged groups */
if ((pw = getpwuid(uid)) == NULL)
  {
snprintf(OUTPUT,CF_BUFSIZE,"Unable to get login groups when dropping privile\
ge to %s=%d",pw->pw_name,uid);
  CfLog(cferror,OUTPUT,"initgroups");
  return false;
  }
If pw == NULL, pw->pw_name will cause a segfault. Since I don't know author's idea at here, cannot fix it. SO just leave this to upstream.
Regards,
Chun Tian (binghe)

--


Mark Burgess

Web: http://www.iu.hio.no/~mark
Tlf: +47 22453272




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to