From: Bjoern Steinbrink (bjoern.steinbrink_at_isp4p.net)
Date: Mon 20 Dec 2004 - 23:19:10 GMT
On 2004.12.20 21:57:59 +0100, Enrico Scholz wrote:
> Adrian Reyer <are_at_lihas.de> 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
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver