Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484820 - net-fs/samba - smbd.service: initial network interface binding fails
Summary: net-fs/samba - smbd.service: initial network interface binding fails
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-09-13 20:53 UTC by Reuben Martin
Modified: 2013-09-21 14:10 UTC (History)
1 user (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 Reuben Martin 2013-09-13 20:53:00 UTC
With systemd, the samba services are stating up, but are not usable unstill they get restarted. I am assuming that they are trying to bind to the network interface before it is configured. I changed the dependency for smb, nmb and winbind services from "network.target" to "network-online.target", and it seems to fix the problem with some quick testing. However since I've just recently started trying out systemd, I'm not sure this is correct.

My network interfaces are being managed by the NetworkManager service.

As a side, note: If this is the correct solution, I can think of a few other services that probably might be well advised to use the network-online target as well.

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2013-09-14 15:54:25 UTC
Please provide exact logs to explain upstream the problem (they are supplying some services (that fit better on Fedora) and they are neither using network-online.target
Comment 2 Pacho Ramos gentoo-dev 2013-09-21 14:10:52 UTC
(In reply to Pacho Ramos from comment #1)
> Please provide exact logs to explain upstream the problem (they are
> supplying some services (that fit better on Fedora) and they are neither
> using network-online.target