[pve-devel] openvz and signal handlers

Michael Rasmussen mir at datanom.net
Wed Jul 17 12:22:53 CEST 2013


Hi list,

Hope someone here has an answer to my problem.

Problem:
In a perl program I need to apply some basic event handling which I do
by installing a signal handler for ALRM ($SIG{ALRM} = \&alarm_handler;)

This works as intended running in a normal context but running inside a
CT (OpenVZ) context does not work, it is as the signal handler is never
called.

Question:
Do I need to do something special to be able to attach to signals
within a CT?

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
If all else fails, immortality can always be assured by spectacular
error. -- John Kenneth Galbraith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://pve.proxmox.com/pipermail/pve-devel/attachments/20130717/0a9d514c/attachment.pgp>


More information about the pve-devel mailing list