VUTRAX Technical
Support
VUTRAX SOFTWARE ADVICE NOTICE 214 (Issue 3
- 24 Jan 2008)
VUTRAX 13.1a onwards for
Linux
SELinux & x64 Installation
& Runtime Problems
Error messages:
'cannot restore segment
prot after reloc: Permission denied'
or 'which requires text relocation'
This can occur as the main installer starts up, or at
any time if the security enhancements in
SELinux are enabled in a system. Some recent Linux
distributions (in particular Fedora Core 5
onwards) may have this feature enabled. The problem
arises when a dynamic link library is
being loaded and its segment access is first set to
write access & then read-only & execute
access.
- Workaround 1:
- In a terminal window logged in as the root user,
promoted to Super User (su) or as part of a
sudo command (these depending on your distro) set the
SELinux enforcement to Permissive
using the command
/usr/sbin/setenforce 0
This setting will persist until changed or the system
is restarted.
If Vutrax will not start in a subsequent session
repeat the command.
- Workaround 2:
- In system supporting control of SELinux through the
menu system select
System > SE Linux
Management
and select the current (and maybe default) behaviour to
Permissive
- Workaround 3:
- Explicitly permit just this library for adjusting
permissions
chcon -t textrel_shlib_t .../rtl/libtwin32.so
- where '...' is the path to your Vutrax install
directory
- Workaround 4:
- In a terminal window logged in as the root user,
promoted to Super User (su) or as part of a
sudo command (these depending on your distro) use your
preferred text editor to edit file
/etc/selinux/config
The file will include something like:-
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=enforcing
...
Change the line
SELINUX=enforcing
to one of
SELINUX=permissive
or
SELINUX=disabled
This change will persist until you apply a different
setting.
Amaya Help Browser won't start or crashes
Some of the widget libraries used by the Amaya
browser for displaying Vutrax Help are
disappearing from standard distributions.
Workaround:-
In the Vutrax menu system select the check box at
[Set Environment] from (File > Setup)
until a dialogue appears. Type or change the setting to
set vtxamaya=x (NOT '...=y' of the default)
and try again. The system browser will now be used
instead (with loss of some convenience features).
Fix (Installing the required Libraries):-
This is based on Ubuntu 7.04, but the package names
apply to a wide variety of distributions:-
[System > Administration > Synaptic Package Manager]
[Settings > Repositories] and check the box
[Community maintained (Universe)] if it isn't.
If you applied the change click Toolbar: [Reload].
Toolbar: [Search] and enter gdk-imlib1 and <enter>
(Difficult fonts? ...first l = Letter L, second 1 = digit 1).
Click the box against gdk-imlib1 and [Mark for Installation].
The following will be listed (unless some already installed):-
gdk-imlib1
imlib-base
libglib1.2
libgtk1.2
libgtk1.2-common
Toolbar: [Apply]
Distribution:
- Internet Site.
- Customers Reporting Problems.
|