From unknown Mon May 25 05:38:29 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#380: Provide support for systemd
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 380@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: owner@bugs.x2go.org
Resent-Date: Sat, 21 Dec 2013 21:25:02 +0000
Resent-Message-ID: <handler.380.B.138766082628818@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 380
X-X2Go-PR-Package: x2gobroker-authservice
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.138766082628818
          (code B); Sat, 21 Dec 2013 21:25:02 +0000
Received: (at submit) by bugs.x2go.org; 21 Dec 2013 21:20:26 +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.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id DA5845DB13
	for <submit@bugs.x2go.org>; Sat, 21 Dec 2013 22:20:25 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 9772FC8
	for <submit@bugs.x2go.org>; Sat, 21 Dec 2013 22:20:25 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 8D0A83C062
	for <submit@bugs.x2go.org>; Sat, 21 Dec 2013 22:20:25 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id XEvKShr-5M16 for <submit@bugs.x2go.org>;
	Sat, 21 Dec 2013 22:20:25 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPSA id 6AD953C038
	for <submit@bugs.x2go.org>; Sat, 21 Dec 2013 22:20:25 +0100 (CET)
Received: from p4FE5F50D.dip0.t-ipconnect.de (p4FE5F50D.dip0.t-ipconnect.de
 [79.229.245.13]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Sat, 21 Dec 2013 21:20:25 +0000
Date: Sat, 21 Dec 2013 21:20:25 +0000
Message-ID: <20131221212025.Horde.in1R1vKp2QptTS3tJAS6UQ1@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
User-Agent: Internet Messaging Program (IMP) H5 (6.1.4)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 79.229.245.13
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101
 Firefox/23.0 Iceweasel/23.0
Content-Type: multipart/signed; boundary="=_wer7ooaJfjLOEvNIQCb2Wg6";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0

This message is in MIME format and has been PGP signed.

--=_wer7ooaJfjLOEvNIQCb2Wg6
Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes
Content-Disposition: inline

Package: x2gobroker-authservice
Severity: important

For easy use of x2gobroker-authservice with systemd, we need:

   o a service file (easy!)
   o a way to configure x2gobroker-authservice without  
/etc/default/{python-x2gobroker,x2gobroker-authservice}

The latter aspect is a little complex. Recommended approaches are  
drawn at [1].

For x2gobroker-authservice my suggestions is: provide a config file  
/etc/x2go/x2gobroker-authservice.conf in inifile format that gets  
parsed by /usr/sbin/x2gobroker-authservice. Environment variables have  
precedence over inifile options have precedence over the system  
defaults.

Mike

[1] http://0pointer.de/blog/projects/on-etc-sysinit.html
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

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

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

--=_wer7ooaJfjLOEvNIQCb2Wg6
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQIcBAABAgAGBQJStgYZAAoJEJr0azAldxsxhjEP/3fKSscw2pwk/d8iFG7Nd7TC
VrPxVm2Tmkvj9OI0M2KKqze8kNdeAt5CQLeIkhgMLUh8JpOhqHeALjMXkp8fLlo6
7n8A+0UL+KUQO4bDPH05wWIqa3WOlTF2+O+yxtTiwDi7Tfk3gCNb0ELcPvrNdSs1
jan2UlxOc1DzEnioWl9SlIr3ou9quWDsawMxBhz4xLm+jC8BvAVmwsqPUaCxojAL
1b/rZLplznID7QlL0viKY3BJ9QIoDwAt5ffWvEB0sfq/lm2W49ZsaxP7mZ9gTs67
BqfrXTx6VVS/DgJKxjn063Kltmg+49olVPLHyvIjzb4hrbfwRTStLPnyQvq/2HMc
1lyQj+1NimtuolSQ1Ja8UbMVtO4k7x59cW2XKrXzCg3pGgSe8wV1c8sgcIHLng4P
Fqa+bsJsSRzdt9EtV66IkPf+gfP+BOqgMhcSY1PMF29k1GMAVBTofPRRKM465fho
awY2Y9u/63PmjTnFtD3NuuXbeLYUZBpHZ9tyr9k9eG5Kthk4u6nC9B0VkFwORxgy
LcF7fVn6LHytTLQS4Z7ZSIXoECxeanFbyPA9bLGqSHx4jRUd42kDmRrHhh7hSf82
Cp0LpEGT075eXt3z2QQtxwkTBv1O26NcmLyHaKFYb06j0rp7ScUsVPIcOvEKySZy
qL8lee4XejS7rKepiUfg
=9nFZ
-----END PGP SIGNATURE-----

--=_wer7ooaJfjLOEvNIQCb2Wg6--
