<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 06/26/2010 06:47 AM, Jack Perveiler wrote:
<blockquote
 cite="mid:AANLkTimgBZWM6bmI04S7Ep_rf7yHUjrF4dedqfPVn62P@mail.gmail.com"
 type="cite"><br>
  <br>
  <div class="gmail_quote">On Fri, Jun 25, 2010 at 10:28 PM, Ginsu
Squirrel <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:ginsu.squirrel@gmail.com">ginsu.squirrel@gmail.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div text="#000000" bgcolor="#ffffff">
    <div>
    <div class="h5">On 06/25/2010 06:46 PM, Jack Perveiler wrote:
    </div>
    </div>
    <blockquote type="cite">
      <div>
      <div class="h5">Hello,<br>
      <br>
After a recent update of 0.23-fixes (don't know the original rev, but
the new one is r25154) I lost the ability to shutdown my remote,&nbsp;
diskless frontend with the system exit key.&nbsp; It's set to "esc", and if
I hit "esc" from the main menu I do get the 3-item dialog box (Are you
sure you want to exit? No, Yes, Yes and Shutdown).<br>
      <br>
"No" indeed cancels, and "Yes" indeed closes mythfrontend.&nbsp; "Yes and
Shutdown does" nothing (neither exits mythfrontend nor shuts down the
system).<br>
      <br>
Any hints?&nbsp; I haven't changed any settings so I'm guessing something
changed underneath me when i updated the myth packages.&nbsp; I'm certain
I'm not providing enough information, but I honestly don't know what to
provide that would be relevant.&nbsp; Here's the full version information:<br>
      <br>
mythfrontend --version<br>
xprop:&nbsp; unable to open display ''<br>
Please attach all output as a file in bug reports.<br>
MythTV Version&nbsp;&nbsp; : 25154<br>
MythTV Branch&nbsp;&nbsp;&nbsp; : branches/release-0-23-fixes<br>
Network Protocol : 56<br>
Library API&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 0.23.201000617-1<br>
QT Version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 4.5.2<br>
Options compiled in:<br>
&nbsp;linux debug using_oss using_alsa using_pulse using_jack
using_pulseoutput using_backend using_dvb using_firewire using_frontend
using_glx_proc_addr_arb using_hdhomerun using_hdpvr using_iptv
using_ivtv using_joystick_menu using_libudev using_lirc using_mheg
using_opengl_video using_opengl_vsync using_qtwebkit using_v4l
using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw
using_bindings_perl using_bindings_python using_opengl using_vdpau
using_ffmpeg_threads using_libavc_5_3 using_live using_mheg<br>
      <br>
Is there a database setting saying what should happen with the "Yes and
shutdown" exit is selected?&nbsp; I see a few options for server shutdown
scripts etc, but their descriptions (and names) suggest that they're
for shutting down/waking up remote backends and not frontends.&nbsp; I'm
happy to be told otherwise though ;)<br>
      <br>
Thanks,<br>
      <br>
--Jack<br>
      </div>
      </div>
      <pre><fieldset></fieldset>
_______________________________________________
mythtv-users mailing list
<div class="im"><a moz-do-not-send="true"
 href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a>
<a moz-do-not-send="true"
 href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users"
 target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
  </div></pre>
    </blockquote>
If you have no configuration option to set what Shutdown does, it
sounds like you are using the Mythbuntu packages.&nbsp; They force you to
use dbus as the only shutdown/reboot options, and the dbus shutdown is
currently broken.&nbsp; See <a moz-do-not-send="true"
 href="http://svn.mythtv.org/trac/ticket/8556" target="_blank">http://svn.mythtv.org/trac/ticket/8556</a><br>
    </div>
    <br>
  </blockquote>
  <div><br>
Yes, I'm running Mythbuntu, although my myth packages are from JYA's
release repository.<br>
  <br>
I'm admittedly ignorant of most of what bug 8556 is saying though...
for educational purposes can you clarify a bit?&nbsp; <br>
  <br>
1) How do the mythbuntu packages force you to use dbus?<br>
2) Is the dbus shutdown brokenness due to myth, or to something else in
the mythbuntu environment?<br>
3) Looks like the fix in 8556 is a patch to configure... isn't
configure only used at compile time?&nbsp; Are you saying that the packages
themselves are broken because when they were built configure didn't
detect something correctly on the packager's system?<br>
4) "If you have no configuration option to set what Shutdown does"
implies that other people have such configuration options.&nbsp; Is this a
side effect of a bad build due to configure doing the wrong thing, or
are they just missing a script the database is pointing to (or similar)?<br>
  <br>
Thanks again,<br>
  <br>
--Jack<br>
  </div>
  </div>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
  </pre>
</blockquote>
1) Stock myth has the option to use custom commands to reboot/shutdown
or to fall back on dbus as the method to do so.&nbsp; A patch included in
the mythbuntu packages has a comment that says "Fixes up the shutdown
behavior so users can't break it" which removes the custom commands and
only uses the dbus methods.<br>
2) The brokenness is due to myth, see #3.<br>
3) Yes, that is the problem.&nbsp; To use dbus, qtdbus is required, and a
change was made to trunk and subsequently backported to fixes that
modified the method configure uses to find qtdbus.&nbsp; Due to the bug
described in my ticket, configure is unable to find qtdbus, so the the
dbus functionality is disabled.<br>
4) This is due to mythbuntu's patch, as described in #1.<br>
</body>
</html>