Quassel IRC service deletes nsfs mount on startup

  • Open
  • quality assurance status badge
Details
One participant
  • Riley Smith
Owner
unassigned
Submitted by
Riley Smith
Severity
normal

Debbugs page

Riley Smith wrote 2 years ago
(address . bug-guix@gnu.org)
dac9b0b3-b9d7-14f8-adee-db4b0bf58960@mt-st.net
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
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 61342@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 61342
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help