<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 4, 2013 at 1:39 PM, Bill Meek <span dir="ltr"><<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On 09/04/2013 12:05 PM, Daryl McDonald wrote:<br>
...<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I did the "sudo visudo" and inserted the appropriate line ala Wiki, now how<div class="im"><br>
do I close and save that? A simple "sudo visudo" has given me the same<br>
editor in the past and in closing it with the X top left corner I'm told a<br>
process is still running, or something to that effect, and I choose "close<br>
anyway" because I didn't really initiate anything. I'd like to, and will<br>
wait for instruction as to how-to, exit this "sudo visudo" properly this<br>
time.<br>
</div></blockquote>
<br>
First, don't close with the X in the top left. I believe the default editor<br>
will have a list of choices at the bottom of the screen look for one that<br>
allows quitting. Perhaps holding down the control key and pressing the<br>
letter x on your keyboard.<br>
<br>
Re: sudo visudo -f /etc/sudoers.d/mythtv<br>
<br>
I realllllllly suggest using the format I posted. The reason is<br>
that tomorrow or years from now, the package maintainer (someone<br>
who releases changes for *buntu in your case) may change the<br>
/etc/sudoers file. This would likely happen during an upgrade to<br>
14.04. At that time, you (and I) may have completely forgotten<br>
about the addition to that file and idle shutdown would begin<br>
failing if the package maintainer's version is accepted.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
And here is the paste bin: <a href="http://paste.ubuntu.com/6063354/" target="_blank">http://paste.ubuntu.com/<u></u>6063354/</a><br>
</blockquote>
<br></div>
Excellent log file. See lines 1819-1828.<br>
<br>
The backend is ready to shutdown, however, when it runs the<br>
/usr/bin/checklogin.sh command that you chose to use,<br>
it fails. I don't use that command, however, I suspect it's<br>
failing because you're logged in.<br>
<br>
I'd also suggest that a command like that is one that should<br>
be customized for your specific use.<br>
<br>
And, I'll also assume that the checklogin.sh command is cut and<br>
pasted from the Wiki.<br>
<br>
It's designed to keep your system from shutting down while<br>
you're logged into it.<br>
<br>
Maybe you just need to logout. Failing that, use mythtv-setup,<br>
and remove the command.<br>
<br>
Remember to re-apply the ... --setverbose command if you need to keep<br>
troubleshooting this if the backend has restarted.<div class=""><div class="h5"><br>
<br>
-- <br>
Bill<br>
______________________________<u></u>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/<u></u>listinfo/mythtv-users</a></div></div></blockquote><div><br></div><div>I am following, all the way. I removed from the README ; pasted your command into the terminal, used ctrl+x to which it asked if I wanted to save ; to which I typed Y ; and now I have this screen:</div>
<div><div> GNU nano 2.2.6 File: /etc/sudoers.d/mythtv.tmp Modified </div><div><br></div><div>%mythtv ALL = NOPASSWD: /sbin/shutdown, /usr/bin/setwakeup.sh</div><div><br></div><div><br></div><div><br>
</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>
<br></div><div>File Name to Write: /etc/sudoers.d/mythtv.tmp </div><div>^G Get Help M-D DOS Format M-A Append M-B Backup File</div><div>^C Cancel M-M Mac Format M-P Prepend</div>
</div><div><br></div><div>and I have no idea where to go from here</div><div><br></div><div><div>Maybe you just need to logout. Failing that, use mythtv-setup,</div><div>and remove the command.</div></div><div><br></div><div>
I have done little tests; setting a recording in the near future, then logging out or shutting down, and upon these failures I have deemed it not working. Am I not giving it enough time to react? Which should I use shutting down or logging out? Which command?</div>
<div><br></div><div>Daryl</div></div><br></div></div>