GNU bug report logs - #61342
Quassel IRC service deletes nsfs mount on startup

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Riley Smith <rly@HIDDEN>; dated Tue, 7 Feb 2023 08:01:03 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Feb 2023 08:00:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 07 03:00:44 2023
Received: from localhost ([127.0.0.1]:50916 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pPIu9-0008Fh-Bp
	for submit <at> debbugs.gnu.org; Tue, 07 Feb 2023 03:00:44 -0500
Received: from lists.gnu.org ([209.51.188.17]:35344)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rly@HIDDEN>) id 1pPHMS-0003bK-BT
 for submit <at> debbugs.gnu.org; Tue, 07 Feb 2023 01:21:48 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rly@HIDDEN>) id 1pPHMQ-0004Ap-Vt
 for bug-guix@HIDDEN; Tue, 07 Feb 2023 01:21:47 -0500
Received: from out-152.mta1.migadu.com ([95.215.58.152])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rly@HIDDEN>) id 1pPHMO-00089G-KA
 for bug-guix@HIDDEN; Tue, 07 Feb 2023 01:21:46 -0500
Message-ID: <dac9b0b3-b9d7-14f8-adee-db4b0bf58960@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mt-st.net; s=key1;
 t=1675750894;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=CRYiRzxzyPm1FzvmwGWkCxiINaYkHMhLW0Dq5ZZVxyM=;
 b=58x6BOUB615/+0/WL+lG2MeROkXnabMRmqzvfOA+f7wTLyd070OdCNeXcCJ7qEIXzA2+yA
 9IjrEVqD5yQKOLVwPYbIWDAdfJOKm/ujkbI8k34qoozNkAWT69l5vMnMmLSYVQh3ckOzue
 llDENyYe72HqZbD56M4e1R5vbHGpfqcAOv/iw8hnW5KnhD3sCF+Or1bYmgoav+naFypdmM
 GYzv4UrvMGcGjc5/0SVxyAE9sd4IsxEdnZ5ODnqihHA9L6jx6uzYXaS117b9EqAEh4ZYys
 LtzibQLyXLJwt13mxOq+xJa9j8o3NYzDTTpUPezBQynK5saFFzqyTwvWeNSSsw==
Date: Mon, 6 Feb 2023 22:21:27 -0800
MIME-Version: 1.0
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
From: Riley Smith <rly@HIDDEN>
Subject: Quassel IRC service deletes nsfs mount on startup
Content-Language: en-US
To: bug-guix@HIDDEN
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Migadu-Flow: FLOW_OUT
Received-SPF: pass client-ip=95.215.58.152; envelope-from=rly@HIDDEN;
 helo=out-152.mta1.migadu.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 07 Feb 2023 03:00:40 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Since quassel is the only irc client that has been packaged as a guix 
service, I decided to give it a shot on my server. On the same server I 
also have installed some custom services to create a new net namespace, 
initialize it, and launch some programs inside it. After starting the 
quassel service I discovered that on startup it was removing the nsfs 
mount that I had previously created with `ip netns add`. To reproduce:

1. first add `(service quassel-service-type)` to your system config and 
do a guix system reconfigure

2. stop the quassel service, `herd stop quassel`

3. create a new net namespace named 'test' with a corresponding nsfs 
mount with `ip netns add test`

4. Verify that the nsfs mount is present by running `ip netns list` or 
check the /proc/mounts file for the presence of the nsfs mount at 
/var/run/netns/test

5. start the quassel service, `herd start quassel`

The nsfs mount should now be deleted, and running `ip netns list` will 
report "Error: Peer netns reference is invalid." This was tested on a 
clean install using the latest guix as of Feb 6th. This could be a 
quassel issue unrelated to guix, but I don't know when I'll have time to 
test quassel in a different distro so I wanted to make the issue now so 
others are aware that it exists.


-Riley




Acknowledgement sent to Riley Smith <rly@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#61342; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 7 Feb 2023 08:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.