Forum: Cfengine Help Subject: Re: what does "timeout=-678, owner=-1, group=-1" mean when running a command? Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,21089,21128#msg-21128
I was of the impression that the "-1" for user and group was in the context of the C library calls which set user/group. In those functions, the argument of -1 is special in that it means "leave this value unchanged". Check out "man 2 chown" for slightly more info. This is backed-up by the observation that the ID and Group are unchanged in the child process. I'm guessing based on that that the negative timeout is probably also a carryover from however timeouts are handled internally to Cfengine. :) Seva Gluschenko Wrote: ------------------------------------------------------- > They mean nobody/nogroup and int instead unsigned int, I guess. > > 2011/3/11 Aleksey Tsalolikhin : > > What do these negative numbers mean, please? I'm running a shell command. > > > > -> Executing '/home/user/cfengine_ec2/start_micro_instance.sh web > > /home/user/cfengine_ec2/servers/web' > > ...(timeout=-678,owner=-1,group=-1) _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine