From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6560291261739171840 X-Received: by 2002:a19:d85b:: with SMTP id p88-v6mr452964lfg.8.1527837744764; Fri, 01 Jun 2018 00:22:24 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:4d53:: with SMTP id a80-v6ls4348508lfb.2.gmail; Fri, 01 Jun 2018 00:22:24 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLbFCowrFKG5TyyNAJrDk++7XU0JnuLm7h8bsk4BHyA4y+tMbI55ULNBsSggqi1iY1o6i3d X-Received: by 2002:a19:d042:: with SMTP id h63-v6mr452671lfg.19.1527837744164; Fri, 01 Jun 2018 00:22:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527837744; cv=none; d=google.com; s=arc-20160816; b=qsfll24XQpMIkmtONItQmGyxMHjjX8ZKhEzb1elMzzwBxTWNZAQZ2B23MWuv5/vX81 +9SuTPmUo/vAIzLDGMlajv+jjcs+uwYnkucGXmA5b9OnaZedoMCggwvZZPAE9Ecs9+1G Ee8LHCDz+bo1XYNveMC9D/48LpY1goicCQE7Qsd75HCCcIKXOJWy2dC8Zw2VknaccUim lRWLQ+kr1nGdm4QCsu3igHjwZevQ9CM1t3qaeNj2pG5hTPCUQJO0dnUa0UM7CWLjQmM8 xrMi0FDK9Mno6gUhqqcVUitqR+ZLEbtjR0wBRrZW7betsphMH49ufhgx2ZbWlkAyQiM8 YS8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:in-reply-to:date:to:from:subject:message-id :arc-authentication-results; bh=7KTzAH00WpqJzesWHMtGGSpJbG6QtTiH4EXmCRLH2tg=; b=cOfqoRCyJSX1UjFnJ1K+tJHQheDyZljZ525JRd617fFaLrc3z//VeYlV+SIF0aRipV mNQzaEZ5EnuOldOq7HZMhIcF4E8zy4fgdfdC2CmG33VvSvZlzL+dJJ6MykZQdBtuKtNV DaDOTSnAKl8WKRL6197rSi7FNluAJzCn3bzURNQQyS8pf7Q228pjSbcGwn33VDWLYQul UqVWxcJyEM0F7PfbO4yBVN9dUd6xRqtc3NxLRzMjGD9fVwWBViE6I80k25lhXaUCW/Zp 834wpH4tI7A5bWinwp5uLxHDyTux1l10rVWMp7XcVRwYXfyuBfEZFVkaK6TIa7kUxHGJ o2zA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of ch@denx.de) smtp.mailfrom=ch@denx.de Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net. [2001:a60:0:28:0:1:25:1]) by gmr-mx.google.com with ESMTPS id b65-v6si1121162ljb.1.2018.06.01.00.22.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jun 2018 00:22:24 -0700 (PDT) Received-SPF: neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of ch@denx.de) client-ip=2001:a60:0:28:0:1:25:1; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of ch@denx.de) smtp.mailfrom=ch@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 40xwl333KMz1qvnX; Fri, 1 Jun 2018 09:22:23 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 40xwl32qb5z1qvT4; Fri, 1 Jun 2018 09:22:23 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id BtbcM638osHg; Fri, 1 Jun 2018 09:22:22 +0200 (CEST) X-Auth-Info: /RRlNNM7sPLk14eEIVNMgdyoGikjjdfh9CvDAWYjKtU= Received: from Orrorin (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 1 Jun 2018 09:22:22 +0200 (CEST) Message-ID: Subject: Re: Daemons and deboostrap From: Claudius Heine To: Jan Kiszka , isar-users@googlegroups.com Date: Fri, 01 Jun 2018 09:22:10 +0200 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-xnhzvCRXCyYDgWx9cAq9" X-Mailer: Evolution 3.28.2 Mime-Version: 1.0 X-TUID: xExg3IvJafgn --=-xnhzvCRXCyYDgWx9cAq9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2018-06-01 at 08:42 +0200, Claudius Heine wrote: > Hi, >=20 > On Wed, 2018-05-30 at 19:30 +0200, Jan Kiszka wrote: > > On 2018-05-27 21:30, Alexander Smirnov wrote: > > > On 05/27/2018 07:00 PM, Alexander Smirnov wrote: > > > > Hi all, > > > >=20 > > > > testing patches from mailing list I've found the problem with > > > > the > > > > current next: there are lots of daemons remain running after > > > > build is > > > > complete (./scripts/ci_build.sh -q). > > > >=20 > > > > 8<-- > > > >=20 > > > > $ ps ax > > > > ... > > > > 24785 ? Ssl 0:00 /usr/bin/qemu-arm-static > > > > /usr/sbin/sshd > > > > 25085 ? Ssl 0:00 /usr/bin/qemu-arm-static > > > > /usr/bin/dbus-daemon --system > > > > 3046 ? Ssl 0:00 /usr/bin/qemu-arm-static > > > > /usr/bin/dbus-daemon --system > > > > 4582 ? Ss 0:00 /usr/bin/dbus-daemon --system > > > > 8577 ? Ssl 0:00 /usr/bin/qemu-arm-static > > > > /usr/bin/dbus-daemon --system > > > > ... > > > >=20 > > > > 8<-- > > > >=20 > > >=20 > > > CI server contains tens of dbus processes, so it's not the issue > > > of > > > my > > > host. > >=20 > > Likely not noticed by us here as we usually build in containers, > > and > > they tear down those daemons once your build is done. >=20 > I normally don't exit the container after a build so it should be > happening there as well, but it didn't for me. > I might have to spend some time testing with different packages in > order to reproduce this, but I am pretty sure I tried installing > openssh before. >=20 > > That said, seems reasonable to restore some daemon startup > > prevention > > then, maybe now with clearer comments why that is needed - I > > vaguely > > recall an internal discussion where the reasons for the existence > > of > > that measures remain open. >=20 > Since installing debian via chroot and debootstrap is one of the > official supported ways of doing it, I would suspect that starting > daemons within that environment should be prevented upstream. >=20 > Maybe take a look at how the debian-installer handles this? I took a look at the debian-installer code and they divert it as well [1]. So we have to implement something like this as well. That code is interesting, we might want to copy more than just the daemon-start-stop divertion process. Cheers, Claudius [1] https://salsa.debian.org/installer-team/debian-installer-utils/blob /master/chroot-setup.sh#L66 --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de PGP key: 6FF2 E59F 00C6 BC28 31D8 64C1 1173 CB19 9808 B153 Keyserver: hkp://pool.sks-keyservers.net --=-xnhzvCRXCyYDgWx9cAq9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEb/LlnwDGvCgx2GTBEXPLGZgIsVMFAlsQ9CIACgkQEXPLGZgI sVNFYQ//fpojlv7+4jCmYdm6VNNM/naqt1YWHmoCdn7KYdXyJs2VpkPoQLup4/+T h31pq4hgf/zZdkqtX5V1GxA64aMbDAr3IyoqWEqJ3yXt4kBlD4vIUR8N9rvQNv5Z o+kTmndR/RnPM8uGJRRtOZywyMVkkdhlEpj6rPnTxI9/zxT6jHTrlKnK8vtZFQRq AoS5tV49retYgFMF9pPeWTeKXpgYNZNaM2wyDg6v39WDjfBLhN1tpsW08sKogKJw 4h03bDHw4VeJ9pH37iS8fAq1lrKJAyE4a1dQHFRpQ0exXrsSpuWEJ5wmPwH6JTQf ZT136sei+oXaVCZGIbVPPNSk4168BYtfQw94Vyye8Hnh5ZqF+EZ/21WvftrIr59q z/jWz6kAymVzYE2vcARgngo9UZDX7l1X7allyq95UyUEW6NeAF//7avr0tCZRA44 h8CorJmEgc/5zq1sTkww2FiLkIRV4eIpQBIad6xIb5PFN0OwSyoiTReJXRJWPzoW iyZ/ksVGelbmghPjKkp0RnFHL5mTN9oQtxf85Y1CsUZZLSGahFkoVsAeN+r1JXyD MfuooUSXHoLA6yZu5CTsn8keQxELzCd6Wz+8ALsMBYVWBPrG6KGnuj8RAwxeDDv1 2VaKq3kZanmNXpU17C4JBTx6W/7fRvhD1JjvffhyOMz1vAFq9o4= =BsdB -----END PGP SIGNATURE----- --=-xnhzvCRXCyYDgWx9cAq9--