X2Go Bug report logs - #1458
unattended Debian installations (using preseed) fail when x2gobroker-ssh is involved

version graph

Package: x2gobroker-ssh; Maintainer for x2gobroker-ssh is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2gobroker-ssh is src:x2gobroker.

Reported by: Stefan Baur <X2Go-ML-1@baur-itcs.de>

Date: Fri, 17 Apr 2020 14:10:54 UTC

Severity: normal

Tags: pending

Fixed in version 0.0.4.2

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1458: [X2Go-Dev] Bug#1458: Bug#1458: Bug#1458: unattended Debian installations (using preseed) fail when x2gobroker-ssh is involved
Reply-To: Ulrich Sibiller <uli42@gmx.de>, 1458@bugs.x2go.org
Resent-From: Ulrich Sibiller <uli42@gmx.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Fri, 17 Apr 2020 20:05:20 +0000
Resent-Message-ID: <handler.1458.B1458.158715371212800@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1458
X-X2Go-PR-Package: x2gobroker-ssh
X-X2Go-PR-Keywords: 
References: <CANVnVYJuGhHgK0o2RNZ15-V80faqGY1ngcWaH+6oM4LJGW-5mg@mail.gmail.com> <ae83255d-c9ca-fab9-d0f1-cd3325e720f2@baur-itcs.de> <09a01d9f-1db4-ad20-e0f5-d08889ab89f6@baur-itcs.de> <CANVnVYJTBAXpuboCLDzXhPW_7AFVktSUtkuFzDxX2h-15xPTow@mail.gmail.com> <68797907-6554-1e47-c80a-2d7bffc0a6a7@baur-itcs.de> <09a01d9f-1db4-ad20-e0f5-d08889ab89f6@baur-itcs.de>
Received: via spool by 1458-submit@bugs.x2go.org id=B1458.158715371212800
          (code B ref 1458); Fri, 17 Apr 2020 20:05:20 +0000
Received: (at 1458) by bugs.x2go.org; 17 Apr 2020 20:01:52 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=3.0 tests=BAYES_50,FREEMAIL_FROM,
	RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham
	autolearn_force=no version=3.4.2
Received: from mail-yb1-f174.google.com (mail-yb1-f174.google.com [209.85.219.174])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id D60B65DAE5
	for <1458@bugs.x2go.org>; Fri, 17 Apr 2020 22:00:31 +0200 (CEST)
Received: by mail-yb1-f174.google.com with SMTP id a9so1654722ybc.8
        for <1458@bugs.x2go.org>; Fri, 17 Apr 2020 13:00:31 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to;
        bh=F8/LRz2Y3FX3e/b9vHFSX+t9s6/ArVkqivLk2mUzd6E=;
        b=TCZPntct6Ulscnq7niBdXnVlc6dMDvd34Y447BDKC/ddPzYHcX+WqptejSoVTY/TT5
         WdlvIledzJOqUu72v87gSgPQiB3dq723D7TY7HUuJfnYUdugblDUb0wgvtxehFdoYLYy
         +PmN2IhVUpoeOaPiJS9J4sooP79Ub0caajfARr66R5PSH0voRMi+LOMEQAkPwDO3szdK
         sOe9XBB6O7R5j1d2OvZdb5uSWPXl3NYMbmfwLknuxp9bpAjuLUgh2fmFBnkWGcLXxfHE
         dlmMxCgArZGJygEPtlko/4o7eNYRTYSUpMLzBsKw49C7HlAM1NW3Nvn3eRLFuRB4W1ft
         DfTQ==
X-Gm-Message-State: AGi0PuZXESLYq4J0dciyRhxnWBokgoJ3q0x3BQJtgk61UdAXP3xVjwOp
	bKVaRr57/c/qTUzFg1sG23l1Jy2iywCS6jQ0dDRb09N5
X-Google-Smtp-Source: APiQypKYLRJ4YzOQ5z6iLq1yZKtInK0Rh+ZCxZ9KPM94eUWpUEr96datXcVMe3jwbDxqfec++b19O3Xl5ieObYSLV0s=
X-Received: by 2002:a5b:84c:: with SMTP id v12mr821210ybq.483.1587153625802;
 Fri, 17 Apr 2020 13:00:25 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <68797907-6554-1e47-c80a-2d7bffc0a6a7@baur-itcs.de>
From: Ulrich Sibiller <uli42@gmx.de>
Date: Fri, 17 Apr 2020 21:59:59 +0200
Message-ID: <CANVnVYJ4S_rCX3a43aWzW3FK4CvfW-k=fcFCFOOjRekHYWvG0Q@mail.gmail.com>
To: Stefan Baur <X2Go-ML-1@baur-itcs.de>, 1458@bugs.x2go.org
Content-Type: text/plain; charset="UTF-8"
On Fri, Apr 17, 2020 at 8:36 PM Stefan Baur <X2Go-ML-1@baur-itcs.de> wrote:
> let me make this clear, in case you missed the "severity: important" tag
> I gave this bug:

Yes, I did.


> Currently, all automated Debian installs for x2gobroker-ssh are failing
> due to this faulty piece of code.

So, let's make this clear: Code, which should not be there at all ist
now breaking installation. That's exactly my point... It should not be
there.

I have just checked on my Debian 10. Here's a snipped from /usr/sbin/groupadd:
...
    printf (gtx("Adding group `%s' (GID %d)
...\n"),$new_name,$new_gid) if $verbose;
    &invalidate_nscd("group");
    my $groupadd = &which('groupadd');
    &systemcall($groupadd, '-g', $new_gid, $new_name);
    &invalidate_nscd("group");
    print (gtx("Done.\n")) if $verbose;
...

So this is where this kind of code belongs to. Debian has everything in place.

So I agree that this should be fixed asap in x2gobroker-ssh, but it
should be fixed by removing the nscd code altogether.

> So if we remove it, we're likely to get another bug report tagged
> "severity: important", just coming from the other direction, begging us
> to add this code again.

No, those people begging for it can be instructed to check their
distro. And to run the flush manually. Or even to simply reboot.

> That is why our only option right now is to deploy this patch into
> stable ASAP, to make the code do what it is supposed to do - flush the
> cache IF nscd is RUNNING, and ONLY THEN.
>
> No one is claiming that this is a magic cure-all for every problem there
> may be with nscd or sssd caching.

I see it - as this bug report proves - as an unneccessary source for problems.

Uli

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Mar 29 11:29:19 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.