|author||Peter Seebach <firstname.lastname@example.org>||2016-03-02 14:04:24 -0600|
|committer||Peter Seebach <email@example.com>||2016-03-02 14:07:46 -0600|
Server launch rework continued, probably finished
Server process now waits for its forked child when daemonizing, allowing us to yield meaningful exit status. Lock is now taken by the child, since it has a way to tell the parent about the exit status. (We send SIGUSR1 to the server to cause the wait loop to stop when the client is ready to go.) This allows us to switch to fcntl locking, which should in theory allow us to run with the pseudo directory NFS-mounted. Woot! Also mark a couple of overly spammy messages as PDBGF_VERBOSE to reduce the volume of uninteresting dup spam when looking at client behaviors. Client now uses execve to spawn server to work around a very strange behavior of unsetenv. Signed-off-by: Peter Seebach <firstname.lastname@example.org>
Diffstat (limited to 'enums')
1 files changed, 4 insertions, 0 deletions
diff --git a/enums/exit_status.in b/enums/exit_status.in
index e02b1bc..6be44d3 100644
@@ -14,3 +14,7 @@ socket_path, "path allocation failure for server socket"
socket_unlink, "couldn't unlink existing server socket"
socket_bind, "couldn't bind server socket"
socket_listen, "couldn't listen on server socket"
+listen_fd, "server loop had no valid listen fd"
+pseudo_loaded, "server couldn't get out of pseudo environment"
+pseudo_prefix, "couldn't get valid pseudo prefix"
+pseudo_invocation, "invalid server command arguments"