enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #03581
[Bug 1339434] [NEW] Samba4 get stuck after a server reboot, if IPv6 is enabled.
Public bug reported:
Guys,
I'm trying to deploy Samba4 AD DC with IPv6 and I'm facing a hard time
(LP #1335502)... First, it didn't worked "as-is", now, after enabling
IPv6 in Samba4 AD DC, it does not come up after a server reboot, it get
stucked, look:
---
root@ubuntu-ad-1:~# host -t SRV _ldap._tcp.tcmc.com.br
_ldap._tcp.tcmc.com.br has SRV record 0 100 389 ubuntu-ad-1.tcmc.com.br.
root@ubuntu-ad-1:~# reboot
Broadcast message from administrativo@ubuntu-ad-1
(/dev/pts/2) at 22:10 ...
The system is going down for reboot NOW!
root@ubuntu-ad-1:~# Connection to 192.168.15.221 closed by remote host.
Connection to 192.168.15.221 closed.
--
tmartins@zion:~$ ssh administrativo@192.168.15.221
administrativo@192.168.15.221's password:
Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-30-generic x86_64)
* Documentation: https://help.ubuntu.com/
Last login: Tue Jul 8 22:09:22 2014 from 192.168.0.104
administrativo@ubuntu-ad-1:~$ sudo -i
[sudo] password for administrativo:
root@ubuntu-ad-1:~# host -t SRV _ldap._tcp.tcmc.com.br
Host _ldap._tcp.tcmc.com.br not found: 3(NXDOMAIN)
root@ubuntu-ad-1:~#
---
Then, I tried:
---
root@ubuntu-ad-1:~# pidof samba
675
root@ubuntu-ad-1:~# pidof smbd
791 719
root@ubuntu-ad-1:~# host -t SRV _ldap._tcp.tcmc.com.br
Host _ldap._tcp.tcmc.com.br not found: 3(NXDOMAIN)
---
See it?!
Now I'm doing:
---
root@ubuntu-ad-1:~# ps xfa
....
461 ? S 0:00 avahi-daemon: running [ubuntu-ad-1.local]
462 ? S 0:00 \_ avahi-daemon: chroot helper
675 ? S 0:00 samba -D
719 ? Ss 0:00 \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --f
791 ? S 0:00 \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes
728 ? Ss 0:00 /usr/sbin/cups-browsed
745 ? S 0:00 upstart-file-bridge --daemon
....
---
So, samba is stucked, I'm not seeing the others "samba" child process as
usual, then I tried:
---
root@ubuntu-ad-1:~# service samba-ad-dc stop
stop: Unknown instance:
root@ubuntu-ad-1:~# killall samba smbd
root@ubuntu-ad-1:~#
root@ubuntu-ad-1:~# service samba-ad-dc start
samba-ad-dc start/running, process 1446
root@ubuntu-ad-1:~# host -t SRV _ldap._tcp.tcmc.com.br
_ldap._tcp.tcmc.com.br has SRV record 0 100 389 ubuntu-ad-1.tcmc.com.br.
---
Back online!!
I believe that there is something wrong with the Samba4 init scripts
when we have IPv6 enabled.
Cheers!
Thiago
** Affects: samba (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
Guys,
I'm trying to deploy Samba4 AD DC with IPv6 and I'm facing a hard time
(LP #1335502)... First, it didn't worked "as-is", now, after enabling
- IPv6 in Samba4, it doe not come up after a server reboot, it get
+ IPv6 in Samba4 AD DC, it does not come up after a server reboot, it get
stucked, look:
---
root@ubuntu-ad-1:~# host -t SRV _ldap._tcp.tcmc.com.br
_ldap._tcp.tcmc.com.br has SRV record 0 100 389 ubuntu-ad-1.tcmc.com.br.
root@ubuntu-ad-1:~# reboot
Broadcast message from administrativo@ubuntu-ad-1
- (/dev/pts/2) at 22:10 ...
+ (/dev/pts/2) at 22:10 ...
The system is going down for reboot NOW!
root@ubuntu-ad-1:~# Connection to 192.168.15.221 closed by remote host.
Connection to 192.168.15.221 closed.
--
tmartins@zion:~$ ssh administrativo@192.168.15.221
- administrativo@192.168.15.221's password:
+ administrativo@192.168.15.221's password:
Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-30-generic x86_64)
- * Documentation: https://help.ubuntu.com/
+ * Documentation: https://help.ubuntu.com/
Last login: Tue Jul 8 22:09:22 2014 from 192.168.0.104
administrativo@ubuntu-ad-1:~$ sudo -i
- [sudo] password for administrativo:
+ [sudo] password for administrativo:
root@ubuntu-ad-1:~# host -t SRV _ldap._tcp.tcmc.com.br
Host _ldap._tcp.tcmc.com.br not found: 3(NXDOMAIN)
- root@ubuntu-ad-1:~#
+ root@ubuntu-ad-1:~#
---
Then, I tried:
---
root@ubuntu-ad-1:~# pidof samba
675
root@ubuntu-ad-1:~# pidof smbd
791 719
root@ubuntu-ad-1:~# host -t SRV _ldap._tcp.tcmc.com.br
Host _ldap._tcp.tcmc.com.br not found: 3(NXDOMAIN)
---
See it?!
Now I'm doing:
---
root@ubuntu-ad-1:~# ps xfa
....
- 461 ? S 0:00 avahi-daemon: running [ubuntu-ad-1.local]
- 462 ? S 0:00 \_ avahi-daemon: chroot helper
- 675 ? S 0:00 samba -D
- 719 ? Ss 0:00 \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --f
- 791 ? S 0:00 \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes
- 728 ? Ss 0:00 /usr/sbin/cups-browsed
- 745 ? S 0:00 upstart-file-bridge --daemon
+ 461 ? S 0:00 avahi-daemon: running [ubuntu-ad-1.local]
+ 462 ? S 0:00 \_ avahi-daemon: chroot helper
+ 675 ? S 0:00 samba -D
+ 719 ? Ss 0:00 \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes --f
+ 791 ? S 0:00 \_ /usr/sbin/smbd -D --option=server role check:inhibit=yes
+ 728 ? Ss 0:00 /usr/sbin/cups-browsed
+ 745 ? S 0:00 upstart-file-bridge --daemon
....
---
So, samba is stucked, I'm not seeing the others "samba" child process as
usual, then I tried:
---
root@ubuntu-ad-1:~# service samba-ad-dc stop
- stop: Unknown instance:
+ stop: Unknown instance:
root@ubuntu-ad-1:~# killall samba smbd
- root@ubuntu-ad-1:~#
+ root@ubuntu-ad-1:~#
root@ubuntu-ad-1:~# service samba-ad-dc start
samba-ad-dc start/running, process 1446
root@ubuntu-ad-1:~# host -t SRV _ldap._tcp.tcmc.com.br
_ldap._tcp.tcmc.com.br has SRV record 0 100 389 ubuntu-ad-1.tcmc.com.br.
---
Back online!!
I believe that there is something wrong with the Samba4 init scripts
when we have IPv6 enabled.
Cheers!
Thiago
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1339434
Title:
Samba4 get stuck after a server reboot, if IPv6 is enabled.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1339434/+subscriptions
Follow ups
References