[mythtvnz] Total system failure: Any suggestions?

Worik Stanton worik.stanton at gmail.com
Fri Jul 5 00:52:37 BST 2013


On 05/07/13 11:17, Jonathan Hoskin wrote:
> Maybe put "-ex" into the shebang line?
> 
> E.g. #!/bin/dash -ex

Good advice.

I ran "dash -x `which mythtv-sebup`"and found that it hangs because the
xterm command includes "taskset" (which binds the command to a single CPU)

Removing the taskset portion solves the problem.

I filed a bug.

cheers
Worik


I removed
> 
> From the manual:
> 
> e = "exit immediately if any untested command fails"
> x = "write each command to standard error (preceded by a '+ ') before it is executed. Useful for debugging"
> 
> 
> --  
> Jonathan Hoskin
> 
> 
> On Friday, 5 July 2013 at 10:54 AM, Worik Stanton wrote:
> 
>> This morning I was looking at my system trying to work out how to get
>> mythfill-database to talk to nz_grab_nz-py and I could not start
>> mythtv-setup. It got as far as shutting down the backend and opening
>> the xterm, then hangs.
>>  
>> I rebooted the system and tried again, the same result.
>>  
>> I purged mythtv-common then reinstalled mythtv. Same result.
>>  
>> 'mythtv-setup' is a shell script (pointing to dash). Is there a way I
>> can put that shell script (any shell script) into a debugger and step
>> through it? Then I would have a better idea of what is making it hang.
>>  
>> Worik
>>  
>> --  
>> "As I went walking I saw a sign there And on the sign it said 'No
>> Trespassing' But on the other side it didn't say nothing, That side
>> was made for you and me" – Woody
>> worik.stanton at gmail.com (mailto:worik.stanton at gmail.com) 021-1680650, (03) 4821804
>>  
>> _______________________________________________
>> mythtvnz mailing list
>> mythtvnz at lists.linuxnut.co.nz (mailto:mythtvnz at lists.linuxnut.co.nz)
>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>  
>>  
> 
> 
> 
> 
> 
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
> 


-- 
"As I went walking I saw a sign there And on the sign it said 'No
Trespassing' But on the other side it didn't say nothing, That side
was made for you and me" – Woody
       worik.stanton at gmail.com 021-1680650, (03) 4821804

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ourshack.com/pipermail/mythtvnz/attachments/20130705/e649599f/attachment.pgp>


More information about the mythtvnz mailing list