Module utils


Classes

FdConditionWaiterHelper
FieldSet
FileLock
LineSplitter
LogFileHandler
RetryAgain
RetryTimeout
RunResult
ShellWriter
SignalHandler
SignalWakeupFd
_RetryDelayCalculator

Functions

AddAuthorizedKey
AddHostToEtcHosts
BridgeExists
BuildShellCmd
BytesToMebibyte
CalculateDirectorySize
CheckVolumeGroupSize
CloseFDs
CommaJoin
CreateBackup
DaemonPidFileName
Daemonize
EnsureDaemon
EnsureDirs
FindFile
FindMatch
FingerprintFiles
FirstFree
ForceDictType
FormatSeconds
FormatTime
FormatTimestampWithTZ
FormatUnit
GenerateSecret
GenerateSelfSignedSslCert
GenerateSelfSignedX509Cert
GetClosedTempfile
GetFileID
GetFilesystemStats
GetHomeDir
GetMounts
GetX509CertValidity
IgnoreProcessNotFound
IgnoreSignals
IsNormAbsPath
IsProcessAlive
IsProcessHandlingSignal
IsValidShellParam
KillProcess
ListVisibleFiles
ListVolumeGroups
LoadSignedX509Certificate
LockFile
Makedirs
MatchNameComponent
MergeTime
Mlockall
NewUUID
NiceSort
NormalizeAndValidateMac
ParseCpuMask
ParseUnit
PathJoin
ReadFile
ReadLockedPidFile
ReadOneLineFile
ReadPidFile
ReadWatcherPauseFile
RemoveAuthorizedKey
RemoveDir
RemoveEtcHostsEntry
RemoveFile
RemoveHostFromEtcHosts
RemovePidFile
RenameFile
ResetTempfileModule
Retry
RetryOnSignal
RunCmd
RunInSeparateProcess
RunParts
SafeEncode
SafeWriteFile
SetCloseOnExecFlag
SetEtcHostsEntry
SetNonblockFlag
SetupDaemonEnv
SetupDaemonFDs
SetupLogging
Sha1Hmac
ShellQuote
ShellQuoteArgs
SignX509Certificate
SignalHandled
SingleWaitForFdCondition
SplitTime
StartDaemon
StopDaemon
TailFile
TestDelay
TimestampForFilename
TryConvert
UnescapeAndSplit
UniqueSequence
ValidateServiceName
VerifyFileID
VerifySha1Hmac
VerifyX509Certificate
WaitForFdCondition
WriteErrorToFD
WriteFile
WritePidFile
_BuildCmdEnvironment
_CloseFDNoErr
_ExtractX509CertificateSignature
_FingerprintFile
_GetProcStatusField
_GetProcStatusPath
_ParseAsn1Generalizedtime
_ParseSigsetT
_RunCmdFile
_RunCmdPipe
_StartDaemonChild
_VerifyCertificateInner

Variables

HEX_CHAR_RE
RETRY_REMAINING_TIME
UUID_RE
VALID_X509_SIGNATURE_SALT
X509_SIGNATURE
_MAC_CHECK
_MCL_CURRENT
_MCL_FUTURE
_RANDOM_UUID_FILE
_VALID_SERVICE_NAME_RE
_locksheld
_re_shell_unquoted
ctypes
debug_locks
no_fork

[hide private]