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

small bug



Hi,

In 0.5.1 release there is small bug. initgroups directive doesn't
work properly ;-(

For example:
service "cvspserver" {
	protocol	tcp;
	family		ipv6;
	port		"cvspserver";
	user		"nobody";
	server		"/usr/bin/cvs";
	exec		"cvs --allow-root=/usr/src/CVSROOT pserver";
	initgroups;
}

and I get:
initgroups(nobody, -1): Bad argument

root@dark /root# grep nobody /etc/passwd /etc/group
/etc/passwd:nobody:x:99:99:Nobody:/:
/etc/group:nobody:x:99:

(gdb) print stringtab_get(*(op+1))
$34 = 0x8054a98 "nobody"
(gdb) print (*(op+2))
$35 = -1

field supgid isn't changed ! -1 is from defaults->supgid (confirmed ;)

That's all 8)