<div dir="ltr">Hi James,<div><br></div><div>terribly sorry for that, we've obviously tested that package and haven't seen this before. I don't think any other user has reported this to the mailing list before, so I think it might be an incompatibilty with your local configuration of your sudoers and the one we ship.</div>


<div><br></div><div>What the OpenNebula package does is pretty simple: it installs a new file called /etc/sudoers.d/opennebula which contains:</div><div><a href="https://github.com/OpenNebula/one/blob/master/share/pkgs/CentOS/opennebula.sudoers" target="_blank">https://github.com/OpenNebula/one/blob/master/share/pkgs/CentOS/opennebula.sudoers</a><br>


</div><div><br></div><div>Once you have restored root privileges on the machine, could you please send us the contents of /etc/sudoers and /etc/sudoers.d/opennebula. Ask your administrator to make a backup of those broken sudoers files before changing them and send them to us before fixing them. (Before sending them, please review that you aren't sending anything sensitive to the mailing list)</div>


<div><br></div><div>I would like to see also the list of opennebula packages you have installed: $ rpm -qa | grep opennebula</div><div><br></div><div>regards,<br>Jaime</div><div><br></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Thu, Jan 9, 2014 at 9:26 PM, Bradfield, James <span dir="ltr"><<a href="mailto:James.Bradfield@njvc.com" target="_blank">James.Bradfield@njvc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Ran the yum package installer for opennebula-node-kvm on a remote RHEL 6 box last thing yesterday before leaving, finished the install, and logged out. Logged back into the same machine today and got the following error dump whenever I tried to use sudo:<br>



<br>
sudo: >>> /etc/sudoers.d/opennebula: Alias `ONE_MISC' already defined near line 4 <<<<br>
sudo: >>> /etc/sudoers.d/opennebula: Alias `ONE_NET' already defined near line 4 <<<<br>
sudo: >>> /etc/sudoers.d/opennebula: Alias `ONE_LVM' already defined near line 4 <<<<br>
sudo: >>> /etc/sudoers.d/opennebula: Alias `ONE_ISCSI' already defined near line 4 <<<<br>
sudo: >>> /etc/sudoers.d/opennebula: Alias `ONE_OVS' already defined near line 4 <<<<br>
sudo: >>> /etc/sudoers.d/opennebula: Alias `ONE_XEN' already defined near line 4 <<<<br>
sudo: parse error in /etc/sudoers.d/opennebula near line 4<br>
sudo: no valid sudoers sources found, quitting<br>
sudo: unable to initialize policy plugin<br>
<br>
Clearly some duplicate definitions got created during the install process (not sure how, I’m like 99% sure these machines didn't have OpenNebula on them at any point before); unfortunately, I can’t sudo to fix it (since sudo is broken, obviously), don’t have the root password, and can't boot recovery since it’s a remote box (and I can't reboot the box from command line anyway since I don't have sudo). I’ve contacted the local IT guy who should be able to fix it easily, but I groused about it on Twitter and got asked to send this into the mailing list, so here you go.<br>



<br>
Jim Bradfield<br>
Software Engineer Associate, Chief Technology Office<br>
NJVC, LLC<br>
<br>
T <a href="tel:703.429.9498" value="+17034299498" target="_blank">703.429.9498</a> | M <a href="tel:540.230.5571" value="+15402305571" target="_blank">540.230.5571</a> | <a href="mailto:james.bradfield@njvc.com" target="_blank">james.bradfield@njvc.com</a><br>


14295 Park Meadow Drive, Chantilly, VA 20151<br>
<a href="http://www.njvc.com" target="_blank">www.njvc.com</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote></div><br></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Jaime Melis<br>Project Engineer<br>OpenNebula - Flexible Enterprise Cloud Made Simple<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a></div>

</div>
</div>