X2Go Bug report logs - #520
Wrong order of redirections in x2gomountdirs

version graph

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Andrzej Ostruszka <andrzej.ostruszka@gmail.com>

Date: Tue, 24 Jun 2014 13:20:01 UTC

Severity: normal

Tags: pending

Found in version 4.0.1.15-0x2go1+git20140615.847+wheezy.main.1

Fixed in version 4.0.1.16

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 24 Jun 2014 13:18:25 +0000
From andrzej.ostruszka@gmail.com  Tue Jun 24 15:18:21 2014
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM,
	T_DKIM_INVALID autolearn=ham version=3.3.2
Received: from mail-we0-f170.google.com (mail-we0-f170.google.com [74.125.82.170])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 985975DB51
	for <submit@bugs.x2go.org>; Tue, 24 Jun 2014 15:18:21 +0200 (CEST)
Received: by mail-we0-f170.google.com with SMTP id w61so339772wes.1
        for <submit@bugs.x2go.org>; Tue, 24 Jun 2014 06:18:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=message-id:date:from:user-agent:mime-version:to:subject
         :content-type;
        bh=qnCU0ckMLXhcOmVLnTbpuRdZUydgge/lr2ZVbWVhnyY=;
        b=rQTcivJhGgMDJaLsFIJC4vg+6a7wqw3rSa+P/mOktcDR0XPXJceZsLHsFOyD+HtkSE
         cUsEnpPuPqhdZ/v+ozoAy1F23s2ANOwSR2igcdN7jYKH/29pVR+bLYZ8/mi92nhGiTNi
         AUrlrt2PUuNvbqa0SKv3TfJzIHKl8cj2OEMhx4vvvLhI5EvfRlBq+RmDT63Uy26BTL82
         jMb4RuVW2/RsSy04LWm5mSbCexlWMcw1aeS8WS2IBC11Kzmcp3IMMQJw5pnPHixmSgTo
         VFD4fMNZ9DSNF3u70EDjgHS1ANVisK6K1ykqMYQ72PkVrgbmXgOrtVFLWOLSOggrQDsh
         f9TA==
X-Received: by 10.194.2.244 with SMTP id 20mr1422254wjx.26.1403615897226;
        Tue, 24 Jun 2014 06:18:17 -0700 (PDT)
Received: from [192.168.2.11] (net-93-159-137-200.connected.pl. [93.159.137.200])
        by mx.google.com with ESMTPSA id bp2sm1791307wib.9.2014.06.24.06.18.15
        for <submit@bugs.x2go.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Tue, 24 Jun 2014 06:18:16 -0700 (PDT)
Message-ID: <53A97A94.8040801@gmail.com>
Date: Tue, 24 Jun 2014 15:18:12 +0200
From: Andrzej Ostruszka <andrzej.ostruszka@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: submit@bugs.x2go.org
Subject: Wrong order of redirections in x2gomountdirs
Content-Type: multipart/mixed;
 boundary="------------040005050800020307080903"
[Message part 1 (text/plain, inline)]
Package: x2goserver
Version: 4.0.1.15-0x2go1+git20140615.847+wheezy.main.1
Tag: patch

The order of redirections in sshfs invocation (inside 
/usr/bin/x2gomountdirs) is incorrect.  Redirection of stderr should be 
after telling shell to append stdout to sshfs-mounts.log - otherwise log 
is missing errors from sshfs.

I needed this to debug and fix problems with mounting of spool dir on 
debian wheezy.

I'm attaching git patch against current master.

Best regards
Andrzej
[0001-Fix-the-order-of-redirection-in-sshfs-invocation.patch (text/x-patch, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 16:22:05 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.