{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxc/issues/432","labels_url":"https://api.github.com/repos/lxc/lxc/issues/432/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxc/issues/432/comments","events_url":"https://api.github.com/repos/lxc/lxc/issues/432/events","html_url":"https://github.com/lxc/lxc/issues/432","id":56626869,"number":432,"title":"__sync_wake: 62 sync wake failure : Broken pipe with --share-net option","user":{"login":"ik-nitk","id":4095629,"avatar_url":"https://avatars.githubusercontent.com/u/4095629?v=3","gravatar_id":"","url":"https://api.github.com/users/ik-nitk","html_url":"https://github.com/ik-nitk","followers_url":"https://api.github.com/users/ik-nitk/followers","following_url":"https://api.github.com/users/ik-nitk/following{/other_user}","gists_url":"https://api.github.com/users/ik-nitk/gists{/gist_id}","starred_url":"https://api.github.com/users/ik-nitk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ik-nitk/subscriptions","organizations_url":"https://api.github.com/users/ik-nitk/orgs","repos_url":"https://api.github.com/users/ik-nitk/repos","events_url":"https://api.github.com/users/ik-nitk/events{/privacy}","received_events_url":"https://api.github.com/users/ik-nitk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-05T04:42:41Z","updated_at":"2015-04-21T09:28:28Z","closed_at":null,"body":"I am trying to start a lxc container deb1 and use --share-net to start another container deb2 to share the network namespace.  But both in fedora and ubunut i and getting error below: \r\nissue |\r\n--------\r\n[root@blr-vxr-056 ~]# lxc-start --share-net deb1 -n deb2\r\nlxc-start: cgfs.c: handle_cgroup_settings: 2077 Device or resource busy - failed to set memory.use_hierarchy to 1; continuing\r\nlxc-start: cgfs.c: handle_cgroup_settings: 2077 Device or resource busy - failed to set memory.use_hierarchy to 1; continuing\r\nlxc-start: sync.c: __sync_wake: 62 sync wake failure : Broken pipe\r\nlxc-start: start.c: __lxc_start: 1080 failed to spawn 'deb2'\r\n\r\n\r\nSteps to recreate | command\r\n------------------------|-----------------------\r\nstart a container   | lxc-start -n deb1\r\nget pid of init process of that container. | or create link in /var/run/netns/deb1 -> /proc/56298/ns/net\r\nstart another container | lxc-start --share-net deb1 -n deb2\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lxc/lxc/issues/comments/94719765","html_url":"https://github.com/lxc/lxc/issues/432#issuecomment-94719765","issue_url":"https://api.github.com/repos/lxc/lxc/issues/432","id":94719765,"user":{"login":"newtonkishore","id":2368990,"avatar_url":"https://avatars.githubusercontent.com/u/2368990?v=3","gravatar_id":"","url":"https://api.github.com/users/newtonkishore","html_url":"https://github.com/newtonkishore","followers_url":"https://api.github.com/users/newtonkishore/followers","following_url":"https://api.github.com/users/newtonkishore/following{/other_user}","gists_url":"https://api.github.com/users/newtonkishore/gists{/gist_id}","starred_url":"https://api.github.com/users/newtonkishore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newtonkishore/subscriptions","organizations_url":"https://api.github.com/users/newtonkishore/orgs","repos_url":"https://api.github.com/users/newtonkishore/repos","events_url":"https://api.github.com/users/newtonkishore/events{/privacy}","received_events_url":"https://api.github.com/users/newtonkishore/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T09:28:28Z","updated_at":"2015-04-21T09:28:28Z","body":"I am facing the same issue. Please provide a solution if its a known issue.\r\n\r\nLXC Version: 1.0.7\r\nUbuntu : 14.04   [ 3.13 x86 - Virtual OS ]\r\n\r\nroot!lxc-info -n share_lxc\r\nName:           share_lxc\r\nState:          STOPPED\r\n\r\n#Sharing the Namespace with another LXC\r\n\r\nroot!lxc-start --share-net exr -n share_lxc\r\nlxc-start: sync.c: __sync_wake: 62 sync wake failure : Broken pipe\r\nlxc-start: start.c: __lxc_start: 1080 failed to spawn 'share_lxc'\r\n\r\n#Sharing the Namespace with a PID [ created using unshare call ]\r\n\r\nroot!lxc-start -n share_lxc --share-net 2649\r\nlxc-start: sync.c: __sync_wake: 62 sync wake failure : Broken pipe\r\nlxc-start: start.c: __lxc_start: 1080 failed to spawn 'share_lxc'\r\n\r\nroot!ps -ef | grep /bin/bash\r\nroot      2649  2396  0 14:29 pts/1    00:00:00 /bin/bash\r\n"}}