From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.67) (envelope-from ) id 1IERXW-0005X1-1B for garchives@archives.gentoo.org; Fri, 27 Jul 2007 15:15:38 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l6RFCq66006056; Fri, 27 Jul 2007 15:12:52 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l6RF9nxk001904 for ; Fri, 27 Jul 2007 15:09:50 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id E715F65051; Fri, 27 Jul 2007 15:09:48 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] How should I kill a daemon from an ebuild file? Date: Fri, 27 Jul 2007 11:11:17 -0400 User-Agent: KMail/1.9.7 Cc: Jules Colding References: <1185544333.16094.28.camel@omc-2.omesc.com> In-Reply-To: <1185544333.16094.28.camel@omc-2.omesc.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart91224006.u60r6FmXvE"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200707271111.18297.vapier@gentoo.org> X-Archives-Salt: 405ed302-56fa-496d-b108-d4027ac5441a X-Archives-Hash: 0aa492f7069fca5fead3a6074e467d72 --nextPart91224006.u60r6FmXvE Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 27 July 2007, Jules Colding wrote: > Or is this ultimately a big no-no?? it's a big no-no. the only thing that is valid is sending a message to a=20 running daemon to tell it that it needs to restart itself. problems with launching a daemon from an ebuild: - inherits bloated portage environment - screws up systems when package is: - emerged into ROOT !=3D / - cross-compiled - emerged inside of a chroot guess i should get this actually documented ... =2Dmike --nextPart91224006.u60r6FmXvE Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.5 (GNU/Linux) iQIVAwUARqoLFkFjO5/oN/WBAQIJ6Q/9FVJYXZmSoYuewoIg7cQoALcdJuIi222y pn/Hu2K/QgNabNvGTDUfFEXoKMBmGDpY2x8RnZ/oacv0CzL/GAFg36L0aJJvXZYK SeHMDXToFHiaBG+AXPJ8//bEmbhG9+PRMkscBXUoyx5r9cEDPJrgvFpVvChHc6TK m9Pmjn6XOhPPPHfOtRce18BB+RChMVgDWDiK1hhEFIsHK5r2SJHqqKPdak3mmLYj yB1THxg2c5BWtgUEnKHClJURcny/zr1Dgpj9bkQ5hBqc0aQHjuDUu02a6AyfXDcY STIOCGPc+MM/PIr2Bf9upBZLMLtxZAA3RAB9mbxWcPeFI3y2cuKBo4s167Gizwo3 +xfTfnBxttXOuP/kmc29awHzWt3qluqnY2ZAauvlntSY7uuHW16ywLkgAxsearkB A54wushaXHXsrw5vF2XYi3NL/IBwMQV9yXFRAUcdWee3if5YGxN1nPgB+tzvL5/p im7qdFlkCR3NTDvhgryGvouD050JRsyuEub33wdxUM8jZmU6qPlekvGZ+GhmUaR+ 8BY+JwbayBkkMSrkWkCYihQqe43mbl2zpdMQIhSzeOYspVKxGZs7WaFcrpQ3prD/ efQmCKjeumGDIy9/h6kqIiRpl6AehnOFmSgKZh0pAo1nHWR5lqhNkQmPn07sAO2G HfoqUmBHFUY= =nZy9 -----END PGP SIGNATURE----- --nextPart91224006.u60r6FmXvE-- -- gentoo-dev@gentoo.org mailing list