nscd on VE [message #26259] |
Sat, 19 January 2008 03:17 |
edel
Messages: 3 Registered: January 2008 Location: Naga City, Philippines
|
Junior Member |
|
|
hello great people, in this great society
i have problem running nscd on top of cos ve. from the logfile, it says "30624: Failed to drop capabilities", so i thought i have to enable some caps to run nscd.
here's the relevant info from strace:
Quote: | ...
chmod("/var/run/nscd/socket", 0666) = 0
listen(12, 128) = 0
getuid32() = 0
prctl(0x8, 0x1, 0x8c42050, 0xa84f63, 0x8c43258) = 0
capset(0x19980330, 0, {CAP_SETGID|CAP_SETUID|0x20000000, CAP_SETGID|CAP_SETUID|0x20000000, 0}) = -1 EPERM (Operation not permitted)
write(3, "30490: Failed to drop capabiliti"..., 35) = 35
write(2, "nscd: ", 6) = 6
write(2, "cap_set_proc failed", 19) = 19
write(2, "\n", 1) = 1
exit_group(1) = ?
|
i did try:
vzctl set 1502 --capability setuid:on --save
vzctl set 1502 --capability setgid:on --save
...and reboot.
but it does not succed. i also tried enabling all but setpcap but to no avail still nscd failed to start.
thanks in advance.
--edel
|
|
|