nbd-server can no longer be started from inetd

Bug #121827 reported by Scott Balneaves
2
Affects Status Importance Assigned to Milestone
nbd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: nbd-server

Eek! Looks like this got unceremoniously dropped: from nbd-server.c, line 1554

/* We don't support this at this time */
#if 0
        if (!(serve->port)) {
                CLIENT *client;
#ifndef ISSERVER
                /* You really should define ISSERVER if you're going to use
                 * inetd mode, but if you don't, closing stdout and stderr
                 * (which inetd had connected to the client socket) will let it
                 * work. */
                close(1);
                close(2);
                open("/dev/null", O_WRONLY);
                open("/dev/null", O_WRONLY);
#endif

We're in a world of pain for LTSP.

Revision history for this message
Oliver Grawert (ogra) wrote :

added a comment on http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=317888 seems thats not a new thing

Revision history for this message
Oliver Grawert (ogra) wrote :

for now the best workaround is probably to install the old nbd-server from https://launchpad.net/ubuntu/gutsy/i386/nbd-server/1:2.8.7-5ubuntu1

Revision history for this message
Oliver Grawert (ogra) wrote :
Revision history for this message
Oliver Grawert (ogra) wrote :

fix uploaded, debdiff attached

Changed in nbd:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.