[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] chrootlaunch from inittab

From: Olivier Sessink
Subject: Re: [Jailkit-users] chrootlaunch from inittab
Date: Tue, 17 Mar 2009 20:58:54 +0100
User-agent: Thunderbird (X11/20090105)

address@hidden wrote:
> Hello,
> I am trying to jail a perl daemon that is launched (and automatically
> respawned if it dies) from /etc/inittab on a CentOS 5.2 server.
> The /etc/inittab entry looks something like this:
> N1:345:respawn:jk_chrootlaunch -u foo -g foo -j /var/foojail -x
> /usr/local/bin/foo -- -c /usr/local/etc/foo.conf
> Where /usr/local/bin/foo is a perl script which reads in
> /usr/local/etc/foo.conf.
> I believe I have initialized the jail correctly because I can run the
> jailed daemon from
> the command line as root
> address@hidden ~ ]# jk_chrootlaunch -u foo -g foo -j /var/foojail -x
> /usr/local/bin/foo -- -c /usr/local/etc/foo.conf
> and the daemon runs as expected.

I guess it runs in the background, right?

processes that run from inittab must not detach and run in the background.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]