|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 22.61 GB of 70.42 GB (32.11%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
usr/
lib/
python2.7/
dist-packages/
landscape/
- drwxr-xr-x
|
Viewing file: constants.py (1.05 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
""" Hold constants used across landscape, to reduce import size when one only needs to look at those values. """
APT_PREFERENCES_SIZE_LIMIT = 1048576 # 1 MByte
SUCCESS_RESULT = 1 ERROR_RESULT = 100 DEPENDENCY_ERROR_RESULT = 101 POLICY_STRICT = 0 POLICY_ALLOW_INSTALLS = 1 POLICY_ALLOW_ALL_CHANGES = 2
# The amount of time to wait while we have unknown package data before # reporting an error to the server in response to an operation. # The two common cases of this are: # 1. The server requested an operation that we've decided requires some # dependencies, but we don't know the package ID of those dependencies. It # should only take a bit more than 10 minutes for that to be resolved by the # package reporter. # 2. We lost some package data, for example by a deb archive becoming # inaccessible for a while. The earliest we can reasonably assume that to be # resolved is in 60 minutes, when the smart cronjob runs again.
# So we'll give the problem one chance to resolve itself, by only waiting for # one run of smart update. UNKNOWN_PACKAGE_DATA_TIMEOUT = 70 * 60
|