[mythtv-commits] Ticket #13628: mythtv-status script causes issue with scp

MythTV noreply at mythtv.org
Sat May 30 08:26:42 UTC 2020


#13628: mythtv-status script causes issue with scp
--------------------------------------+--------------------------
     Reporter:  leafpaulc             |      Owner:  (none)
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  needs_triage
    Component:  MythTV - General      |    Version:  v31-fixes
     Severity:  low                   |   Keywords:
Ticket locked:  0                     |
--------------------------------------+--------------------------
 Linux
 The scp command fails sometimes due to a conflict with the mythtv-status
 script.  An ssh session works as expected.

 "mythtv" is the pc with mythtv installed, scp is run from another desktop
 pc both are running linux.

 In both cases scp is run on the desktop pc, 1 copying a file from mythtv
 pc to the  desktop pc and 2 copying a file from the desktop pc to the
 mythtv pc

 Case 1 (file copied from mythtv pc to desktop pc):

 scp mythtv:filename filename

 Output:
 {{{
 protocol error: unexpected <newline>
 }}}

 The file (filename) isn't copied from the desktop to the mythtv box.

 Case 2 (file copied from desktop pc to mythtv pc):

 scp filename mythtv:filename

 Output:
 {{{


 MythTV status for localhost"
 }}}

 There is a \n (causing a blank line) before the text.

 The file (filename) isn't copied in either case 1 or case 2.

 Uninstalling the mythtv-status package resolves the issue (ie scp copies
 the file as expected so this is the workaround) as does removing the
 .ssh/rc file that causes the mythtv-status to run on remote login (via ssh
 or scp) to the mythtv pc.

 You may want to re-classify this ticket as "Bindings - Perl" as it is a
 perl script.

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13628>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list