X2Go Bug report logs - #172
x2gobroker-authservice creates logfiles that x2gobroker-daemon can not access

version graph

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

Reported by: Anders Bruun Olsen <abo@dsl.dk>

Date: Wed, 17 Apr 2013 13:18:01 UTC

Severity: normal

Tags: pending

Found in version

Fixed in version

Done: tag@ymir,

Bug is archived. No further changes may be made.

Full log

🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#172: x2gobroker-authservice creates logfiles that x2gobroker-daemon can not access
Reply-To: Anders Bruun Olsen <abo@dsl.dk>, 172@bugs.x2go.org
Resent-From: Anders Bruun Olsen <abo@dsl.dk>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: owner@bugs.x2go.org
Resent-Date: Wed, 17 Apr 2013 13:18:01 +0000
Resent-Message-ID: <handler.172.B.1366203826986@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 172
X-X2Go-PR-Package: x2gobroker-authservice
Received: via spool by submit@bugs.x2go.org id=B.1366203826986
          (code B); Wed, 17 Apr 2013 13:18:01 +0000
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
X-Spam-Status: No, score=-2.3 required=5.0 tests=HTML_MESSAGE,
Received: from eu1sys200aog110.obsmtp.com (eu1sys200aog110.obsmtp.com [])
	by ymir (Postfix) with SMTP id C37F05DB05
	for <submit@bugs.x2go.org>; Wed, 17 Apr 2013 15:03:45 +0200 (CEST)
Received: from mail-ie0-f199.google.com ([]) (using TLSv1) by eu1sys200aob110.postini.com ([]) 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 <submit@bugs.x2go.org>; Wed, 17 Apr 2013 06:03:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=dsl.dk; s=google;
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=google.com; s=20120113;
X-Received: by with SMTP id jv4mr2465457oeb.141.1366203818394;
        Wed, 17 Apr 2013 06:03:38 -0700 (PDT)
MIME-Version: 1.0
X-Received: by with SMTP id jv4mr2465451oeb.141.1366203818300;
 Wed, 17 Apr 2013 06:03:38 -0700 (PDT)
Received: by with HTTP; Wed, 17 Apr 2013 06:03:38 -0700 (PDT)
Date: Wed, 17 Apr 2013 15:03:38 +0200
Message-ID: <CAFJm-UPyT2eX42txYRtHVHr6uKjjvcWDAH=mRfr9Wi5bNXJ=og@mail.gmail.com>
From: Anders Bruun Olsen <abo@dsl.dk>
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary=089e0115f00047e47d04da8e1d1a
X-Gm-Message-State: ALoCoQn7Tk6T+dUe/4bUDQIaTVKws81jPT8Y1Rk76ezNk2lt5XBsM24BUC9vJMe5amfrBJ6K6qQ6lgejf2s55XgFep6Q9UZ4osNbw4o1qBgvqd9/9tPk6els6Y3y1mAoVYqwqtSis2cB1iljtlYxyGJCu0HrIa5hjA==
[Message part 1 (text/plain, inline)]
Package: x2gobroker-authservice

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

Anders Bruun Olsen
Det Danske Sprog- og Litteraturselskab
(Society for Danish Language and Literature)
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Feb 25 09:41:31 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.