Bug 10739 - some directories are not created (/usr/lib/x2go/extensions/*)
Summary: some directories are not created (/usr/lib/x2go/extensions/*)
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Damien Lallement
QA Contact:
URL:
Whiteboard:
Keywords: Junior_job, Triaged
Depends on: 11557
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-09 12:19 CEST by Denis Chupau
Modified: 2015-03-31 16:03 CEST (History)
1 user (show)

See Also:
Source RPM: x2goserver-4.0.0.0-2.mga3
CVE:
Status comment:


Attachments

Description Denis Chupau 2013-07-09 12:19:50 CEST
Description of problem:
On a client, when trying to terminate a running X2Go session, the x2go client complains about missing directories :
find /usr/lib/x2go/extensions/pre-terminate.d
/usr/lib/x2go/extensions/fail-terminate.d
Not found

Version-Release number of selected component (if applicable):
4.0.0.0-2.mga3 i586

How reproducible:
Always

Steps to Reproduce:

on the server
1. urpmi x2goserver-sqlite x2goserver
2. x2godbadmin --createdb
3. systemctl start x2goserver.service

on the client
4. urpmi x2goclient
5. x2goclient
6. create a new session
7. choose this new session
8. connect using this new session
9. disconnect without closing the session
10. reopen x2goclient
11. choose the new session and connect
12. x2goclient tries to open a session but there is one opened already
13. x2goclient displays a table containing a list of opened sessions
14. choose the opened session and click "terminate"
15. x2goclient displays an error stating that there is no directories named :

/usr/lib/x2go/extensions/pre-terminate.d
/usr/lib/x2go/extensions/fail-terminate.d


Creating those directories (and their parent "extensions") resolves this.



=> urpmi x2goserver should have created those directories.

Reproducible: 

Steps to Reproduce:
Comment 1 Denis Chupau 2013-07-09 16:15:50 CEST
directories also missing :

/usr/lib/x2go/extensions/post-terminate.d
/usr/lib/x2go/extensions/pre-suspend.d
/usr/lib/x2go/extensions/post-suspend.d
/usr/lib/x2go/extensions/pre-runcommand.d


surely there are other dirs, but as far as I know, x2goclient didn't need other directories for what I'm using.

maybe :
/usr/lib/x2go/extensions/fail-runcommand.d
/usr/lib/x2go/extensions/fail-suspend.d

regards
Dag
Comment 2 Denis Chupau 2013-07-09 19:18:00 CEST
a complete list seems to be :

/usr/lib/x2go/extensions/pre-start.d
/usr/lib/x2go/extensions/post-resume.d
/usr/lib/x2go/extensions/post-suspend.d
/usr/lib/x2go/extensions/pre-runcommand.d
/usr/lib/x2go/extensions/pre-terminate.d
/usr/lib/x2go/extensions/fail-start.d
/usr/lib/x2go/extensions/pre-suspend.d
/usr/lib/x2go/extensions/fail-runcommand.d
/usr/lib/x2go/extensions/fail-suspend.d
/usr/lib/x2go/extensions/post-start.d
/usr/lib/x2go/extensions/post-runcommand.d
/usr/lib/x2go/extensions/fail-resume.d
/usr/lib/x2go/extensions/post-terminate.d
/usr/lib/x2go/extensions/pre-resume.d
/usr/lib/x2go/extensions/fail-terminate.d


But the scripts don't get executed anyway (chmod +x or not).

regards Dag
Manuel Hiebel 2013-07-12 18:15:21 CEST

Keywords: (none) => Junior_job, Triaged
Assignee: bugsquad => oliver.bgr

Comment 3 Damien Lallement 2013-11-20 13:07:58 CET
Assigning to myself as WIP on my side.

Status: NEW => ASSIGNED
CC: (none) => mageia
Assignee: oliver.bgr => mageia

Damien Lallement 2013-11-20 15:15:56 CET

Hardware: i586 => All

Comment 4 Damien Lallement 2013-11-22 15:58:18 CET
Should be fixed in x2goserver-4.0.0.1 available in updates_testing.
Comment 5 David Walser 2013-11-23 02:13:32 CET
Please update it to 4.0.0.2 (Mageia 3 and Cauldron) so that CVE-2013-4376 can be fixed.

Depends on: (none) => 11557

Comment 6 Marja Van Waes 2015-03-31 16:03:06 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: ASSIGNED => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.