linux-modules.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Phil Sutter <phil@nwl.cc>
To: linux-modules@vger.kernel.org
Cc: Yi Chen <yiche@redhat.com>
Subject: modprobe returns 0 upon -EEXIST from insmod
Date: Sun, 17 Aug 2025 01:33:22 +0200	[thread overview]
Message-ID: <aKEVQhJpRdiZSliu@orbyte.nwl.cc> (raw)

Hi,

I admittedly didn't fully analyze the cause, but on my system a call to:

# insmod /lib/module/$(uname -r)/kernel/net/netfilter/nf_conntrack_ftp.ko

fails with -EEXIST (due to a previous call to 'nfct add helper ftp inet
tcp'). A call to:

# modprobe nf_conntrack_ftp

though returns 0 even though module loading fails. Is there a bug in
modprobe error status handling?

Cheers, Phil

             reply	other threads:[~2025-08-16 23:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-16 23:33 Phil Sutter [this message]
2025-08-17 15:54 ` modprobe returns 0 upon -EEXIST from insmod Christophe Leroy
2025-08-18  9:34   ` Phil Sutter
2025-08-18 10:07     ` Christophe Leroy
2025-08-18 10:56       ` Phil Sutter
2025-08-19  8:52     ` Petr Pavlu
2025-08-19 14:17       ` Lucas De Marchi
2025-08-19 14:32         ` Christophe Leroy
2025-10-08  6:41         ` Lucas De Marchi
2025-10-09 13:47           ` Petr Pavlu
2025-10-09 14:13             ` Lucas De Marchi

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

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

  git send-email \
    --in-reply-to=aKEVQhJpRdiZSliu@orbyte.nwl.cc \
    --to=phil@nwl.cc \
    --cc=linux-modules@vger.kernel.org \
    --cc=yiche@redhat.com \
    /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.
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 NNTP newsgroup(s).