~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to doc/man/faq.rst

  • Committer: William Grant
  • Date: 2009-12-07 11:01:50 UTC
  • mfrom: (1341.1.3 trunk)
  • Revision ID: grantw@unimelb.edu.au-20091207110150-jct30a9yru432ddn
Fix up the project set creation UI a bit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
about common issues encountered when configuring or running the system.
26
26
 
27
27
.. _ref-faq-how:
28
 
 
29
28
How can I...
30
29
============
31
30
 
36
35
 
37
36
 
38
37
.. _ref-faq-why:
39
 
 
40
38
Why does...
41
39
===========
42
40
 
62
60
 
63
61
The default is :file:`/var/lib/ivle/sessions`.
64
62
 
65
 
 
66
 
... ivle-buildjail fail with 'Error: Jail contains world writable path'
67
 
-----------------------------------------------------------------------
68
 
 
69
 
When running :program:`ivle-buildjail` you may occasionally see an error 
70
 
like::
71
 
 
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 
76
 
    from the jail.
77
 
 
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.
82
 
 
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.
86
 
 
87
 
 
88
 
... the console return 'Console Restart' messages
89
 
-------------------------------------------------
90
 
 
91
 
There are three cases where a console may be restarted:
92
 
 
93
 
1. **Console Restart: The IVLE console has timed out due to inactivity**
94
 
 
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.
98
 
 
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).
102
 
 
103
 
2. **Console Restart: CPU Time Limit Exceeded**
104
 
 
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).
108
 
 
109
 
   This setting can be configured by changing the values associated with 
110
 
   :const:`RLIMIT_CPU` in :file:`bin/trampoline/trampoline.c`.
111
 
 
112
 
3. **Console Restart: Communication to console process lost**
113
 
 
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 
116
 
    likely a bug.
117
 
 
118
 
4. **Console Restart: Communication to console process reset**
119
 
 
120
 
    IVLE's TCP connection to the console process was reset. May indicate 
121
 
    network issues.
122