Bug#382429: samba: problem detecting network interfaces
The problem is that the configure code that determines the method for getting the list of network interfaces mysteriously fails on the amd64 buildd. Usual output: checking for iface AIX... no checking for iface ifconf... got 2 interfaces: eth0 IP=129.206.69.122 NETMASK=255.255.255.0 lo IP=127.0.0.1 NETMASK=255.0.0.0 yes amd64 buildd output: checking for iface AIX... no checking for iface ifconf... got 0 interfaces: no checking for iface ifreq... got -1 interfaces: no The code in question hasn't changed between 3.0.22 and 3.0.23b, none of the other platforms are affected, and a local rebuild on an amd64/etch box doesn't exhibit the problem either. So it looks like something in the configuration of the amd64 buildd has changed for the worse, or the problem is constrained to unstable at the moment. If some more people with amd64 machines could try to rebuild locally, it might help eliminate some doubt. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#382429: samba: problem detecting network interfaces
On Tue, Aug 15, 2006 at 02:01:27PM +0200, Peter Eisentraut wrote: The problem is that the configure code that determines the method for getting the list of network interfaces mysteriously fails on the amd64 buildd. Usual output: checking for iface AIX... no checking for iface ifconf... got 2 interfaces: eth0 IP=129.206.69.122 NETMASK=255.255.255.0 lo IP=127.0.0.1 NETMASK=255.0.0.0 yes amd64 buildd output: checking for iface AIX... no checking for iface ifconf... got 0 interfaces: no checking for iface ifreq... got -1 interfaces: no The code in question hasn't changed between 3.0.22 and 3.0.23b, none of the other platforms are affected, and a local rebuild on an amd64/etch box doesn't exhibit the problem either. So it looks like something in the configuration of the amd64 buildd has changed for the worse, or the problem is constrained to unstable at the moment. If some more people with amd64 machines could try to rebuild locally, it might help eliminate some doubt. grr IIRC, the amd64 buildd runs in a vserver, which does nasty things to how interfaces are seen from userspace. This may be a symptom of that. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#382429: samba: problem detecting network interfaces
Steve Langasek wrote: grr IIRC, the amd64 buildd runs in a vserver, which does nasty things to how interfaces are seen from userspace. This may be a symptom of that. It's possible to reproduce the problem locally if you shut down all your interfaces (/sbin/ifconfig shows nothing) before building. This is clearly a bug in the upstream configury. A local config.cache override might be in order. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#382429: samba: problem detecting network interfaces
On Tue, 2006-08-15 at 19:43 +0200, Peter Eisentraut wrote: Steve Langasek wrote: grr IIRC, the amd64 buildd runs in a vserver, which does nasty things to how interfaces are seen from userspace. This may be a symptom of that. It's possible to reproduce the problem locally if you shut down all your interfaces (/sbin/ifconfig shows nothing) before building. This is clearly a bug in the upstream configury. A local config.cache override might be in order. I agree. Suggestions as to how we can detect that we can detect interfaces, but that there are none, might be acceptable. That said, a system that can't even report that the loopback device exists is a pretty poor system... Andrew Bartlett -- Andrew Bartletthttp://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Red Hat Inc. http://redhat.com signature.asc Description: This is a digitally signed message part
Bug#382429: samba: problem detecting network interfaces
On Wed, Aug 16, 2006 at 12:37:24PM +1000, Andrew Bartlett wrote: On Tue, 2006-08-15 at 19:43 +0200, Peter Eisentraut wrote: Steve Langasek wrote: grr IIRC, the amd64 buildd runs in a vserver, which does nasty things to how interfaces are seen from userspace. This may be a symptom of that. It's possible to reproduce the problem locally if you shut down all your interfaces (/sbin/ifconfig shows nothing) before building. This is clearly a bug in the upstream configury. A local config.cache override might be in order. I agree. Suggestions as to how we can detect that we can detect interfaces, but that there are none, might be acceptable. That said, a system that can't even report that the loopback device exists is a pretty poor system... AIUI, under vserver you don't even have a loopback device :/ -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#382429: samba: problem detecting network interfaces
Package: samba Version: 3.0.23b-1 Severity: normal After upgrading to the latest version of Samba in unstable, Samba fails to start, reporting the following error in /var/log/daemon.log: Aug 10 05:39:34 anang nmbd[26413]: [2006/08/10 05:39:34, 0] lib/interface.c:load_interfaces(197) Aug 10 05:39:34 anang nmbd[26413]: ERROR: Could not determine network interfaces, you must use a interfaces config line Aug 10 05:39:34 anang smbd[26414]: [2006/08/10 05:39:34, 0] lib/interface.c:load_interfaces(197) Aug 10 05:39:34 anang smbd[26414]: ERROR: Could not determine network interfaces, you must use a interfaces config line After adding the interfaces line to my /etc/samba/smb.conf config file, Samba reports the following error every five seconds, but starts and is accessible over the network (at least from my Mac running Tiger): Aug 10 05:41:38 anang nmbd[26437]: [2006/08/10 05:41:38, 0] lib/interface.c:load_interfaces(225) Aug 10 05:41:38 anang nmbd[26437]: WARNING: no network interfaces found Aug 10 05:41:38 anang nmbd[26437]: [2006/08/10 05:41:38, 0] nmbd/nmbd_subnetdb.c:create_subnets(190) Aug 10 05:41:38 anang nmbd[26437]: create_subnets: No local interfaces ! Aug 10 05:41:38 anang nmbd[26437]: [2006/08/10 05:41:38, 0] nmbd/nmbd_subnetdb.c:create_subnets(191) Aug 10 05:41:38 anang nmbd[26437]: create_subnets: Waiting for an interface to appear ... Aug 10 05:41:39 anang smbd[26438]: [2006/08/10 05:41:39, 0] lib/interface.c:load_interfaces(225) Aug 10 05:41:39 anang smbd[26438]: WARNING: no network interfaces found My network settings have not changed, and Samba did not report these errors before. Below is my (rather minimal) /etc/samba/smb.conf file: [global] workgroup = TMBG use kerberos keytab = yes interfaces = eth0 bind interfaces only = yes realm = TMBG [homes] read only = no eth0 receives its configuration through DHCP from my router. Also, removing the line bind interfaces only does not fix the error. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-1-amd64-k8-smp Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages samba depends on: ii debconf [debconf-2.0] 1.5.3Debian configuration management sy ii libacl1 2.2.41-1 Access control list shared library ii libattr12.4.32-1 Extended attribute shared library ii libc6 2.3.6-19 GNU C Library: Shared libraries ii libcomerr2 1.39-1 common error description library ii libcupsys2 1.2.2-1 Common UNIX Printing System(tm) - ii libgnutls13 1.4.1-1 the GNU TLS library - runtime libr ii libkrb531.4.3-9 MIT Kerberos runtime libraries ii libldap22.1.30-13+b1 OpenLDAP libraries ii libpam-modules 0.79-3.1 Pluggable Authentication Modules f ii libpam-runtime 0.79-3.1 Runtime support for the PAM librar ii libpam0g0.79-3.1 Pluggable Authentication Modules l ii libpopt01.10-3 lib for parsing cmdline parameters ii logrotate 3.7.1-3 Log rotation utility ii lsb-base3.1-12 Linux Standard Base 3.1 init scrip ii netbase 4.25 Basic TCP/IP networking system ii procps 1:3.2.7-2/proc file system utilities ii samba-common3.0.23b-1Samba common files used by both th ii zlib1g 1:1.2.3-13 compression library - runtime Versions of packages samba recommends: pn smbldap-tools none (no description available) -- debconf information: samba/nmbd_from_inetd: samba/run_mode: daemons samba/log_files_moved: samba/tdbsam: false samba/generate_smbpasswd: true -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]