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

[Nbd] nbd-server silently exits if user/group not exist



Hi,

/etc/nbd-server/config is

[generic]
        user = nbd
        group = nbd
[export1]
        exportname = /root/nbd.img
        listenaddr = 0.0.0.0
        port = 4444

if I run (as root)
# ndb-server it silently exits. If user/group lines are commented out then the
server is started.

There's no sign of nbd user or group on my system. The last lines of the strace are:

open("/etc/nbd-server/config", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=187, ...}) = 0
read(3, "[generic]\n        user = nbd\n    "..., 4096) = 187
read(3, ""..., 4096)                    = 0
close(3)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7f49728) = 23775
exit_group(0)                           = ?


Btw: how do I report issues ? I didn't see Issues tab in SF project page.

Regards,
Alexander.



Reply to: