[Bug 951087] Re: Samba non-functional on boot.

2014-04-26 Thread Adrien Beau
Note that instead of editing /etc/init/smbd.conf (which can mess up
package upgrades), you can create a file named /etc/init/smbd.override
and put the line there. Works fine for me, and solved the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/951087

Title:
  Samba non-functional on boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 951087] Re: Samba non-functional on boot.

2013-07-02 Thread Noble Pepper
I have suffered this behavior through several versions of Ubuntu, I
believe since at least Precise.

For me changing smbd.conf start condition from :

start on (local-filesystems and net-device-up)

to:

start on (local-filesystems and net-device-up IFACE!=lo)

takes care of it, seems rather simple, I don't see why anyone would want
to run SAMBA on lo.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/951087

Title:
  Samba non-functional on boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 951087] Re: Samba non-functional on boot.

2013-05-08 Thread m...@bartschnet.de
This BUG is a SECURITY ISSUE!!!

Binding Samba to all interfaces/IPs is a NO-GO if the host has a public
IP (in our case a PDC for multiple sites via VPN).

Ubuntu becomes a laughing-stock by classifying this as low priority.

If Ubuntu doesn't act, we'll file a CVE at Mitre!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/951087

Title:
  Samba non-functional on boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 951087] Re: Samba non-functional on boot.

2013-02-19 Thread Miroslav Zaťko
** Changed in: samba (Ubuntu)
   Status: Expired = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/951087

Title:
  Samba non-functional on boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 951087] Re: Samba non-functional on boot.

2013-02-19 Thread Miroslav Zaťko
the bug is still here... confirmed again on fresh install of Ubuntu 12.04LTS
even start on (local-filesystems and net-device-up IFACE=eth0) did not help

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/951087

Title:
  Samba non-functional on boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 951087] Re: Samba non-functional on boot.

2012-09-06 Thread THCTLO
This bug should be reopend.

Not being able to set the interfaces in the samba config files  is very
bad.

I recommend everybody to skip Ubuntu and change to Debian instead. 
This is not te way to handle Bugs reports. 

There are lots op people use the interfaces setting.

What i you have 2-4-8 Nics and only 1 should use samba.

Ive had this problem on 5 server now, and all are running fine now with
Debian Squeeze.

Ubuntu is slow compaired to debian, just the whole OS is slow, test is
your self...

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/951087

Title:
  Samba non-functional on boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 951087] Re: Samba non-functional on boot.

2012-08-07 Thread Launchpad Bug Tracker
[Expired for samba (Ubuntu) because there has been no activity for 60
days.]

** Changed in: samba (Ubuntu)
   Status: Incomplete = Expired

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/951087

Title:
  Samba non-functional on boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 951087] Re: Samba non-functional on boot.

2012-06-02 Thread sundeep
This is confirmed with a fresh install of Ubuntu 12.04 and vanilla samba
shares. I agree with submitter, this is by no means a Low priority
issue. I have implemented the override and will report results after the
next reboot. This drove me around the bend trying to troubleshoot.

Separately, If the Ubuntu Gurus feel we should use samba differently,
could they please tell us what the preferred method is?

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/951087

Title:
  Samba non-functional on boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 951087] Re: Samba non-functional on boot.

2012-04-17 Thread darkphader
 The upstart configuration for samba makes the assumption that you are
not using this configuration i.e. it assumes that samba will deal with
binding to all interfaces.

It shouldn't do that.

 It would be good to confirm this - please could you attach the log
files for smbd and smbd from /var/log/samba to this bug report.

level 10 logs forthcoming

 start on (local-filesystems and net-device-up IFACE=eth0)

That does help but shouldn't be necessary for such an important package.
What if I was dealing with eth1 instead, then the line has to be edited.
Plus is the override file guaranteed to work through various upgrades?
If not then server stability is really in question.

 I'm downgrading this bug to 'Low' as its very specific to the way you
are using samba and marking 'Incomplete' pending your response on the
above.

Actually a pretty standard way to use Samba. And it's anything but Low
when your Samba box is a PDC or file/print server for many users.
Suggest this bug in Ubuntu finally get fixed.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/951087

Title:
  Samba non-functional on boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 951087] Re: Samba non-functional on boot.

2012-04-17 Thread darkphader
** Attachment added: requested samba logs
   
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+attachment/3087447/+files/samba.logs.tar.bz2

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/951087

