Ben Riggs wrote:
>   > How about a patch that hooks ctrl+c before entering the serializer and
>   
>> releases it after writing the record(s)? That seems to solve it.
>>
>> We could of course allow ctrl-c but would make sure we wrote the file 
>> before exiting.
>>
>> I'm not sure on the traceback case, that seems to be a bug that should 
>> be solved by fixing the bug :)
>>
>> --Michael
>>
>>     
>
> Catching ctrl+c sounds like an excellent solution. And, obviously, 
> there's little to be done internally when there's an outside source for 
> tracebacks.
>
> Ben
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   

I've added some code to hook ctrl+c around file access regions. This is 
on the devel branch now if you would like to test
it, and will be available in the upcoming test release of 1.1 (1-2 weeks).

--Michael

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to