Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Cc: Jules Colding <colding@×××××.com>
Subject: Re: [gentoo-dev] How should I kill a daemon from an ebuild file?
Date: Fri, 27 Jul 2007 15:15:38
Message-Id: 200707271111.18297.vapier@gentoo.org
In Reply to: [gentoo-dev] How should I kill a daemon from an ebuild file? by Jules Colding
1 On Friday 27 July 2007, Jules Colding wrote:
2 > Or is this ultimately a big no-no??
3
4 it's a big no-no. the only thing that is valid is sending a message to a
5 running daemon to tell it that it needs to restart itself.
6
7 problems with launching a daemon from an ebuild:
8 - inherits bloated portage environment
9 - screws up systems when package is:
10 - emerged into ROOT != /
11 - cross-compiled
12 - emerged inside of a chroot
13
14 guess i should get this actually documented ...
15 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature