Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524350 - net-misc/x2goserver-4.0.1.16 - /etc/x2go/Xsession should call "set +e/-e" around source xinirtc.d/*
Summary: net-misc/x2goserver-4.0.1.16 - /etc/x2go/Xsession should call "set +e/-e" aro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo NX Server project
URL: http://bugs.x2go.org/cgi-bin/bugrepor...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-10-03 08:54 UTC by Bernd Feige
Modified: 2014-10-23 08:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to /etc/x2go/Xsession (x2go.patch,368 bytes, patch)
2014-10-03 08:55 UTC, Bernd Feige
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Feige 2014-10-03 08:54:02 UTC
Hello,

x2go connections to the machine stopped coming up.
Reason:
Sourcing the contents of /etc/x2go/xinitrc.d (symlinked to /etc/X11/xinit/xinitrc.d) without "set +e" and "set -e" around the source causes any command with non-zero exit status to abort the operation - in my case `which keychain` in /etc/X11/xinit/xinitrc.d/49-keychain (current gnome-base/gdm-3.12.2-r1).

Patch to /etc/x2go/Xsession is attached.

Reproducible: Always
Comment 1 Bernd Feige 2014-10-03 08:55:23 UTC
Created attachment 385982 [details, diff]
Patch to /etc/x2go/Xsession
Comment 2 Bernard Cafarelli gentoo-dev 2014-10-23 08:34:48 UTC
Thanks for the report, and taking this upstream! Until they release a new version, I added the patch to 4.0.1.18-r1 in tree