From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlo Zancanaro Subject: Re: Improving Shepherd Date: Tue, 06 Feb 2018 03:41:49 +1100 Message-ID: <87bmh3gzhu.fsf@zancanaro.id.au> References: <871si8bc5g.fsf@zancanaro.id.au> <877errn23f.fsf@zancanaro.id.au> <20180205170011.73780f13@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eijqF-0003up-KC for guix-devel@gnu.org; Mon, 05 Feb 2018 11:42:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eijqB-0001g3-NV for guix-devel@gnu.org; Mon, 05 Feb 2018 11:42:03 -0500 Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]:44289) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eijqB-0001bv-Fg for guix-devel@gnu.org; Mon, 05 Feb 2018 11:41:59 -0500 Received: by mail-wr0-x22b.google.com with SMTP id v31so30279809wrc.11 for ; Mon, 05 Feb 2018 08:41:59 -0800 (PST) In-reply-to: <20180205170011.73780f13@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; format=flowed Hey Danny, On Mon, Feb 05 2018, Danny Milosavljevic wrote: > I assume that means "starts a user's shepherd when they log in". Either that, or run the services itself. In either case, what you have sent is very helpful! > User namespaces just present a different set of names to your > process > (via VFS) so it looks like a chroot basically. > It does nothing for processes except fake their ids and limit > your > overview of them. > > You probably want process groups (see setsid(2)) or maybe > containers. Okay. I've been trying to read about containers/cgroups/namespaces and I think my mind has just blurred them all into the same thing. I'll read up about process groups. Thanks! Carlo --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE1lpncq7JnOkt+LaeqdyPv9awIbwFAlp4iU0ACgkQqdyPv9aw IbxnGA//TThgvmK5evHcOHaWE65xz2T8SgtpOtZWx2VSfeL9Zx5WI5f8Oui/zWu2 XSDxNGYW7v9JiKdmI7rdpi/iN38820p4f0GSF7g7YcM4YlKKNnDi+BOcj1h5qykH dcBdq5W8yeU43sUSgYCKjCah+UUYx8+dZrIj7NlDiFQPPftUdIfWkd+aAM2AGpTc Qa9NB+OpfEDyk+MPiNEzP1BO23hU+sWLFu+sI7mQHj8Qjpfn6Xz94O6LtjBS1TaW wTCvl+jmm4i0PUdJdzmbaXWDKGdz4Wo+HBwC8yrlo+xjUHPtcywkPylW6gBSYWbx 7dpjk4A0rSF+rCCv4VTRLQMSx+U+f3jKzzI4AVR9POfSo+2Q1KDoQMeJAhvBi7W0 pNHGZJRaxSIz1dn6BJ53hWyvjN5RH9tVoM2XBInq9kE1iPvU5/n/w6TZ7uFQG/zz fD1FUewJHqUA7lRCe8H0wmfnX0eV/zQkcih7x6dqMpim5GH7H3ZcJXWf3n1LJAGw XR+KAQt3LsrmsJrJBj7oomnFyA+aEtJTT8PCsWWANqiGDEXQ5wSHzK9tQLmJGT3M SZMRdDtisfTdM0MM71JqEEq1p+l9jADw7SB4jk4eX/47fnDz5yzqAeo73VyrGS1J CmLjVnHSzjHZ/GgmGiTbiXdd1XK1aL+WUOq7UoqLKxIfccKo8tY= =yFkm -----END PGP SIGNATURE----- --=-=-=--