NixOS / nixops

NixOps is a tool for deploying to NixOS machines in a network or cloud.
https://nixos.org/nixops
GNU Lesser General Public License v3.0
1.84k stars 363 forks source link

Weird copy-closure problem on OSX: "mm_send_fd: sendmsg(1): Message too long" #212

Open pikajude opened 10 years ago

pikajude commented 10 years ago
$ nixops deploy -d universe
building all machine configurations...
using predefined remote systems file: /Users/joelteon/.dev/nix/nix.machines
these derivations will be built:
  /nix/store/771470l2bfbm62vqsyls11hgrv014c2c-nixos-14.10pre-git.drv
  /nix/store/ahrgfqskd9jrh8lmvysx0km8cjd6hzlr-etc.drv
  /nix/store/l3wpxivv2b6g9z39q1wpd5sp3kgl6cyb-nixops-machines.drv
mm_send_fd: sendmsg(1): Message too long
mux_client_request_session: send fds failed
mm_receive_fd: recvmsg: expected received 1 got 0
process_mux_new_session: failed to receive fd 1 from slave
Died at /nix/store/7w7mn67xjlb8rrv6ydkynvbqm34qvvjq-nix-1.8pre3636_9d0709e/lib/perl5/site_perl/5.16.3/darwin-2level/Nix/CopyClosure.pm line 38.
builder for `/nix/store/ahrgfqskd9jrh8lmvysx0km8cjd6hzlr-etc.drv' failed with exit code 255
cannot build derivation `/nix/store/771470l2bfbm62vqsyls11hgrv014c2c-nixos-14.10pre-git.drv': 1 dependencies couldn't be built
cannot build derivation `/nix/store/l3wpxivv2b6g9z39q1wpd5sp3kgl6cyb-nixops-machines.drv': 1 dependencies couldn't be built
error: build of `/nix/store/l3wpxivv2b6g9z39q1wpd5sp3kgl6cyb-nixops-machines.drv' failed
error: unable to build all machine configurations
domenkozar commented 8 years ago

Is there UDP involved somewhere? Message too long usually means that data size limit has been reached for a single packet.