From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7183020631148986368 X-Received: by 2002:a0c:f842:0:b0:531:b071:c387 with SMTP id g2-20020a0cf842000000b00531b071c387mr1110374qvo.120.1672831216478; Wed, 04 Jan 2023 03:20:16 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:622a:1aa1:b0:3a9:82a1:4f0 with SMTP id s33-20020a05622a1aa100b003a982a104f0ls24251594qtc.11.-pod-prod-gmail; Wed, 04 Jan 2023 03:20:15 -0800 (PST) X-Google-Smtp-Source: AMrXdXt78JaXXNJdlINjQQpLZX2laLfn5ge2RDaGqWgLEpPuDnG0dQVVeJZwpdrqZeOlIaYSkLhS X-Received: by 2002:ac8:43c9:0:b0:3a6:a35f:caa with SMTP id w9-20020ac843c9000000b003a6a35f0caamr64895074qtn.18.1672831215764; Wed, 04 Jan 2023 03:20:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672831215; cv=none; d=google.com; s=arc-20160816; b=Yykc9aEs7xVDvgauC9m657/tHB2BvBTPcWiCMfw8osqVbBoVXXlOT8IALx1tdDpcnD DtDA5KIwVu4f8BgnzxrpAiAWGsoqZtxfwpe6BRu+WujoxjfDfi3JQtJkKnc9xRQR7AK9 MjISOm5CDUvvwegv3cXaNHRStyaSB1sk8rEacBQKNL6xle09j9jT0QbHsTabw3ZKUk5y T65g8X4QK4jFGKolRN+jXhVDw8BAY/N8G7O9CADUxVKO0mI3eThQFilfnmiUakuxQZB8 szLhAFLhaYbYi7pL0f0GqA0sLENvM5jfmOHeQ6/Vtab3eloxYUJxbQAnEkt8HlQ7Mdp9 lEjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=V1Z3iYYOskOt8j29VlYdzbEoPLAFuokyUX1c16LW6Ms=; b=JhueCl67ieR4zc5OoVyqFMRPG7IJUxlC1kbBZMeQ85AC8d0vDleunohws3Npzwr1FJ ghzT3/nJNiyCGT17wPOlPdlQFNrU52q6s0HgoF4IDl2i1JjhDQaKT7MDeVWE1yJ8RjRy sDCS7gZd2NuQec7a1C+58oH9izQeo1/+7MgZM79SSXTIqO++5ytCg11cWVpfHlvsl2LM dsi3rCSxIolXeeTq98d775DFEb2kjd1e9RUoDuE5z+aMFWWQoNgTSv56Cnyx4pOZ8aYP uNAamEJwws/1moi3OYARORJnloCxiurjMbx5TsUANC4Tp4GnY2bdoh1ZNsxm54SWG5kY U0YA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YiaFDqo+; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::f31 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com. [2607:f8b0:4864:20::f31]) by gmr-mx.google.com with ESMTPS id c26-20020ac84e1a000000b003a803b27748si1996911qtw.0.2023.01.04.03.20.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Jan 2023 03:20:15 -0800 (PST) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::f31 as permitted sender) client-ip=2607:f8b0:4864:20::f31; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YiaFDqo+; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::f31 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-qv1-xf31.google.com with SMTP id d13so23362048qvj.8 for ; Wed, 04 Jan 2023 03:20:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=V1Z3iYYOskOt8j29VlYdzbEoPLAFuokyUX1c16LW6Ms=; b=YiaFDqo+8HUP/sG9sNjrZPVAd9BN64nVWgMjnVTD2oM8X+49wIhMrkX3Alob+JIRvH t6psg1pucHU+i0hgIUDCINzexhDB4EuV27ScuJXBxTgy6pEQvuWw+Fd6aCe/ZDUCViDn iynupaNfGBHTeHmYKyNXNxeBp4bLDRikn5cIP6UxNWhoGXAK9WWxAeerZdf6Qg7kP5Ju IHNjdF6R0CprB+HVYmFKalMo3FFSw6g2YyMboTA8dr2m6cMZYZ1lxXSHuVBWfyiQ00Ri Z77SXgtBJYoGcaFxsD5+b8vfsvYya/8KMDsxMZtUDz0PshWEf/94IU32ht1nrstN+bh4 yS4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=V1Z3iYYOskOt8j29VlYdzbEoPLAFuokyUX1c16LW6Ms=; b=mcCGj04Qk2QzP/CjmJVlrwnzk+fx3M9GrGksGKXHZaa1f7PvnQ7aAz15dqu1l0WqFz T9tQGhDt0nac/9tH24lwBkbVPdZiKpjEWkYc4+FxlCdtNAxeOVM9WzyAbK2DP6AbVnHA bIVm3wlNyLYiO93d92qyYiP6pKpnfzcUx2DcJi++9O5hVDr4ZFI2/OZpf/HqZtabFYe1 35SkTaDDBf5Ed+XvoIQ7Id1wStHL26oNhYiPXRIlHCnMKRYnsxA/ER1ySx+tOlQ9yGIE ILi6hDFfM2W9MXpU471asLATSby+3fpzcYJcWlqGsEHQ9LOVh7ZURN4n/Nt55B/8GjvR rDoQ== X-Gm-Message-State: AFqh2krf/viJbnKeES3dHkz4SvB7xmpdGACUPNw7AfY2QtqLnSkrAFtK kWBv1ZjZZlLDmjq0xIloQ23hETeaaY7R4iNJkGVPkhHuVw== X-Received: by 2002:a0c:e7c7:0:b0:4c7:8c1b:68d9 with SMTP id c7-20020a0ce7c7000000b004c78c1b68d9mr2470254qvo.52.1672831215355; Wed, 04 Jan 2023 03:20:15 -0800 (PST) MIME-Version: 1.0 References: <20221230190824.12256-1-amikan@ilbers.de> <20221230190824.12256-5-amikan@ilbers.de> In-Reply-To: From: "Roberto A. Foglietta" Date: Wed, 4 Jan 2023 12:19:39 +0100 Message-ID: Subject: Re: [PATCH v2 4/4] events: Cleanup lost schroot sessions if any To: Anton Mikanovich Cc: isar-users@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-TUID: sJzta0K7zXlC On Tue, 3 Jan 2023 at 10:55, Roberto A. Foglietta wrote: > > On Fri, 30 Dec 2022 at 20:08, Anton Mikanovich wrote: > > > > In case the user will only open imager schroot session but not close it > > we need to find and clean it up. > > Hi Anton, > > this patchset works for me but it missing a 5th patch to free dpkg > base class from buildchroot, here in attachment. > The patch has been also sent by elastic mail SMTP and it went in > moderation as usual. Hi Anton, I have identified an unexpected behaviour - for me an improvement but technically speaking a regression - after having applied your patchset about schroot migration. Try this: git clone https://github.com/robang74/isar-nvidia-debian.git cd isar-nvidia-debian put c9f4b21 in kas: These patches are useful/necessary to let my project building: * c9f4b21 - image tools ext. class defines ISAR_CROSS_COMPILE, if missing (HEAD) * c945877 - dpkg class set default value for ISAR_CROSS_COMPILE, if missing * adafe11 - dpkg class sbuild allows extra arguments by vars This is my patch to migrate the dpkg base class to schroot: * 423c2f3 - dpkg base class: use schroot only not buildchroot anymore These are your patches for schroot migration: * e2d2165 - events: Cleanup lost schroot sessions if any, v2 * 3fb634e - imager: Move image types to schroot, v2 * 51b08db - imager: Migrate from buildchroot to schroot, v2 * 0fea6b1 - sbuild: Allow setting custom config paths, v2 Then do: source .profile clean all build basic-os build The second build should do nothing. Instead, it builds the wic image again starting from image deps: 'do_install_imager_deps'. In my opinion this is a feature because when I use 'wicshell' and I chroot into the image to modify it, sometimes I break things and I want to be back to the original. This allows me to avoid cleaning the build and restart it again which takes a lot of time compared to starting again from image deps. However, from a technical point of view it is a bug. I hope this helps, R-