Bug 1209436 - Can't locate strict.pm: Permission denied at /usr/lib64/x2go/x2gochangestatus line 23
Summary: Can't locate strict.pm: Permission denied at /usr/lib64/x2go/x2gochangestat...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: x2goserver
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-07 11:06 UTC by Norman Gaywood
Modified: 2015-04-08 01:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-08 01:31:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Norman Gaywood 2015-04-07 11:06:09 UTC
Description of problem:

Some changes to x2goserver components now seem to run as shell instead of perl
 
Version-Release number of selected component (if applicable):

x2goserver-4.0.1.19-1.fc21.x86_64

How reproducible:

Not sure. After some time with users logging in and out we get output like this from x2golistsessions_root:

# x2golistsessions_root
Can't locate strict.pm:   Permission denied at /usr/lib64/x2go/x2gochangestatus line 23.
BEGIN failed--compilation aborted at /usr/lib64/x2go/x2gochangestatus line 23.
19477|user1-50-1428386316_stDKDE_dp32|50|turing.une.edu.au|S|2015-04-07T15:58:37|b572713a7a90231bb43b25c0c6638ee5|110.142.234.223|30005|30006|2015-04-07T17:45:36|user1|17328|30007|
24673|user2-52-1428403151_stDKDE_dp32|52|turing.une.edu.au|R|2015-04-07T20:39:11|86ee96b36452af7623969fad2651b20a|121.45.205.70|30011|30012|2015-04-07T20:39:14|user2|494|30013|

Comment 1 Orion Poplawski 2015-04-07 22:35:05 UTC
Can you attach the /tmp/x2golistsessions_root.strace created by:

strace -o /tmp/x2golistsessions_root.strace -f x2golistsessions_root

Also, anything from "grep -F denied /var/log/audit/audit.log" or "rpm -V x2goserver"?

Comment 2 Norman Gaywood 2015-04-07 23:33:34 UTC
I think I've found something. When /usr/lib64/x2go/x2gochangestatus is run the perl @INC is:

/root/perl5/lib/perl5
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5

If I chmod a+x /root

the perl compilation works OK.

If no one else is seeing this, perhaps it's something to do with some local root installed perl modules?

Comment 3 Orion Poplawski 2015-04-08 01:31:22 UTC
Yeah, I think this is a local issue.  However, I have brought up the idea of using perl's -T taint flag to avoid this with x2go upstream.


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