![]() I can confirm similar behavior on Hardy Alpha6 to what's shown above, _but_ I say that there is no bug here. Or, asked the other way round, can you please check if it is fixed for you as well on current Hardy? $ sudo grep -v '^#' /etc/sudoers | grep -v '^$' I sanyone actually able to reproduce this? Can you please post a recipe here?įor the record, I'm using the default sudoers: However, some of the recent duplicates (like bug 197494) seem to indicate that it is still a problem in hardy. Now, when I reset the hostname withĮverything works again on both dapper and hardy. ![]() it still warns me, but doesn't fail any more. Sudo: unable to lookup foobar via gethostbyname() I opened two terminal windows, and did "sudo -i" in one of them to get a root shell (#), the other is a normal user shell ($) sudo should still complain, but run the ls command. upgrade sudo to the hardy-proposed version and attempt the same. ![]() Hardy final will fail with "unable to resolve host foo" and not run the ls. open another terminal, and try "sudo ls". open a terminal and do "sudo -i" to get a root shell do "hostname foo" fails) on a system where /usr/sbin/sendmail does NOT exist (standard Ubuntu installation) Otherwise, just mark it as invalid and forget it. If you consider that this is relevant and worth discussing, we can add Adam Williamson to the conversation. Originally from 2006/02/ 24/how- to-break- ubuntu- in-thirty- seconds/, Not too smart! Surely sudo shouldn’t ABSOLUTELY NEED to look up the host it’s running on? The only way out of this that I can see is single-user mode or the recovery console. Only, as you can see, this utterly breaks Ubuntu…all I need to do to fix the sudo problem is edit /etc/hosts so 127.0.0.1 is ‘ubuntu510′ (the name of the VM) rather than ‘zen’ (the name of the real machine), but I can’t do it, because sudo doesn’t work… So now when I set up a new VMware machine I just copy the /etc/hosts from the real machine over to the VM then edit a couple of lines to match the VM, instead of re-editing it all from scratch. I have a bunch of entries in /etc/hosts because of having four local systems plus a bunch of VMware machines etc. …yeah, sudo, it’s all very clever until someone loses an eye! Sudo: unable to lookup ubuntu510 via gethostbyname() ![]() Reading in sources list data from /etc/ros/rosdep/ behalf of Adam Williamson sudo scp 192.168. Ros-kinetic-realsense-camera is already the newest version (1.6.1-0xenial-20161204-170602-0800).Ġ upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Python-rosinstall is already the newest version (0.7.8-1). However, when I get to installing rosdep, I get this: $ sudo apt -y install ros-kinetic-desktop-full python-rosinstall ros-kinetic-realsense-camera ping statistics -Ĥ packets transmitted, 4 received, 0% packet loss, time 3004ms I have a Intel RealSense robotic development kit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |