From unknown Fri Mar 29 06:36:23 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#172 closed by tag@ymir, 0.0.1.1@ymir (X2Go issue #172 (src:x2gobroker) has been marked as closed) Message-ID: References: <20130423195621.ABD0A5DB28@ymir> X-X2go-PR-Keywords: pending X-X2go-PR-Message: they-closed 172 X-X2go-PR-Package: x2gobroker-authservice X-X2go-PR-Source: x2gobroker Date: Tue, 23 Apr 2013 19:57:37 +0000 Content-Type: multipart/mixed; boundary="----------=_1366747057-8664-0" This is a multi-part message in MIME format... ------------=_1366747057-8664-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 x2gobroker-authservice package: #172: x2gobroker-authservice creates logfiles that x2gobroker-daemon can no= t access It has been closed by tag@ymir, 0.0.1.1@ymir. 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 tag@ymir, 0.0.1.1@ymir= by replying to this email. --=20 X2Go Bug Tracking System Contact owner@bugs.x2go.org with problems ------------=_1366747057-8664-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at control) by bugs.x2go.org; 23 Apr 2013 19:56:54 +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.2 required=5.0 tests=FH_FROMEML_NOTLD,NO_RELAYS, URIBL_BLOCKED autolearn=no version=3.3.2 Received: by ymir (Postfix, from userid 1005) id ABD0A5DB28; Tue, 23 Apr 2013 21:56:21 +0200 (CEST) From: tag@ymir, 0.0.1.1@ymir To: 172-submitter@bugs.x2go.org Cc: control@bugs.x2go.org, 172@bugs.x2go.org Subject: X2Go issue #172 (src:x2gobroker) has been marked as closed Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Message-Id: <20130423195621.ABD0A5DB28@ymir> Date: Tue, 23 Apr 2013 21:56:21 +0200 (CEST) close #172 thanks Hello, we are very hopeful that X2Go issue #172 reported by you has been resolved in the new release (0.0.1.1) of the X2Go source project »src:x2gobroker«. You can view the complete changelog entry of src:x2gobroker (0.0.1.1) below, and you can use the following link to view all the code changes between this and the last release of src:x2gobroker. http://code.x2go.org/gitweb?p=x2gobroker.git;a=commitdiff;h=4085176be6f5895c931e34e6549ea9849e13ca0b;hp=7a77058f345af93356c9615df70c92644fa98549 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:x2gobroker. Thanks a lot for contributing to X2Go!!! light+love X2Go Git Admin (on behalf of sender of this mail) --- X2Go Component: src:x2gobroker Version: 0.0.1.1 Status: RELEASE Date: Tue, 23 Apr 2013 21:38:07 +0200 Fixes: 154 170 171 172 175 176 180 Changes: x2gobroker (0.0.1.1) RELEASED; urgency=low . * New upstream version (0.0.1.1): - Add WSGI support to X2Go Session Broker. Allows plugging into Apache2 by using the mod_wsgi module. - Add Apache2 configuration for WSGI support that shows how to setup a VirtualHost for X2Go Session Broker. - For sessions profiles with autologin enable, add a dummy key session profile parameter that triggers key based auth in X2Go Client. (Fixes: #154). - Fix hard-coded path to x2gobroker's authservice socket. - Separate logging logic of x2gobroker-authservice from the rest of the logging in x2gobroker. (Fixes: #172). - x2gobroker-pubkeyauthorizer: no logging-to-file support anymore. (Fixes: #175). - Fix name of get() method for /pubkeys/ URL path. (Fixes: #176). - Move AuthService server code fully into x2gobroker-authservice daemon script. - Add forgotten file: x2gobroker-authservice-logger.conf. (Fixes: #180). - Add script: x2gobroker-testauth. - Add enable()/disable() methods to broker backends. - Move complete authservice logic into x2gobroker-authservice script. - Add command and directrdp session profile parameters to defaults. - Fix wrong usage of session option »cmd«, has to be »command«. * /debian/control: + Fix --root parameter in DEB_PYTHON_INSTALL_ARGS. + Let bin:package x2gobroker-authservice depend on python-x2gobroker (of the same version). (Fixes: #170). * Properly remove the X2Go Session broker log files on package purgal. * Let bin:package x2gobroker-authservice create x2gouser:x2gouser, as well. (Fixes: #171). ------------=_1366747057-8664-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.x2go.org; 17 Apr 2013 13:03:46 +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.3 required=5.0 tests=HTML_MESSAGE, RCVD_IN_DNSWL_MED,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham version=3.3.2 Received: from eu1sys200aog110.obsmtp.com (eu1sys200aog110.obsmtp.com [207.126.144.129]) by ymir (Postfix) with SMTP id C37F05DB05 for ; Wed, 17 Apr 2013 15:03:45 +0200 (CEST) Received: from mail-ie0-f199.google.com ([209.85.223.199]) (using TLSv1) by eu1sys200aob110.postini.com ([207.126.147.11]) with SMTP ID DSNKUW6dsZptucZeuUimi1wzFqrNs0N9XlML@postini.com; Wed, 17 Apr 2013 13:03:45 UTC Received: by mail-ie0-f199.google.com with SMTP id x14so9355947ief.10 for ; Wed, 17 Apr 2013 06:03:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dsl.dk; s=google; h=x-received:mime-version:x-received:date:message-id:subject:from:to :content-type; bh=hvk5miqLjqKCs+ccXItfX/Szt+VepH8TIKNB+ohquAk=; b=OUktvG0LzTYV26la1xfnxZTGPKfzYbg/fRNqeTzdhC3kZtmjCWaCBU0DNPfvy+wIig 7mKAInu3i0AYNIe5U9C3vUgTfADUM5LiVS8mxAMBgmHvFJxqdxxp5jtwvRqyiZt0FFQp 27bRGgQ77gCJ9tRxHRnQw/X145XV/YUw8o108= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=hvk5miqLjqKCs+ccXItfX/Szt+VepH8TIKNB+ohquAk=; b=XJ5o491QkOxR/Y+t6KTQCvP1FVYaDBS4eqtY+8m71jAELINzNLefebVi4R8ga0BHY6 Llqe3PI6/xKP+Qqd6j+4ehgbiyboVnfcAL7JE9yYQCzxJwMWsmP0INCfXBRUPHsqWW+I GuEaoI9hMZgfCGikQ2rM2Wut8ovMVjR6TYbH4pK7TwWvEyN6OVKI9OjxQ7odESqvDuhh l3P7gagWaaNppplcMwM1sxPi1OYPiRxMMxchye9vGZnvWTVpjavyJ+faryVMM3iOWaFi rwtjxYr0frgqoEMIvKXWos+YtEiFGPrIb3V0pEPs4otr4wqAKOJVaVgvNMIyug945Fd6 2BnQ== X-Received: by 10.60.116.100 with SMTP id jv4mr2465457oeb.141.1366203818394; Wed, 17 Apr 2013 06:03:38 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.60.116.100 with SMTP id jv4mr2465451oeb.141.1366203818300; Wed, 17 Apr 2013 06:03:38 -0700 (PDT) Received: by 10.182.87.200 with HTTP; Wed, 17 Apr 2013 06:03:38 -0700 (PDT) Date: Wed, 17 Apr 2013 15:03:38 +0200 Message-ID: Subject: x2gobroker-authservice creates logfiles that x2gobroker-daemon can not access From: Anders Bruun Olsen To: submit@bugs.x2go.org Content-Type: multipart/alternative; boundary=089e0115f00047e47d04da8e1d1a X-Gm-Message-State: ALoCoQn7Tk6T+dUe/4bUDQIaTVKws81jPT8Y1Rk76ezNk2lt5XBsM24BUC9vJMe5amfrBJ6K6qQ6lgejf2s55XgFep6Q9UZ4osNbw4o1qBgvqd9/9tPk6els6Y3y1mAoVYqwqtSis2cB1iljtlYxyGJCu0HrIa5hjA== --089e0115f00047e47d04da8e1d1a Content-Type: text/plain; charset=UTF-8 Package: x2gobroker-authservice Version: 0.0.1.0-0~334~precise1 When x2gobroker-authservice starts, it creates four files in /var/log/x2gobroker: access.log, authservice.log, broker.log and error.log (if they do not already exist). Because x2gobroker-authservice is running as root, these files will be owned by root and have permission mode 644. This makes them unwriteable to anybody but root. When x2gobroker-daemon starts it will attempt to open at least /var/log/x2gobroker/broker.log, but since x2gobroker-daemon runs as the user x2gobroker, it can't open that file in write-mode. This makes the daemon exit without any error messages when started by the init-system. It might be best to make x2gobroker-authservice keep to it's own set of log-files to avoid this problem. A work-around is to chown ownership of the files to the user x2gobroker. -- Anders Bruun Olsen It-ansvarlig Det Danske Sprog- og Litteraturselskab (Society for Danish Language and Literature) --089e0115f00047e47d04da8e1d1a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Package: x2gobroker-authservice
Version:=C2=A00.0.1.0-= 0~334~precise1

When x2gobroker-authservice starts,= it creates four files in /var/log/x2gobroker: access.log, authservice.log,= broker.log and error.log (if they do not already exist). Because x2gobroke= r-authservice is running as root, these files will be owned by root and hav= e permission mode 644. This makes them unwriteable to anybody but root. Whe= n x2gobroker-daemon starts it will attempt to open at least /var/log/x2gobr= oker/broker.log, but since x2gobroker-daemon runs as the user x2gobroker, i= t can't open that file in write-mode. This makes the daemon exit withou= t any error messages when started by the init-system. It might be best to m= ake x2gobroker-authservice keep to it's own set of log-files to avoid t= his problem. A work-around is to chown ownership of the files to the user x= 2gobroker.

--
Anders Bruun Olsen
It-ansvarlig
Det Danske Spro= g- og Litteraturselskab
(Society for Danish Language and Literature)
--089e0115f00047e47d04da8e1d1a-- ------------=_1366747057-8664-0--