ts-7000
[Top] [All Lists]

Re: [ts-7000] Init child processes die with their parent in kernel 2.6.2

To:
Subject: Re: [ts-7000] Init child processes die with their parent in kernel 2.6.21
From: Jim Jackson <>
Date: Sat, 13 Sep 2008 10:07:55 +0100 (BST)


On Fri, 12 Sep 2008, Fabio Vaz wrote:

> Hi all,
>
> In my TS7200, I made an init script which starts some processes to
> take webcam pictures, read smartcards, scan fingerprints, etc. The
> script (/etc/init.d/dex.sh) is like this :
>
> utlscansmart-mifare &
> utlscanfinger &
> utlwebcam &
> utlmodem &

try using nohup e.g.

  nohup utlscansmart-mifare &

etc. or use the daemon program or similar, or if these are binaries created
from C code, use the daemon(3) function. google or man should provide
details.

> To add the init script I used :
> update-rc.d /etc/init.d/dex.sh defaults 99
>
> In TS 7200 with kernel 2.4 when my init script ends the processes
> have their ppid changed to 1 and they continue running. In Ts7260 and
> TS kernel 2.6.21, when my init script ends all the child processes
> die with it. Is there a kernel configuration to prevent the init
> child processes from dieing with their parent ?
>
> Best,
> Fábio Vaz.
>
>
>
>
>
------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
    
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU