[X2Go-Dev] Bug#172: Bug#172: x2gobroker-authservice creates logfiles that x2gobroker-daemon can not access

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Thu Apr 18 17:03:11 CEST 2013


tag #172 pending
fixed #172 0.0.1.1
thanks

Hi Anders,

On Mi 17 Apr 2013 15:03:38 CEST Anders Bruun Olsen wrote:

> 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.

This commit should draw a separation line between  
x2gobroker-authservice logging and the logging of the broker daemon:
http://code.x2go.org/gitweb?p=x2gobroker.git;a=commitdiff;h=620140e5cc38e3f84d014042f54c1235347c4923

Greets,
Mike


-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20130418/a133b367/attachment.pgp>


More information about the x2go-dev mailing list