On Tuesday 15 August 2006 18:01, I wrote: > I do not know where this signal come from. I straced the shell from which I > started the daemon, but I found no reference to "kill" function. > > And if I start the daemon without the "run_init" command, the daemon > doesn't receive any signal.
I advanced in my investigations. I found that run_init creates a virtual pty and when openca_start forks to go in the background the pty is destroyed and the SIGHUP is sent (by the kernel ?) to the remaining processes. Here is my second problem. When I run "run_init nohup /etc/openca/openca_start", I get an "OOPS" from the kernel (attached). It may be easier to catch the SIGHUP in the OpenCA server. Does anybody know how to do this ? Thanks, -- Nicolas MASSÉ Pour récupérer ma clef GPG: gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 0x2A18C433 Key fingerprint: 6621 FC23 5DC7 54BA B952 316A 50B1 BC3F 2A18 C433
Unable to handle kernel NULL pointer dereference at virtual address 0000002e printing eip: c0246ca9 *pgd = 0 *pmd = 0 Oops: 0000 [#1] PREEMPT Modules linked in: rtc fbcon font bitblit softcursor eth1394 rt2500 snd_trident snd_ac97_codec ohci_hcd sis900 evdev snd_ac97_bus sisfb fb cfbcopyarea cfbimgblt cfbfillrect mii snd_pcm snd_timer snd_page_alloc snd_util_mem snd_mpu401_uart snd_rawmidi snd_seq_device usbcore 8250_pci snd 8250_pnp i2c_sis630 soundcore sis_agp agpgart i2c_core crc32 ohci1394 yenta_socket rsrc_nonstatic pcmcia_core ieee1394 8250 parport_pc serial_core parport ide_cd cdrom psmouse unix CPU: 0 EIP: 0060:[<c0246ca9>] Not tainted VLI EFLAGS: 00010282 (2.6.16-hardened-r11 #2) EIP is at selinux_bprm_post_apply_creds+0x79/0x410 eax: 00000026 ebx: d822a000 ecx: 00000006 edx: ddcfba90 esi: d6199970 edi: 0000000a ebp: d81375c0 esp: d822bd30 ds: 007b es: 007b ss: 0068 Process openca_start (pid: 10071, threadinfo=d822a000 task=ddcfba90) Stack: <0>c012b08f 00000000 00000303 00000000 d81375f4 ffffffff 00000000 c15c9900 dddcbf40 0000007b ffffffff c026950f 00000060 00000286 dc8ddc40 d81375f4 b7fe9710 c01b08ce 00000003 00000812 ddcfbc24 c0241ebe ddcfbc24 dd863c00 Call Trace: [<c012b08f>] error_code+0x4f/0x60 [<c026950f>] clear_user+0x2f/0x50 [<c01b08ce>] load_elf_interp+0xce/0x360 [<c0241ebe>] dummy_bprm_apply_creds+0xde/0x160 [<c0246b80>] selinux_bprm_apply_creds+0x20/0xd0 [<c018fd47>] compute_creds+0x57/0x70 [<c01b1772>] load_elf_binary+0xa12/0xe20 [<c01b0d60>] load_elf_binary+0x0/0xe20 [<c018fea1>] search_binary_handler+0xd1/0x320 [<c01b0223>] load_script+0x203/0x230 [<c016a704>] get_page_from_freelist+0xa4/0xd0 [<c026989a>] copy_from_user+0x3a/0x80 [<c01b0020>] load_script+0x0/0x230 [<c018fea1>] search_binary_handler+0xd1/0x320 [<c01902fe>] do_execve+0x20e/0x310 [<c0128d99>] sys_execve+0x39/0x80 [<c012a029>] syscall_call+0x7/0xb Code: 6c 04 00 00 8b 80 90 00 00 00 c7 44 24 14 ff ff ff ff 85 c0 74 43 ff 43 14 8b b0 70 01 00 00 85 f6 74 21 8b 46 08 b9 06 00 00 00 <8b> 50 08 8b 03 c7 04 24 00 00 00 00 e8 96 f3 ff ff 85 c0 0f 85 <6>note: openca_start[10071] exited with preempt_count 1
pgpxFhLqgKVgS.pgp
Description: PGP signature
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ OpenCA-Devel mailing list OpenCA-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openca-devel