<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14338</bug_id>
          
          <creation_ts>2021-04-05 19:43:34 +0000</creation_ts>
          <short_desc>Tmux -c (CWD) requires Tmux 1.9</short_desc>
          <delta_ts>2021-04-22 15:21:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>oe-core other</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.4 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Peter Budny">pbbudny</reporter>
          <assigned_to name="Peter Budny">pbbudny</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>89869</commentid>
    <comment_count>0</comment_count>
    <who name="Peter Budny">pbbudny</who>
    <bug_when>2021-04-05 19:43:34 +0000</bug_when>
    <thetext>OE-Core rev 938a089b52e7bf5f67406f55234ab2d22236e9b6, which was brought into Poky in rev 404f7cec87bc9fabe48a5dbff38690faf96094b3, effectively changes the minimum version of Tmux that&apos;s required. `tmux new -c &lt;cwd&gt;` requires tmux &gt;= 1.9.

The version of Tmux is being checked in one class (TmuxRunning, which requires it for a particular pane command) but not in the others (TmuxNewWindow and Tmux). With this change, all of these classes require Tmux &gt;=1.9.

(I&apos;ve opened a ticket with my sysadmins to try to get Tmux upgraded, as these are both ancient versions... Tmux 1.9 is from February 2014, and Tmux 1.8 is from March 2013.  But it&apos;s still a bug in OE-Core that it executes this command without checking the version of Tmux, or otherwise conveying this requirement to the user.)

The other classes that use `tmux new -c` should check the version of Tmux. If it&apos;s &lt;1.9, they should either error or they should run Tmux without the `-c &lt;cwd&gt;`, as they did before.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89900</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-04-08 14:38:09 +0000</bug_when>
    <thetext>Are you able to submit a patch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89973</commentid>
    <comment_count>2</comment_count>
    <who name="Peter Budny">pbbudny</who>
    <bug_when>2021-04-16 17:04:11 +0000</bug_when>
    <thetext>The patch turned out to be pretty easy. I&apos;ve sent it to the oe-core mailing list (which I see someone has already noticed).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89977</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-04-16 23:44:54 +0000</bug_when>
    <thetext>That&apos;s great, thanks so much Peter! ../Randy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90063</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-04-22 15:21:18 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=16aeb6e94ff56619b7077ebaa4940f02c6e8747a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>