paulhoule / RDFeasy

Software for packaging RDF data on Virtual Machines
MIT License
21 stars 0 forks source link

sudo busted when AMI launched in Ookaboo VPC #3

Open paulhoule opened 10 years ago

paulhoule commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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

paulhoule commented 10 years ago

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 commented 10 years ago

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

paulhoule commented 10 years ago

Vendor hassled: https://forums.aws.amazon.com/thread.jspa?threadID=152681