[mythtv-users] Carbon Footprint
Daryl McDonald
darylangela at gmail.com
Wed Sep 4 18:13:58 UTC 2013
On Wed, Sep 4, 2013 at 1:39 PM, Bill Meek <keemllib at gmail.com> wrote:
> On 09/04/2013 12:05 PM, Daryl McDonald wrote:
> ...
>
>> I did the "sudo visudo" and inserted the appropriate line ala Wiki, now
>> how
>>
>> do I close and save that? A simple "sudo visudo" has given me the same
>> editor in the past and in closing it with the X top left corner I'm told a
>> process is still running, or something to that effect, and I choose "close
>> anyway" because I didn't really initiate anything. I'd like to, and will
>> wait for instruction as to how-to, exit this "sudo visudo" properly this
>> time.
>>
>
> First, don't close with the X in the top left. I believe the default editor
> will have a list of choices at the bottom of the screen look for one that
> allows quitting. Perhaps holding down the control key and pressing the
> letter x on your keyboard.
>
> Re: sudo visudo -f /etc/sudoers.d/mythtv
>
> I realllllllly suggest using the format I posted. The reason is
> that tomorrow or years from now, the package maintainer (someone
> who releases changes for *buntu in your case) may change the
> /etc/sudoers file. This would likely happen during an upgrade to
> 14.04. At that time, you (and I) may have completely forgotten
> about the addition to that file and idle shutdown would begin
> failing if the package maintainer's version is accepted.
>
>
> And here is the paste bin: http://paste.ubuntu.com/**6063354/<http://paste.ubuntu.com/6063354/>
>>
>
> Excellent log file. See lines 1819-1828.
>
> The backend is ready to shutdown, however, when it runs the
> /usr/bin/checklogin.sh command that you chose to use,
> it fails. I don't use that command, however, I suspect it's
> failing because you're logged in.
>
> I'd also suggest that a command like that is one that should
> be customized for your specific use.
>
> And, I'll also assume that the checklogin.sh command is cut and
> pasted from the Wiki.
>
> It's designed to keep your system from shutting down while
> you're logged into it.
>
> Maybe you just need to logout. Failing that, use mythtv-setup,
> and remove the command.
>
> Remember to re-apply the ... --setverbose command if you need to keep
> troubleshooting this if the backend has restarted.
>
>
> --
> Bill
> ______________________________**_________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/**listinfo/mythtv-users<http://www.mythtv.org/mailman/listinfo/mythtv-users>
>
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:
GNU nano 2.2.6 File: /etc/sudoers.d/mythtv.tmp
Modified
%mythtv ALL = NOPASSWD: /sbin/shutdown, /usr/bin/setwakeup.sh
File Name to Write: /etc/sudoers.d/mythtv.tmp
^G Get Help M-D DOS Format M-A Append M-B Backup File
^C Cancel M-M Mac Format M-P Prepend
and I have no idea where to go from here
Maybe you just need to logout. Failing that, use mythtv-setup,
and remove the command.
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?
Daryl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130904/f9408423/attachment.html>
More information about the mythtv-users
mailing list