unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Riley Smith via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 61342@debbugs.gnu.org
Subject: bug#61342: Quassel IRC service deletes nsfs mount on startup
Date: Mon, 6 Feb 2023 22:21:27 -0800	[thread overview]
Message-ID: <dac9b0b3-b9d7-14f8-adee-db4b0bf58960@mt-st.net> (raw)

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




                 reply	other threads:[~2023-02-11 13:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dac9b0b3-b9d7-14f8-adee-db4b0bf58960@mt-st.net \
    --to=bug-guix@gnu.org \
    --cc=61342@debbugs.gnu.org \
    --cc=rly@mt-st.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).