Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudo busted when AMI launched in Ookaboo VPC #3

Open
paulhoule opened this issue May 21, 2014 · 5 comments
Open

sudo busted when AMI launched in Ookaboo VPC #3

paulhoule opened this issue May 21, 2014 · 5 comments

Comments

@paulhoule
Copy link
Owner

The product works great in "AWS Classic" but when it is launched in a VPC the "sudo" command does not work because it can't resolve an IP address. This breaks all the scripts that use sudo.

@paulhoule
Copy link
Owner Author

Ok, this problem does not look critical.

I do this sequence

ubuntu@ip-10-0-0-130:~$ sudo touch /top-of-filesystem
sudo: unable to resolve host ip-10-0-0-130

ubuntu@ip-10-0-0-130:~$ ls -l /
total 76
drwxr-xr-x   2 root root  4096 Apr 18 17:07 bin
drwxr-xr-x   3 root root  4096 Apr 28 19:08 boot
  ...
drwxrwxrwt   2 root root  4096 May 21 21:12 tmp
-rw-r--r--   1 root root     0 May 21 21:12 top-of-filesystem
drwxr-xr-x  10 root root  4096 Feb 26 03:33 usr
  ...

It looks like the touch command worked despite the error message from sudo.

@paulhoule
Copy link
Owner Author

I'll see if I can reproduce the problem with the Base AMI which is ami-d7dbc7be

@paulhoule
Copy link
Owner Author

It is a bug for the vendor since the problem can be reproduced with the Ubuntu AMI mentioned above. Is the problem in the current 14.04 LTS product?

ami-1d8c9574

@paulhoule
Copy link
Owner Author

Yes this problem is in the 14.04 LTS product with the above id. Let's hassle the vendor.

@paulhoule
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant