Bug 16274 - CTDB: Cannot find device "<iface>@<link>": need to extract real interface names
Summary: CTDB: Cannot find device "<iface>@<link>": need to extract real interface names
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: CTDB (show other bugs)
Version: 4.25.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba release manager
QA Contact: Samba QA Contact
URL: https://gitlab.com/samba-team/samba/-...
Keywords:
Depends on:
Blocks:
 
Reported: 2026-10-09 09:38 UTC by Björn Baumbach
Modified: 2026-10-23 15:38 UTC (History)
1 user (show)

See Also:


Attachments
fix for 4.25, cherry-picked from master (4.76 KB, patch)
2026-10-09 15:26 UTC, Björn Baumbach
martins: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Baumbach 2026-10-09 09:38:16 UTC
There is an issue in the new 4.25 release when CTDB runs e.g. inside docker containers (with interface names like iface@link):

ctdb-eventd[]: 10.interface:
/etc/ctdb/functions: line 371:
/proc/sys/net/ipv4/conf/eth1@if23/promote_secondaries: No such file or
directory
ctdb-eventd[]: 10.interface: Cannot find device "eth1@if23"

Versions prior 4.25 extracted the interface name before use.

Have patch need bug number.
Comment 1 Samba QA Contact 2026-10-09 15:24:04 UTC
This bug was referenced in samba master:

a860511ec49de09c7a69b13b070bf9335c33b23f
Comment 2 Björn Baumbach 2026-10-09 15:26:47 UTC
Created attachment 19279 [details]
fix for 4.25, cherry-picked from master
Comment 3 Martin Schwenke 2026-10-09 21:58:39 UTC
Comment on attachment 19279 [details]
fix for 4.25, cherry-picked from master

Hi Björn J.  This is ready for 4.25.  Thanks!
Comment 4 Björn Jacke 2026-10-09 22:54:41 UTC
Thank you M. Schwenke :-) ... pushed to 4.25!
Comment 5 Samba QA Contact 2026-10-09 23:53:20 UTC
This bug was referenced in samba v4-25-test:

978b9a51e97585793179b2ee54a7c9c00ae9a5e5
Comment 6 Samba QA Contact 2026-10-23 15:38:29 UTC
This bug was referenced in samba v4-25-stable (Release samba-4.25.1):

978b9a51e97585793179b2ee54a7c9c00ae9a5e5