Title:
  Samba non-functional on boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 951087] Re: Samba non-functional on boot.

2012-04-12 Thread James Page
The upstart configuration for samba makes the assumption that you are
not using this configuration i.e. it assumes that samba will deal with
binding to all interfaces.

It would be good to confirm this - please could you attach the log files
for smbd and smbd from /var/log/samba to this bug report.

In the meantime you could try adding an override file for your specific
configuration in /etc/init/smbd.override:

start on (local-filesystems and net-device-up IFACE=eth0)

This might help as the smbd daemon will then try to start a bit later
once a real network interface starts up.

I'm downgrading this bug to 'Low' as its very specific to the way you
are using samba and marking 'Incomplete' pending your response on the
above.

Thanks

** Changed in: samba (Ubuntu)
   Importance: High = Low

** Changed in: samba (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/951087

Title:
  Samba non-functional on boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 951087] Re: Samba non-functional on boot.

2012-03-14 Thread Serge Hallyn
** Changed in: samba (Ubuntu)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/951087

Title:
  Samba non-functional on boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 951087] Re: Samba non-functional on boot.

2012-03-09 Thread darkphader
-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/951087

Title:
  Samba non-functional on boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 951087] Re: Samba non-functional on boot.

2012-03-09 Thread darkphader
On Fri, Mar 9, 2012 at 3:16 PM, Jelmer Vernooij
951...@bugs.launchpad.net wrote:
 What does 'netstat -l' say, does it list anything for smbd and nmbd?

Yes.
=
# netstat -lp |grep mbd
tcp0  0 localhost:netbios-ssn   *:*
LISTEN  751/smbd
tcp0  0 localhost:microsoft-ds  *:*
LISTEN  751/smbd
udp0  0 172.26.63.25:netbios-ns *:*
 1045/nmbd
udp0  0 nicedog.kwla:netbios-ns *:*
 1045/nmbd
udp0  0 *:netbios-ns*:*
 1045/nmbd
udp0  0 172.26.63.2:netbios-dgm *:*
 1045/nmbd
udp0  0 nicedog.kwl:netbios-dgm *:*
 1045/nmbd
udp0  0 *:netbios-dgm   *:*
 1045/nmbd
unix  2  [ ACC ] STREAM LISTENING 8679 1045/nmbd
/var/run/samba/unexpected
=

Nmap from another system:
=
Nmap scan reportsnip
Not shown: 996 closed ports
PORT STATE SERVICE
21/tcp   open  ftp
631/tcp  open  ipp
=

After restarting nmbd and smbd:
=
# netstat -lp |grep mbd
tcp0  0 localhost:netbios-ssn   *:*
LISTEN  2058/smbd
tcp0  0 nicedog.kwl:netbios-ssn *:*
LISTEN  2058/smbd
tcp0  0 localhost:microsoft-ds  *:*
LISTEN  2058/smbd
tcp0  0 nicedog.kw:microsoft-ds *:*
LISTEN  2058/smbd
udp0  0 172.26.63.25:netbios-ns *:*
 2050/nmbd
udp0  0 nicedog.kwla:netbios-ns *:*
 2050/nmbd
udp0  0 *:netbios-ns*:*
 2050/nmbd
udp0  0 172.26.63.2:netbios-dgm *:*
 2050/nmbd
udp0  0 nicedog.kwl:netbios-dgm *:*
 2050/nmbd
udp0  0 *:netbios-dgm   *:*
 2050/nmbd
unix  2  [ ACC ] STREAM LISTENING 120712050/nmbd
/var/run/samba/unexpected
=

=
Nmap scan reportsnip
Not shown: 994 closed ports
PORT STATE SERVICE
21/tcp   open  ftp
139/tcp  open  netbios-ssn
445/tcp  open  microsoft-ds
631/tcp  open  ipp
=

However the problem only occurs when I use the following (valid syntax
and configuration) in smb.conf:
=
interfaces = 127.0.0.1 172.26.62.112
bind interfaces only = Yes
=
If I comment the above out and reboot Samba is live but it's not the
desired configuration.

Also even the more general syntax (again not the desired configuration) fails:
=
interfaces = lo eth0
bind interfaces only = Yes
=

Seems like a timing issue with Samba being brought up to early. Had a
similar issue with an earlier Ubuntu release that was never resolved.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/951087

Title:
  Samba non-functional on boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs