Bug 759798

Summary: Fails to bind to network on boot
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: sambaAssignee: Guenther Deschner <gdeschner>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: asn, gdeschner, jlayton, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-09 12:35:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tim Waugh 2011-12-03 21:30:39 UTC
Description of problem:
I have smb.service enabled, but on boot connections are refused except for on ::1.

# telnet 192.168.0.2 139
Trying 192.168.0.2...
telnet: connect to address 192.168.0.2: Connection refused
# telnet ::1 139
Trying ::1...
Connected to ::1.
Escape character is '^]'.
^]quit
Connection closed.
# netstat -ntlp | grep -w 139
tcp        0      0 :::139                      :::*                        LISTEN      1396/smbd     
# ip addr show dev p5p1
3: p5p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:02:e3:04:6d:57 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.2/24 brd 192.168.0.255 scope global p5p1
    inet6 fe80::202:e3ff:fe04:6d57/64 scope link 
       valid_lft forever preferred_lft forever

Restarting it fixes the problem:

# systemctl restart smb.service
[root@cyberelk tim]# telnet 192.168.0.2 139
Trying 192.168.0.2...
Connected to 192.168.0.2.
Escape character is '^]'.
^]quit

telnet> quit
Connection closed.

Version-Release number of selected component (if applicable):
samba-3.6.1-75.fc16.x86_64
systemd-37-3.fc16.x86_64
NetworkManager-0.9.1.90-5.git20110927.fc16.x86_64

How reproducible:
Every time.

Comment 1 Andreas Schneider 2011-12-09 12:35:00 UTC

*** This bug has been marked as a duplicate of bug 744399 ***