OpenVZ Forum


Home » General » Support » nscd on VE
nscd on VE [message #26259] Sat, 19 January 2008 03:17 Go to previous message
edel is currently offline  edel
Messages: 3
Registered: January 2008
Location: Naga City, Philippines
Junior Member
hello great people, in this great society Wink

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
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Inject in PHP? Bug? Help-me!
Next Topic: Samba cifs client in VE's
Goto Forum:
  


Current Time: Wed May 01 03:08:59 GMT 2024

Total time taken to generate the page: 0.01770 seconds