61
63
The default is :file:`/var/lib/ivle/sessions`.
66
... ivle-buildjail fail with 'Error: Jail contains world writable path'
67
-----------------------------------------------------------------------
69
When running :program:`ivle-buildjail` you may occasionally see an error
72
Error: Jail contains world writable path:
73
'/var/lib/ivle/jails/__base_build__/tmp/.ICE-unix'.
74
This is a security vulnerability as jail template contents are shared
75
between users. Please either make this path world unwriteable or remove it
78
This means that writable files exist in the Jail template. If left in the jail
79
then users would be able to edit a file that is shared between all jail
80
instances. The usual solution is just to remove these file from the jail build
81
directory and try again.
83
At present it is not possible to include world writable files outside a user's
84
home directory so if this file is deliberately included you will need to
85
ensure that it is not world writeable.
88
... the console return 'Console Restart' messages
89
-------------------------------------------------
91
There are three cases where a console may be restarted:
93
1. **Console Restart: The IVLE console has timed out due to inactivity**
95
The Python console process is no longer running. This is most likey due to
96
the console process being automatically terminated due to no messages
97
being sent or received by the console in the previous 15 minutes.
99
This message can also be triggered if the console is terminated for
100
another reason (such as being sent :const:`SIGKILL` from the system
101
command line or any other fatal signal).
103
2. **Console Restart: CPU Time Limit Exceeded**
105
To prevent exhaustion of local system resources, Python console processes
106
are set with an CPU Time Limit of 25 seconds of user time (time executing
107
on the CPU rather than real "clock-on-the-wall" time).
109
This setting can be configured by changing the values associated with
110
:const:`RLIMIT_CPU` in :file:`bin/trampoline/trampoline.c`.
112
3. **Console Restart: Communication to console process lost**
114
IVLE was unable to understand a response from the console process. This
115
will only happen if the console sends a malformed response and quite
118
4. **Console Restart: Communication to console process reset**
120
IVLE's TCP connection to the console process was reset. May indicate