1. 16 Aug, 2018 1 commit
    • usernsexec: Make err out vebose for unshare error · ede912b4
      Tobin C. Harding authored
      Currently if lxc-usernsexec is run on a kernel without user namespaces
      enabled the error message is
      
      	unshare: Invalid argument
      	read pipe: Success
      
      This error message 'Invalid argument' does not point at the root cause
      of the error.  We can help the user out by giving a more detailed error
      message and also not using perror() if errno==0.
      
      Improve error message by
       - Printing unshare flags
       - Printing suggested cause of failure (user namespace not enabled)
       - Print error message with fprintf() if errno==0 (EOF)
      Signed-off-by: 's avatarTobin C. Harding <me@tobin.cc>
  2. 15 Aug, 2018 3 commits
  3. 14 Aug, 2018 6 commits
  4. 13 Aug, 2018 3 commits
  5. 12 Aug, 2018 1 commit
  6. 11 Aug, 2018 5 commits
  7. 10 Aug, 2018 5 commits
  8. 09 Aug, 2018 2 commits
  9. 08 Aug, 2018 5 commits
  10. 07 Aug, 2018 1 commit
  11. 06 Aug, 2018 8 commits