Compiled and ran -- here's the output:
$>/tmp/testcron.exe
name orderworker uid 11130 gid 10513
0
256
512
768
1024
1280
1536
1792
2048
2304
2560
I killed it at this point. No initgroups() or setuid() failures in 2500 tries.
Let me know your thoughts.
Rajiv
--
Problem reports: http://
Pierre,
Thanks for your reply.
Yes, both the job and service are running under the same account (orderworker).
I was looking into this a bit more, and found that we are getting the
following event in our security event log at the exact time of the cron "can't
switch user context" error.
E
Hi,
We are seeing intermittent cron errors on some of our servers. We run about
a couple of hundred jobs on these servers, and about 5% of them fail with
the error "can't switch user context"). We enabled verbose logging, and in
/var/log/cron.log see messages that say "cannot set uid for ". Wh
3 matches
Mail list logo