Re: [Shinken-devel] shinken gentoo-ebuild
Status: Beta
Brought to you by:
naparuba
From: nap <nap...@gm...> - 2011-07-12 14:30:53
|
On Tue, Jul 12, 2011 at 11:26 AM, Micha Glave <mi...@gl...> wrote: > Hi, > > in my affords to write a gentoo installscript (ebuild) [^1] for > shinken I tried to adopt the way gentoo's directory structure. > Working dir: /var/lib/shinken > PID-Location: /var/run/shinken/ > and it's openrc-init scripts [^2] > > My Questions: > 1. Is there anyone else interested in this? > 2. Is it possible to place the PID outside the working_dir? > 3. At gentoo the install (setup.py) is processed in a sandbox and in > the end merged to the real place in the directory-tree. > So I start the `setup.py install > --root=/var/tmp/portage/net-analyzer/shinken-0.6.5/image/ > --no-compile` in the config after > this the path of --root is set to all config files and my script > have to remove this before merging to the real filesystem. Is > there a installation-option to prepare e.g. a change-root-install ? > > Micha > > > [^1]: see > http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1 > [^2]: see http://www.gentoo.org/proj/en/base/openrc/index.xml > Hi, Great idea thanks :) 1 : I don' know :) 2 : yes, you can look at etc/*d.ini files for the pid location for all deamons but arbiter and in the etc/nagios.cfg file (lock_file) for the arbiter. 3 : Don't know but I think no. Is any packager here succeed in this? Jean |