Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411019 - net-fs/samba - nmbd silently dies when invalid listening address specified.
Summary: net-fs/samba - nmbd silently dies when invalid listening address specified.
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-06 12:17 UTC by Tim Bowers
Modified: 2020-01-07 21:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Bowers 2012-04-06 12:17:17 UTC
If you set a nonexistant address for interfaces in smb.conf nmb will silently die, causing netbios lookups (and possibly other functions) to fail. However smbd continues to run, providing some aspects of samba file sharing.


Example code:

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
   interfaces = 192.168.1.10/24 192.168.2.10/24

## 192.168.2.10 doesn't exist (it was infact an old interface I'd previously removed).

Expected behaviour:
Samba should run normally, and ignore the non-existant interface (possibly warning about it).

Actual behaviour:
nmbd silently dies, smbd spawns two instances (one for each IP).
Comment 1 Víctor Ostorga (RETIRED) gentoo-dev 2012-04-10 15:07:04 UTC
This is a known issue, yet I don't know what upstream has to say about this. 

Please increase your parameter "log level" and attach your /var/log/samba/log.nmbd
Comment 2 Víctor Ostorga (RETIRED) gentoo-dev 2012-04-10 15:37:49 UTC
I think this behaviour is more a "feature" than a bug, however I suggest you to open a bug in samba bugzilla [1]

[1] https://bugzilla.samba.org/
Comment 3 Ben Kohler gentoo-dev 2020-01-07 21:20:43 UTC
Please reopen if this still affects samba-4