From unknown Wed Mar 11 22:46:19 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#1068: x2goserver: Restart of x2goserver fails after upgrade because of misconfiguration in service-file
Reply-To: ckumke@kumke.net, 1068@bugs.x2go.org
Resent-From: Carsten Kumke <ckumke@kumke.net>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Mon, 08 Aug 2016 11:20:02 +0000
Resent-Message-ID: <handler.1068.B.147065516928253@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1068
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.147065516928253
          (code B); Mon, 08 Aug 2016 11:20:02 +0000
Received: (at submit) by bugs.x2go.org; 8 Aug 2016 11:19:29 +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,HTML_MESSAGE
	autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 3725C5DDCB
	for <submit@bugs.x2go.org>; Mon,  8 Aug 2016 13:19:27 +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 IQg0+4Urpq9o for <submit@bugs.x2go.org>;
	Mon,  8 Aug 2016 13:19:20 +0200 (CEST)
X-Greylist: delayed 355 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Mon, 08 Aug 2016 13:19:20 CEST
Received: from mxout01.bytecamp.net (mxout01.bytecamp.net [212.204.60.217])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 944AE5DB7E
	for <submit@bugs.x2go.org>; Mon,  8 Aug 2016 13:19:20 +0200 (CEST)
Received: by mxout01.bytecamp.net (Postfix, from userid 1001)
	id 035DE30FD17; Mon,  8 Aug 2016 13:13:25 +0200 (CEST)
Received: from mail.bytecamp.net (mailstore.bytecamp.net [212.204.60.20])
	by mxout01.bytecamp.net (Postfix) with ESMTP id BFB5730FD13
	for <submit@bugs.x2go.org>; Mon,  8 Aug 2016 13:13:24 +0200 (CEST)
Received: (qmail 58166 invoked by uid 89); 8 Aug 2016 13:13:24 +0200
Received: from p5ddb7fd0.dip0.t-ipconnect.de (HELO nakaznyj.fritz.box) (carsten%kumke.net@93.219.127.208)
  by mail.bytecamp.net with SMTP; 8 Aug 2016 13:13:24 +0200
Message-ID: <1470654804.5352.8.camel@kumke.net>
From: Carsten Kumke <ckumke@kumke.net>
To: submit@bugs.x2go.org
Date: Mon, 08 Aug 2016 13:13:24 +0200
Content-Type: multipart/alternative; boundary="=-jCXPomoSj9X+Q+0fmICV"
X-Mailer: Evolution 3.20.4-1 
Mime-Version: 1.0


--=-jCXPomoSj9X+Q+0fmICV
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit

Package: x2goserver
Version: 4.1.0.0-0x2go1.2~git20160807.1349+9.heuler.1
Severity: normal

Dear Maintainer,

I just upgraded x2goserver packages to 4.1.0.0-
0x2go1.2~git20160807.1349+9.heuler.1 on two systems. The installation
procedure ends up  on both machines  with a message thrown in 

systemctl status x2goserver

The message was: "x2goserver.service: PID file /run/x2goserver.pid not
readable (yet?) after start: No such file or directory"

   * What led up to the situation?

Simply apt-get dist-upgrade or (later) apt-get -f install

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Validating the fault I found that the
file /lib/systemd/system/x2goserver was wrong. 

Instead of line 7

PIDFile=/run/x2goserver.pid

it should read

PID-File=/run/x2goserver.pid

With this adjustment the server starts as expected. 

Yours sincerely

Carsten Kumke


-- System Information:
Debian Release: testing/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages x2goserver depends on:
ii  bash                   4.3-15
ii  bc                     1.06.95-9+b1
ii  debconf [debconf-2.0]  1.5.59
ii  libfile-basedir-perl   0.07-1
ii  libfile-which-perl     1.21-1
ii  libswitch-perl         2.17-2
ii  libtry-tiny-perl       0.24-1
ii  libx2go-server-perl    4.1.0.0-0x2go1.2~git20160807.1349+9.heuler.1
ii  lsof                   4.89+dfsg-0.1
ii  net-tools              1.60+git20150829.73cef8a-2
ii  openssh-client         1:7.2p2-8
ii  openssh-server         1:7.2p2-8
ii  psmisc                 22.21-2.1+b1
ii  pwgen                  2.07-1.1
ii  x2goagent              2:3.5.0.33-0x2go1~git20160710.753+9.heuler.1
ii  x2goserver-common      4.1.0.0-0x2go1.2~git20160807.1349+9.heuler.1
ii  xauth                  1:1.0.9-1
ii  xfonts-base            1:1.0.4+nmu1
ii  xkb-data               2.17-1

