Lines Matching refs:Error
80 return Error() << "Could not get security context"; in ComputeContextFromExecutable()
85 return Error() << "Could not get file context"; in ComputeContextFromExecutable()
97 return Error() << "File " << service_path << "(labeled \"" << filecon.get() in ComputeContextFromExecutable()
104 return Error() << "Could not get process context"; in ComputeContextFromExecutable()
421 return Error() in ParseCapabilities()
434 return Error() << StringPrintf("invalid capability '%s'", arg.c_str()); in ParseCapabilities()
438 return Error() << StringPrintf("capability '%s' not supported by the kernel", in ParseCapabilities()
470 return Error() << "Init only supports entering network namespaces"; in ParseEnterNamespace()
473 return Error() << "Only one network namespace may be entered"; in ParseEnterNamespace()
485 return Error() << "Unable to decode GID for '" << args[1] << "': " << gid.error(); in ParseGroup()
492 return Error() << "Unable to decode GID for '" << args[n] << "': " << gid.error(); in ParseGroup()
504 return Error() << StringPrintf("process priority value must be range %d - %d", in ParsePriority()
516 return Error() << "Invalid fully-qualified name for interface '" << interface_name << "'"; in ParseInterface()
520 return Error() << "Interface name not fully-qualified '" << interface_name << "'"; in ParseInterface()
524 return Error() << "Interface name must not be a value name '" << interface_name << "'"; in ParseInterface()
531 return Error() << "Interface '" << fullname << "' redefined in " << name() in ParseInterface()
543 return Error() << "priority value must be range 0 - 7"; in ParseIoprio()
553 return Error() << "ioprio option usage: ioprio <rt|be|idle> <0-7>"; in ParseIoprio()
564 return Error() << "Could not expand property '" << args[1] << "'"; in ParseKeycodes()
581 if (key == code) return Error() << "duplicate keycode: " << *it; in ParseKeycodes()
585 return Error() << "invalid keycode: " << *it; in ParseKeycodes()
600 return Error() << "cannot add Onrestart command: " << result.error(); in ParseOnrestart()
614 return Error() << "namespace must be 'pid' or 'mnt'"; in ParseNamespace()
622 return Error() << "oom_score_adjust value must be in range -1000 - +1000"; in ParseOomScoreAdjust()
634 return Error() << "swappiness value must be equal or greater than 0"; in ParseMemcgSwappiness()
641 return Error() << "limit_in_bytes value must be equal or greater than 0"; in ParseMemcgLimitInBytes()
648 return Error() << "limit_percent value must be equal or greater than 0"; in ParseMemcgLimitPercent()
660 return Error() << "soft_limit_in_bytes value must be equal or greater than 0"; in ParseMemcgSoftLimitInBytes()
676 return Error() << "restart_period value must be an integer >= 5"; in ParseRestartPeriod()
702 return Error() << "Invalid shutdown option"; in ParseShutdown()
708 return Error() << "timeout_period value must be an integer >= 1"; in ParseTimeoutPeriod()
724 return Error() << "Unable to find UID for '" << args[4] << "': " << uid.error(); in AddDescriptor()
731 return Error() << "Unable to find GID for '" << args[5] << "': " << gid.error(); in AddDescriptor()
742 return Error() << "duplicate descriptor " << args[1] << " " << args[2]; in AddDescriptor()
753 return Error() << "socket type must be 'dgram', 'stream' or 'seqpacket'"; in ParseSocket()
761 return Error() << "file type must be 'r', 'w' or 'rw'"; in ParseFile()
765 return Error() << "Could not expand property in file path '" << args[1] << "'"; in ParseFile()
769 return Error() << "file name must not be relative"; in ParseFile()
777 return Error() << "Unable to find UID for '" << args[1] << "': " << uid.error(); in ParseUser()
867 return Error() << "Cannot start an updatable service '" << name_ in ExecStart()
890 return Error() << "Cannot start an updatable service '" << name_ in Start()
1404 return Error() << "services must have a name and a program"; in ParseSection()
1409 return Error() << "invalid service name '" << name << "'"; in ParseSection()
1445 return Error() << "ignored duplicate definition of service '" << service_->name() in EndSection()
1450 return Error() << "cannot update a non-updatable service '" << service_->name() in EndSection()