From ulrich.sibiller@gmail.com Mon Aug 1 18:40:18 2016 Received: (at submit) by bugs.x2go.org; 1 Aug 2016 16:40:20 +0000 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.8 required=3.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id A282C5DDF5 for ; Mon, 1 Aug 2016 18:40:18 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hfp2smnpwk3m for ; Mon, 1 Aug 2016 18:40:12 +0200 (CEST) Received: from mail-ua0-f174.google.com (mail-ua0-f174.google.com [209.85.217.174]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 9E4845DDCB for ; Mon, 1 Aug 2016 18:40:11 +0200 (CEST) Received: by mail-ua0-f174.google.com with SMTP id l32so110264490ual.2 for ; Mon, 01 Aug 2016 09:40:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=cSMJ730nh6pbSArGen1y5eP9BddVS+cqbP+bSyLeu5o=; b=NG/Ka6f00gap9r68DMJdYE5TXbRR/BFN/0TULvWWTl4EMwjmIc+HCrbvAILAr+d1Hn x+E8EB3mcaZyHE/z2ZHqaU1ecjgn04E0sWmaIe2Y8wVwbI1mHLsUficiepQ2MI9ETP7G 2SfTWqC74GgzLjc2Olqg12tEJkbdBsapRUn8Kw+lJiyOuVXCk2EOdUp0TWE7uleCEr0V Yd8JkfyZ5SJ6+rOePP9ZSHA9m7aonTuGbVZY6RJOFISUC0SQLpJMdlJl2wVloCVZXaxI oR3Gyad/lHzFDK+3BPJzUB3725ggX6NCTaBzI+efqhOqzrUyEnw0Q2nmsQgbAXDoCOO8 +Olg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=cSMJ730nh6pbSArGen1y5eP9BddVS+cqbP+bSyLeu5o=; b=FKn8EmYVUJXe86O/VxurWsiYo7tVxr/zPjmBD/Q073Szz+KR5gDWY3Yffm53/0cxPd cIcOtbBKMzX3jiw/PEY2FZQfbRSSuMdgZQRzJ7Kf5fY+iGpe6cDZ9avyG0BFLXpo7u7c m9DlXSx3QZrIyrQ4PH9eDww7EZvqkeXH37P/3tLQFhZ37zYcaNuGvXXCIkgDCSkKI6nM Kfex44CWSPYcThBMdPFUWDQyYYFMquwqbD/eQkRL2kCzI6QAN5v+rwNr+vJtZLx3M0U9 N/CBoVPVfFxlapiLl9IYHkUQAUZF2XGFGyV0J880aPz+KEeYkjmlXuHbV5nxIpad5tCl 5y0w== X-Gm-Message-State: AEkooutwVjOUs4WYPO5b3NUyeQP/u/6XZer/F1O8wAu44LA5htRBw+GaGmSE/MRbEUmdmwKYcSkeiDH8UqmEtg== X-Received: by 10.159.37.181 with SMTP id 50mr26492521uaf.68.1470069610192; Mon, 01 Aug 2016 09:40:10 -0700 (PDT) MIME-Version: 1.0 Sender: ulrich.sibiller@gmail.com Received: by 10.103.153.6 with HTTP; Mon, 1 Aug 2016 09:39:49 -0700 (PDT) From: Ulrich Sibiller Date: Mon, 1 Aug 2016 18:39:49 +0200 X-Google-Sender-Auth: 3FdME1nlnohyPv3DHBG5dr_Ats4 Message-ID: Subject: x2gocleansessions --help does not clean up To: submit@bugs.x2go.org Content-Type: text/plain; charset=UTF-8 Package: x2goserver Version: 4.1.0.0-0~1347~ubuntu14.04.1 running /usr/sbin/x2gocleansessions --help as root leads to an "Unknown option: help" output. Afterwards the x2gocleansessions process is still lingering around forever: # ps wwwaux | grep -- --help root 17209 0.1 0.1 70128 13344 pts/2 S 18:35 0:00 /usr/bin/perl /usr/sbin/x2gocleansessions --help root 18633 0.0 0.0 17708 2328 pts/2 S+ 18:39 0:00 grep --color=auto -- --help From x2go@ymir.das-netzwerkteam.de Sun Aug 7 20:26:34 2016 Received: (at 1065) by bugs.x2go.org; 7 Aug 2016 18:26:43 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable version=3.3.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 25A685DE09; Sun, 7 Aug 2016 20:26:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NVqVbTPpwjIZ; Sun, 7 Aug 2016 20:26:27 +0200 (CEST) Received: by ymir.das-netzwerkteam.de (Postfix, from userid 1005) id CEA855DDCB; Sun, 7 Aug 2016 20:26:26 +0200 (CEST) From: Mihai Moldovan To: 1065-submitter@bugs.x2go.org Cc: control@bugs.x2go.org, 1065@bugs.x2go.org Subject: X2Go issue (in src:x2goserver) has been marked as pending for release Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer: http://snipr.com/post-receive-tag-pending Message-Id: <20160807182626.CEA855DDCB@ymir.das-netzwerkteam.de> Date: Sun, 7 Aug 2016 20:26:26 +0200 (CEST) tag #1065 pending fixed #1065 4.0.1.20 thanks Hello, X2Go issue #1065 (src:x2goserver) reported by you has been fixed in X2Go Git. You can see the changelog below, and you can check the diff of the fix at: http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=39e369d The issue will most likely be fixed in src:x2goserver (4.0.1.20). light+love X2Go Git Admin (on behalf of the sender of this mail) --- commit 39e369dd08ba3e25263a51fdb230e7e88a13520b Author: Mihai Moldovan Date: Sun Aug 7 20:06:53 2016 +0200 x2goserver/sbin/x2gocleansessions: add Perl documentation and --help, -h, -? and --man options. Fixes: #1065. Also print a usage message on unknown options. diff --git a/debian/changelog b/debian/changelog index c0635e1..a477aaa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -82,6 +82,9 @@ x2goserver (4.0.1.20-0x2go1) UNRELEASED; urgency=low OpenSSH server versions seem to disable the Blowfish cipher by default, leading to errors like "Connection reset by peer." - x2goserver/bin/x2goruncommand: whitespace only. + - x2goserver/sbin/x2gocleansessions: add Perl documentation and --help, + -h, -? and --man options. Fixes: #1065. Also print a usage message on + unknown options. * x2goserver.spec: - Add sudo and logcheck as BuildRequires and Requires. Don't own directories that are owned by sudo and logcheck. Logcheck is not From x2go@ymir.das-netzwerkteam.de Sun Nov 20 18:14:52 2016 Received: (at 1065) by bugs.x2go.org; 20 Nov 2016 17:14:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.3 required=3.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_PAST_03_06 autolearn=no version=3.3.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 04C785DA98; Sun, 20 Nov 2016 18:14:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5NldstaxU-gk; Sun, 20 Nov 2016 18:14:44 +0100 (CET) Received: by ymir.das-netzwerkteam.de (Postfix, from userid 1005) id BAD44408BC; Sun, 20 Nov 2016 12:43:00 +0100 (CET) From: X2Go Release Manager To: 1065-submitter@bugs.x2go.org Cc: control@bugs.x2go.org, 1065@bugs.x2go.org Subject: X2Go issue (in src:x2goserver) has been marked as closed Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Message-Id: <20161120114300.BAD44408BC@ymir.das-netzwerkteam.de> Date: Sun, 20 Nov 2016 12:43:00 +0100 (CET) close #1065 thanks Hello, we are very hopeful that X2Go issue #1065 reported by you has been resolved in the new release (4.0.1.20) of the X2Go source project »src:x2goserver«. You can view the complete changelog entry of src:x2goserver (4.0.1.20) below, and you can use the following link to view all the code changes between this and the last release of src:x2goserver. http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=71e1e82d82acc718da71301d2fbd67eb0a71ad44;hp=8a494e794402c1b124d861893d649726a9016eb7 If you feel that the issue has not been resolved satisfyingly, feel free to reopen this bug report or submit a follow-up report with further observations described based on the new released version of src:x2goserver. Thanks a lot for contributing to X2Go!!! light+love X2Go Git Admin (on behalf of the sender of this mail) --- X2Go Component: src:x2goserver Version: 4.0.1.20-0x2go1 Status: RELEASE Date: Sun, 20 Nov 2016 12:39:36 +0100 Fixes: 799 812 888 889 903 922 923 985 1065 1068 1073 Changes: x2goserver (4.0.1.20-0x2go1) RELEASED; urgency=low . [ Mike DePaulo ] * New upstream version (4.0.1.20): - TERMINAL Session: Add support for qterminal (Lightweight terminal emulator written in Qt) - TRINITY: Add support for Q4OS . [ Mihai Moldovan ] * New upstream version (4.0.1.20): - x2goserver/bin/x2gogetapps: respect NoDisplay and Hidden values, don't parse the full desktop file if there are non-Desktop Entries groups. Based on a patch submitted by Jason Alavaliant. Fixes: #812. - x2goserver/bin/x2gogetapps: do not print spurious newlines. - Change string "X2go" to "X2Go" where appropriate. - Add runcommand.d hooks to x2goserver-extensions Makefile. - x2goserver/bin/x2gosessionlimit: don't iterate over the whole groups file. Only check the primary and secondary groups as returned by getgid()/getgroups(). Fixes long delays in session startup on machines with a gazillion of groups. - x2goserver/sbin/x2gocleansessions: re-fetch the current sessions' status before handling it. Using the "cached" value from the initial x2golistsessions run may be desynchronized with the actual current value. Avoids a race condition logging users out after they attached to a session. - x2goserver/sbin/x2gocleansessions: rename %remembered_sessions_since to %remembered_sessions_status_since. That's what it really is. Add comments to further clarify what it's actually doing. Change it to include a timestamp instead of the "iteration count multiplied by two" value. Compare timestamps to see if killing hanging nxagent processes is necessary. - x2goserver/sbin/x2gocleansessions: rename %remembered_sessions_status_since to %remembered_sessions_status_since_time. Add %remembered_sessions_status_since_iterations that will come in handy for the next change. - x2goserver/sbin/x2gocleansessions: give suspended-but-running sessions a grace period of one iteration. Fixes: #888. - x2goserver/sbin/x2gocleansessions: fix ugly missing whitespace. - x2goserver/sbin/x2gocleansessions: move up session status sync a bit, don't update session state when session has been removed from the database. - x2goserver/sbin/x2gocleansessions: unify log messages. Move dangling line around. - x2goserver/sbin/x2gocleansessions: whitespace only. - x2goserver/sbin/x2gocleansessions: also delete entries in the other, overlooked hashes. - x2goserver/sbin/x2gocleansessions: move socket and lock file cleanup into time-based block for finished/failed sessions. - x2goserver/sbin/x2gocleansessions: add @remembered_finished_sessions array. Merge with session list as queried from the database (won't include finished/failed sessions) and remember F-state sessions via this array. Only delete elements once work on these has been finished. - x2goserver/sbin/x2gocleansessions: don't add failed/finished sessions to remembered list if that list already includes them. - x2goserver/sbin/x2gocleansessions: don't use gmtime (time ()) but merely time (). The former one returns a formatted date-time string, which can't be checked by forming a difference. The latter one returns an UNIX timestamp, which is what we really want... minus leap seconds. Let's hope this doesn't bite back some time or later... - x2goserver/sbin/x2gocleansessions: add debugging output to show the state change when updating the cached state result. - x2goserver/sbin/x2gocleansessions: only output status refreshing debug message if the old and new states actually differ. Prevents log spam. - x2goserver/bin/x2gostartagent: changes to Robert Nowotny's SSH_PORT patch. Fixes: #922. Use default outgoing interface to determine IP address. Use the whole range of ${RANDOM}'s pool. Seed it for good measure. Change the default method to randomization instead of IP-based initialization. If IP-based initialization was requested but the default outgoing IP address unavailable, fall back to randomization. - x2goserver/bin/x2goruncommand: whitespace and comment changes only. - x2goserver/bin/x2gocleansessions: replace system_capture_stdout_output() with actual implementation. We don't have that function on the release branch. - x2goserver-xsession/etc/Xsession: use /bin/bash explicitly on RedHat-, Gentoo- and SuSE-based systems. Users might change /bin/sh to point to a shell like mksh or dash, which do not support the -l or -c flags to exec. C.f., BGO #575022 (Gentoo.) - x2goserver/bin/x2gomountdirs: remove blowfish Cipher spec hardcoded for sshfs mounts. The speed improvement is probably mostly an illusion (unless talking about high-bandwidth links) and more importantly recent OpenSSH server versions seem to disable the Blowfish cipher by default, leading to errors like "Connection reset by peer." - x2goserver/bin/x2goruncommand: whitespace only. - x2goserver/sbin/x2gocleansessions: add Perl documentation and --help, -h, -? and --man options. Fixes: #1065. Also print a usage message on unknown options. - x2goserver/man/man8/x2gocleansessions.8: drop obsolete man page. - x2goserver-xsession/etc/Xsession: fix uname calls when (potentially) creating session log/error file and add uname call where necessary. - x2goserver-xsession/etc/Xsession: include hostname in xsession-x2go-errors file name. Part of #923. - x2goserver-xsession/etc/Xsession: rotate old log/error file before appending new data. Fixes: #923. - x2goserver-xsession/etc/Xsession: fix wrong variable usage. Fixes: #1073. - x2goserver/sbin/x2gocleansessions: move in-file POD to end of file, rather than "commenting" out all the remaining code. Fixes: #1068. - x2goserver/sbin/x2godbadmin: exit earlier when not finding the required "x2gouser" user. * x2goserver.spec: - Add sudo and logcheck as BuildRequires and Requires. Don't own directories that are owned by sudo and logcheck. Logcheck is not available on *SUSE, FC < 20 and RHEL, so for those distros still own the directories. - Typo fix in comment: Recommands -> Recommends. - Fix installation on OpenSUSE 12.3 and higher: has replaced pwdutils with shadow. Also affects SLE{S,D} 12. - Add workaround documentation for sudoers on *SUSE 11. - Add shadow/shadow-utils/pwdutils Requires to x2goserver-printing sub package. - Add new dependency on bash. - Add new dependency on xkeyboard-config to x2goserver. Fixes: #903. - Add new dependency on perl and the Cwd module to x2goserver-xsession. Part of #923. * debian/control: - Add new dependency on bash. - Add new dependency on xkb-data to x2goserver. - Maintainer change in package: X2Go Developers . - Uploaders: add myself. Also, force a rebuild due to the changed versioning. - Add new dependency on perl-modules for Cwd. Part of #923. . [ Henning Heinold ] * New upstream version (4.0.1.20): - x2goserver/sbin/x2godbadmin: remove trailing whitespace. - x2goserver/sbin/x2godbadmin: revoke all PRIVILEGES before trying to delete a user on postgres. Fixes: #889. . [ Mike Gabriel ] * debian/x2goserver.preinst: + Use proper comment header explaining about preinst script argument calls (not postinst). . [ Robert Nowotny ] * New upstream version (4.0.1.20): - x2goserver/bin/x2gostartagent: original patch for SSH_PORT randomization/IP-based initialization. Submitted as #922. . [ Stefan Baur ] * New upstream version (4.0.1.20): - x2goserver/bin/x2goruncommand: add the other trinity launcher scripts in order from newest to oldest. Fixes: #985. . [ Tor Perkins ] * New upstream version (4.0.1.20): - x2goserver/bin/x2goruncommand: capture x2goruncommand debug output for x2gofeature X2GO_XSESSION. . [ Orion Poplawski ] * New upstream version (4.0.1.20): - x2goserver/bin/x2golistdesktops: drop -u parameter to ss. Fixes: #799. We would filter out UDP sockets later anyway and the combination -lxu is known to be broken with some versions of iproute2. From unknown Fri Mar 29 00:48:26 2024 MIME-Version: 1.0 X-Mailer: MIME-tools 5.502 (Entity 5.502) X-Loop: owner@bugs.x2go.org From: owner@bugs.x2go.org (X2Go Bug Tracking System) Subject: Bug#1065 closed by X2Go Release Manager (X2Go issue (in src:x2goserver) has been marked as closed) Message-ID: References: <20161120114300.BAD44408BC@ymir.das-netzwerkteam.de> X-X2go-PR-Keywords: pending X-X2go-PR-Message: they-closed 1065 X-X2go-PR-Package: x2goserver X-X2go-PR-Source: x2goserver Date: Sun, 20 Nov 2016 17:20:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1479662401-5726-0" This is a multi-part message in MIME format... ------------=_1479662401-5726-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 This is an automatic notification regarding your Bug report which was filed against the x2goserver package: #1065: x2gocleansessions --help does not clean up It has been closed by X2Go Release Manager . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact X2Go Release Manager <= git-admin@x2go.org> by replying to this email. --=20 X2Go Bug Tracking System Contact owner@bugs.x2go.org with problems ------------=_1479662401-5726-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at control) by bugs.x2go.org; 20 Nov 2016 17:15:09 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.3 required=3.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_PAST_03_06 autolearn=no version=3.3.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 04C785DA98; Sun, 20 Nov 2016 18:14:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5NldstaxU-gk; Sun, 20 Nov 2016 18:14:44 +0100 (CET) Received: by ymir.das-netzwerkteam.de (Postfix, from userid 1005) id BAD44408BC; Sun, 20 Nov 2016 12:43:00 +0100 (CET) From: X2Go Release Manager To: 1065-submitter@bugs.x2go.org Cc: control@bugs.x2go.org, 1065@bugs.x2go.org Subject: X2Go issue (in src:x2goserver) has been marked as closed Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Message-Id: <20161120114300.BAD44408BC@ymir.das-netzwerkteam.de> Date: Sun, 20 Nov 2016 12:43:00 +0100 (CET) close #1065 thanks Hello, we are very hopeful that X2Go issue #1065 reported by you has been resolved in the new release (4.0.1.20) of the X2Go source project »src:x2goserver«. You can view the complete changelog entry of src:x2goserver (4.0.1.20) below, and you can use the following link to view all the code changes between this and the last release of src:x2goserver. http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=71e1e82d82acc718da71301d2fbd67eb0a71ad44;hp=8a494e794402c1b124d861893d649726a9016eb7 If you feel that the issue has not been resolved satisfyingly, feel free to reopen this bug report or submit a follow-up report with further observations described based on the new released version of src:x2goserver. Thanks a lot for contributing to X2Go!!! light+love X2Go Git Admin (on behalf of the sender of this mail) --- X2Go Component: src:x2goserver Version: 4.0.1.20-0x2go1 Status: RELEASE Date: Sun, 20 Nov 2016 12:39:36 +0100 Fixes: 799 812 888 889 903 922 923 985 1065 1068 1073 Changes: x2goserver (4.0.1.20-0x2go1) RELEASED; urgency=low . [ Mike DePaulo ] * New upstream version (4.0.1.20): - TERMINAL Session: Add support for qterminal (Lightweight terminal emulator written in Qt) - TRINITY: Add support for Q4OS . [ Mihai Moldovan ] * New upstream version (4.0.1.20): - x2goserver/bin/x2gogetapps: respect NoDisplay and Hidden values, don't parse the full desktop file if there are non-Desktop Entries groups. Based on a patch submitted by Jason Alavaliant. Fixes: #812. - x2goserver/bin/x2gogetapps: do not print spurious newlines. - Change string "X2go" to "X2Go" where appropriate. - Add runcommand.d hooks to x2goserver-extensions Makefile. - x2goserver/bin/x2gosessionlimit: don't iterate over the whole groups file. Only check the primary and secondary groups as returned by getgid()/getgroups(). Fixes long delays in session startup on machines with a gazillion of groups. - x2goserver/sbin/x2gocleansessions: re-fetch the current sessions' status before handling it. Using the "cached" value from the initial x2golistsessions run may be desynchronized with the actual current value. Avoids a race condition logging users out after they attached to a session. - x2goserver/sbin/x2gocleansessions: rename %remembered_sessions_since to %remembered_sessions_status_since. That's what it really is. Add comments to further clarify what it's actually doing. Change it to include a timestamp instead of the "iteration count multiplied by two" value. Compare timestamps to see if killing hanging nxagent processes is necessary. - x2goserver/sbin/x2gocleansessions: rename %remembered_sessions_status_since to %remembered_sessions_status_since_time. Add %remembered_sessions_status_since_iterations that will come in handy for the next change. - x2goserver/sbin/x2gocleansessions: give suspended-but-running sessions a grace period of one iteration. Fixes: #888. - x2goserver/sbin/x2gocleansessions: fix ugly missing whitespace. - x2goserver/sbin/x2gocleansessions: move up session status sync a bit, don't update session state when session has been removed from the database. - x2goserver/sbin/x2gocleansessions: unify log messages. Move dangling line around. - x2goserver/sbin/x2gocleansessions: whitespace only. - x2goserver/sbin/x2gocleansessions: also delete entries in the other, overlooked hashes. - x2goserver/sbin/x2gocleansessions: move socket and lock file cleanup into time-based block for finished/failed sessions. - x2goserver/sbin/x2gocleansessions: add @remembered_finished_sessions array. Merge with session list as queried from the database (won't include finished/failed sessions) and remember F-state sessions via this array. Only delete elements once work on these has been finished. - x2goserver/sbin/x2gocleansessions: don't add failed/finished sessions to remembered list if that list already includes them. - x2goserver/sbin/x2gocleansessions: don't use gmtime (time ()) but merely time (). The former one returns a formatted date-time string, which can't be checked by forming a difference. The latter one returns an UNIX timestamp, which is what we really want... minus leap seconds. Let's hope this doesn't bite back some time or later... - x2goserver/sbin/x2gocleansessions: add debugging output to show the state change when updating the cached state result. - x2goserver/sbin/x2gocleansessions: only output status refreshing debug message if the old and new states actually differ. Prevents log spam. - x2goserver/bin/x2gostartagent: changes to Robert Nowotny's SSH_PORT patch. Fixes: #922. Use default outgoing interface to determine IP address. Use the whole range of ${RANDOM}'s pool. Seed it for good measure. Change the default method to randomization instead of IP-based initialization. If IP-based initialization was requested but the default outgoing IP address unavailable, fall back to randomization. - x2goserver/bin/x2goruncommand: whitespace and comment changes only. - x2goserver/bin/x2gocleansessions: replace system_capture_stdout_output() with actual implementation. We don't have that function on the release branch. - x2goserver-xsession/etc/Xsession: use /bin/bash explicitly on RedHat-, Gentoo- and SuSE-based systems. Users might change /bin/sh to point to a shell like mksh or dash, which do not support the -l or -c flags to exec. C.f., BGO #575022 (Gentoo.) - x2goserver/bin/x2gomountdirs: remove blowfish Cipher spec hardcoded for sshfs mounts. The speed improvement is probably mostly an illusion (unless talking about high-bandwidth links) and more importantly recent OpenSSH server versions seem to disable the Blowfish cipher by default, leading to errors like "Connection reset by peer." - x2goserver/bin/x2goruncommand: whitespace only. - x2goserver/sbin/x2gocleansessions: add Perl documentation and --help, -h, -? and --man options. Fixes: #1065. Also print a usage message on unknown options. - x2goserver/man/man8/x2gocleansessions.8: drop obsolete man page. - x2goserver-xsession/etc/Xsession: fix uname calls when (potentially) creating session log/error file and add uname call where necessary. - x2goserver-xsession/etc/Xsession: include hostname in xsession-x2go-errors file name. Part of #923. - x2goserver-xsession/etc/Xsession: rotate old log/error file before appending new data. Fixes: #923. - x2goserver-xsession/etc/Xsession: fix wrong variable usage. Fixes: #1073. - x2goserver/sbin/x2gocleansessions: move in-file POD to end of file, rather than "commenting" out all the remaining code. Fixes: #1068. - x2goserver/sbin/x2godbadmin: exit earlier when not finding the required "x2gouser" user. * x2goserver.spec: - Add sudo and logcheck as BuildRequires and Requires. Don't own directories that are owned by sudo and logcheck. Logcheck is not available on *SUSE, FC < 20 and RHEL, so for those distros still own the directories. - Typo fix in comment: Recommands -> Recommends. - Fix installation on OpenSUSE 12.3 and higher: has replaced pwdutils with shadow. Also affects SLE{S,D} 12. - Add workaround documentation for sudoers on *SUSE 11. - Add shadow/shadow-utils/pwdutils Requires to x2goserver-printing sub package. - Add new dependency on bash. - Add new dependency on xkeyboard-config to x2goserver. Fixes: #903. - Add new dependency on perl and the Cwd module to x2goserver-xsession. Part of #923. * debian/control: - Add new dependency on bash. - Add new dependency on xkb-data to x2goserver. - Maintainer change in package: X2Go Developers . - Uploaders: add myself. Also, force a rebuild due to the changed versioning. - Add new dependency on perl-modules for Cwd. Part of #923. . [ Henning Heinold ] * New upstream version (4.0.1.20): - x2goserver/sbin/x2godbadmin: remove trailing whitespace. - x2goserver/sbin/x2godbadmin: revoke all PRIVILEGES before trying to delete a user on postgres. Fixes: #889. . [ Mike Gabriel ] * debian/x2goserver.preinst: + Use proper comment header explaining about preinst script argument calls (not postinst). . [ Robert Nowotny ] * New upstream version (4.0.1.20): - x2goserver/bin/x2gostartagent: original patch for SSH_PORT randomization/IP-based initialization. Submitted as #922. . [ Stefan Baur ] * New upstream version (4.0.1.20): - x2goserver/bin/x2goruncommand: add the other trinity launcher scripts in order from newest to oldest. Fixes: #985. . [ Tor Perkins ] * New upstream version (4.0.1.20): - x2goserver/bin/x2goruncommand: capture x2goruncommand debug output for x2gofeature X2GO_XSESSION. . [ Orion Poplawski ] * New upstream version (4.0.1.20): - x2goserver/bin/x2golistdesktops: drop -u parameter to ss. Fixes: #799. We would filter out UDP sockets later anyway and the combination -lxu is known to be broken with some versions of iproute2. ------------=_1479662401-5726-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.x2go.org; 1 Aug 2016 16:40:20 +0000 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.8 required=3.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id A282C5DDF5 for ; Mon, 1 Aug 2016 18:40:18 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hfp2smnpwk3m for ; Mon, 1 Aug 2016 18:40:12 +0200 (CEST) Received: from mail-ua0-f174.google.com (mail-ua0-f174.google.com [209.85.217.174]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 9E4845DDCB for ; Mon, 1 Aug 2016 18:40:11 +0200 (CEST) Received: by mail-ua0-f174.google.com with SMTP id l32so110264490ual.2 for ; Mon, 01 Aug 2016 09:40:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=cSMJ730nh6pbSArGen1y5eP9BddVS+cqbP+bSyLeu5o=; b=NG/Ka6f00gap9r68DMJdYE5TXbRR/BFN/0TULvWWTl4EMwjmIc+HCrbvAILAr+d1Hn x+E8EB3mcaZyHE/z2ZHqaU1ecjgn04E0sWmaIe2Y8wVwbI1mHLsUficiepQ2MI9ETP7G 2SfTWqC74GgzLjc2Olqg12tEJkbdBsapRUn8Kw+lJiyOuVXCk2EOdUp0TWE7uleCEr0V Yd8JkfyZ5SJ6+rOePP9ZSHA9m7aonTuGbVZY6RJOFISUC0SQLpJMdlJl2wVloCVZXaxI oR3Gyad/lHzFDK+3BPJzUB3725ggX6NCTaBzI+efqhOqzrUyEnw0Q2nmsQgbAXDoCOO8 +Olg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=cSMJ730nh6pbSArGen1y5eP9BddVS+cqbP+bSyLeu5o=; b=FKn8EmYVUJXe86O/VxurWsiYo7tVxr/zPjmBD/Q073Szz+KR5gDWY3Yffm53/0cxPd cIcOtbBKMzX3jiw/PEY2FZQfbRSSuMdgZQRzJ7Kf5fY+iGpe6cDZ9avyG0BFLXpo7u7c m9DlXSx3QZrIyrQ4PH9eDww7EZvqkeXH37P/3tLQFhZ37zYcaNuGvXXCIkgDCSkKI6nM Kfex44CWSPYcThBMdPFUWDQyYYFMquwqbD/eQkRL2kCzI6QAN5v+rwNr+vJtZLx3M0U9 N/CBoVPVfFxlapiLl9IYHkUQAUZF2XGFGyV0J880aPz+KEeYkjmlXuHbV5nxIpad5tCl 5y0w== X-Gm-Message-State: AEkooutwVjOUs4WYPO5b3NUyeQP/u/6XZer/F1O8wAu44LA5htRBw+GaGmSE/MRbEUmdmwKYcSkeiDH8UqmEtg== X-Received: by 10.159.37.181 with SMTP id 50mr26492521uaf.68.1470069610192; Mon, 01 Aug 2016 09:40:10 -0700 (PDT) MIME-Version: 1.0 Sender: ulrich.sibiller@gmail.com Received: by 10.103.153.6 with HTTP; Mon, 1 Aug 2016 09:39:49 -0700 (PDT) From: Ulrich Sibiller Date: Mon, 1 Aug 2016 18:39:49 +0200 X-Google-Sender-Auth: 3FdME1nlnohyPv3DHBG5dr_Ats4 Message-ID: Subject: x2gocleansessions --help does not clean up To: submit@bugs.x2go.org Content-Type: text/plain; charset=UTF-8 Package: x2goserver Version: 4.1.0.0-0~1347~ubuntu14.04.1 running /usr/sbin/x2gocleansessions --help as root leads to an "Unknown option: help" output. Afterwards the x2gocleansessions process is still lingering around forever: # ps wwwaux | grep -- --help root 17209 0.1 0.1 70128 13344 pts/2 S 18:35 0:00 /usr/bin/perl /usr/sbin/x2gocleansessions --help root 18633 0.0 0.0 17708 2328 pts/2 S+ 18:39 0:00 grep --color=auto -- --help ------------=_1479662401-5726-0-- From unknown Fri Mar 29 00:48:26 2024 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@bugs.x2go.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Bug archived. Date: Mon, 19 Dec 2016 06:24:02 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # Bug archived. thanks # This fakemail brought to you by your local debbugs # administrator