Versions of packages x2goserver recommends:
ii  fontconfig             2.11.0-6.4
ii  sshfs                  2.8-1
ii  x11-apps               7.7+6
ii  x11-session-utils      7.7+2
ii  x11-utils              7.7+3
ii  x11-xfs-utils          7.7+2
ii  x11-xkb-utils          7.7+3
ii  x11-xserver-utils      7.7+7
ii  x2goserver-extensions  4.1.0.0-0x2go1.2~git20160807.1349+9.heuler.1
ii  x2goserver-fmbindings  4.1.0.0-0x2go1.2~git20160807.1349+9.heuler.1
ii  x2goserver-printing    4.1.0.0-0x2go1.2~git20160807.1349+9.heuler.1
ii  x2goserver-xsession    4.1.0.0-0x2go1.2~git20160807.1349+9.heuler.1
ii  xinit                  1.3.4-3

Versions of packages x2goserver suggests:
ii  pulseaudio-utils  9.0-1.1
pn  rdesktop          <none>

-- Configuration Files:
/etc/sudoers.d/x2goserver [Errno 13] Keine Berechtigung:
u'/etc/sudoers.d/x2goserver'

-- debconf information:
  x2goserver/upgrade-4_1_0_0:
  x2goserver/postgresql-upgrade-3_1_0_0:


--=-jCXPomoSj9X+Q+0fmICV
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html><head></head><body bgcolor=3D"#ffffff" text=3D"#2e3436" link=3D"#2a76=
c6" vlink=3D"#2e3436"><div>Package: x2goserver</div><div>Version: 4.1.0.0-0=
x2go1.2~git20160807.1349+9.heuler.1</div><div>Severity: normal</div><div><b=
r></div><div>Dear Maintainer,</div><div><br></div><div>I just upgraded x2go=
server packages to 4.1.0.0-0x2go1.2~git20160807.1349+9.heuler.1 on two syst=
ems. The installation procedure ends up &nbsp;on both machines &nbsp;with a=
 message thrown in&nbsp;</div><div><br></div><div>systemctl status x2goserv=
er</div><div><br></div><div>The message was: "<span style=3D"color: rgb(0, =
0, 0); font-family: monospace;">x2goserver.service: PID file /run/x2goserve=
r.pid not readable (yet?) after start: No such file or directory</span>"</d=
iv><div><br></div><div>&nbsp;&nbsp;&nbsp;* What led up to the situation?</d=
iv><div><br></div><div>Simply apt-get dist-upgrade or (later) apt-get -f in=
stall</div><div><br></div><div>&nbsp;&nbsp;&nbsp;* What exactly did you do =
(or not do) that was effective (or</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
ineffective)?</div><div><br></div><div>Validating the fault I found that th=
e file&nbsp;/lib/systemd/system/x2goserver was wrong.&nbsp;</div><div><br><=
/div><div>Instead of line 7</div><div><br></div><div>PIDFile=3D/run/x2goser=
ver.pid</div><div><br></div><div>it should read</div><div><br></div><div>PI=
D-File=3D/run/x2goserver.pid</div><div><br></div><div>With this adjustment =
the server starts as expected.&nbsp;</div><div><br></div><div>Yours sincere=
ly</div><div><br></div><div>Carsten Kumke</div><div><br></div><div><br></di=
v><div>-- System Information:</div><div>Debian Release: testing/sid</div><d=
iv>&nbsp; APT prefers testing</div><div>&nbsp; APT policy: (500, 'testing')=
</div><div>Architecture: amd64 (x86_64)</div><div>Foreign Architectures: i3=
86</div><div><br></div><div>Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)=
</div><div>Locale: LANG=3Dde_DE.UTF-8, LC_CTYPE=3Dde_DE.UTF-8 (charmap=3DUT=
F-8)</div><div>Shell: /bin/sh linked to /bin/dash</div><div>Init: systemd (=
via /run/systemd/system)</div><div><br></div><div>Versions of packages x2go=
server depends on:</div><div>ii&nbsp;&nbsp;bash&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;4.3-15</div><div>ii&nbsp;&nbsp;bc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;1.06.95-9+b1</div><div>ii&nbsp;&nbsp;debconf [debconf-2=
.0]&nbsp;&nbsp;1.5.59</div><div>ii&nbsp;&nbsp;libfile-basedir-perl&nbsp;&nb=
sp;&nbsp;0.07-1</div><div>ii&nbsp;&nbsp;libfile-which-perl&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;1.21-1</div><div>ii&nbsp;&nbsp;libswitch-perl&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.17-2</div><div>ii&nbsp;&nbsp;libtry-=
tiny-perl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.24-1</div><div>ii&nbsp=
;&nbsp;libx2go-server-perl&nbsp;&nbsp;&nbsp;&nbsp;4.1.0.0-0x2go1.2~git20160=
807.1349+9.heuler.1</div><div>ii&nbsp;&nbsp;lsof&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;4.89+dfsg-0.1</div><div>ii&nbsp;&nbsp;net-tools&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.60+gi=
t20150829.73cef8a-2</div><div>ii&nbsp;&nbsp;openssh-client&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1:7.2p2-8</div><div>ii&nbsp;&nbsp;open=
ssh-server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1:7.2p2-8</=
div><div>ii&nbsp;&nbsp;psmisc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;22.21-2.1+b1</div><=
div>ii&nbsp;&nbsp;pwgen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.07-1.1</div><div>=
ii&nbsp;&nbsp;x2goagent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2:3.5.0.33-0x2go1~git20160710.753+9.heuler.=
1</div><div>ii&nbsp;&nbsp;x2goserver-common&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;4.1.0.0-0x2go1.2~git20160807.1349+9.heuler.1</div><div>ii&nbsp;&nbsp;xa=
uth&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1:1.0.9-1</div><div>ii&nbsp;&nbsp;xfont=
s-base&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;1:1.0.4+nmu1</div><div>ii&nbsp;&nbsp;xkb-data&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.17-1</div>=
<div><br></div><div>Versions of packages x2goserver recommends:</div><div>i=
i&nbsp;&nbsp;fontconfig&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;2.11.0-6.4</div><div>ii&nbsp;&nbsp;sshfs&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;2.8-1</div><div>ii&nbsp;&nbsp;x11-apps&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;7.7+6</div><div>ii&nbsp;&nbsp;x11-session-utils&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;7.7+2</div><div>ii&nbsp;&nbsp;x11-utils&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.7+3</div><div>i=
i&nbsp;&nbsp;x11-xfs-utils&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;7.7+2</div><div>ii&nbsp;&nbsp;x11-xkb-utils&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.7+3</div><div>ii&nbsp;&nbsp;x11-xs=
erver-utils&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.7+7</div><div>ii&nbsp;&nbs=
p;x2goserver-extensions&nbsp;&nbsp;4.1.0.0-0x2go1.2~git20160807.1349+9.heul=
er.1</div><div>ii&nbsp;&nbsp;x2goserver-fmbindings&nbsp;&nbsp;4.1.0.0-0x2go=
1.2~git20160807.1349+9.heuler.1</div><div>ii&nbsp;&nbsp;x2goserver-printing=
&nbsp;&nbsp;&nbsp;&nbsp;4.1.0.0-0x2go1.2~git20160807.1349+9.heuler.1</div><=
div>ii&nbsp;&nbsp;x2goserver-xsession&nbsp;&nbsp;&nbsp;&nbsp;4.1.0.0-0x2go1=
.2~git20160807.1349+9.heuler.1</div><div>ii&nbsp;&nbsp;xinit&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;1.3.4-3</div><div><br></div><div>Versions of packages x2g=
oserver suggests:</div><div>ii&nbsp;&nbsp;pulseaudio-utils&nbsp;&nbsp;9.0-1=
.1</div><div>pn&nbsp;&nbsp;rdesktop&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&lt;none&gt;</div><div><br></div><div>-- Configuration =
Files:</div><div>/etc/sudoers.d/x2goserver [Errno 13] Keine Berechtigung: u=
'/etc/sudoers.d/x2goserver'</div><div><br></div><div>-- debconf information=
:</div><div>&nbsp; x2goserver/upgrade-4_1_0_0:</div><div>&nbsp; x2goserver/=
postgresql-upgrade-3_1_0_0:</div><div><br></div><div><br></div></body></htm=
l>
--=-jCXPomoSj9X+Q+0fmICV--
