On 2004.12.20 21:57:59 +0100, Enrico Scholz wrote:
> Adrian Reyer <[EMAIL PROTECTED]> writes:
> 
> > as pointed out by Hollow, confirmed by me and workarounded by Bertl,
> > vsched with hard limits segfaults after setting the values.  by ading
> > '-- true' to the command line, it stops segfaulting while continue
> > working correctly.
> 
> Sorry, can not reproduce it. Can you give an example please?

Fails:
# vsched --xid 123 --interval 1
Segmentation fault

Works:
# vsched --xid 123 --interval 1 -- true
#

I guess the unconditional call of EexecvpD() is guilty:
src/vsched.c:151
  EexecvpD(argv[optind],argv+optind);

argv[optind] is probably NULL or so

HTH
Bjoern
_______________________________________________
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to