Hello, and Happy 2013.

I have same problem with a Kimsufi server to OVH Canada.
IPv6 is configured on this Ubuntu 12.10 server.

When I start the ntpd task, ntpd make a segfault :

Jan  1 17:56:02 ks397789 ntpd[1821]: ntpd 4.2.6p3@1.2290-o Mon Aug 20 15:15:21 
UTC 2012 (1)
Jan  1 17:56:02 ks397789 ntpd[1822]: proto: precision = 0.200 usec
Jan  1 17:56:02 ks397789 ntpd[1822]: ntp_io: estimated max descriptors: 1024, 
initial socket boundary: 16
Jan  1 17:56:02 ks397789 ntpd[1822]: Listen and drop on 0 v4wildcard 0.0.0.0 
UDP 123
Jan  1 17:56:02 ks397789 ntpd[1822]: Listen and drop on 1 v6wildcard :: UDP 123
Jan  1 17:56:02 ks397789 ntpd[1822]: Listen normally on 2 lo 127.0.0.1 UDP 123
Jan  1 17:56:02 ks397789 ntpd[1822]: Listen normally on 3 eth0 192.95.25.135 
UDP 123
Jan  1 17:56:02 ks397789 ntpd[1822]: Listen normally on 4 eth0 
fe80::e269:95ff:fed8:6652 UDP 123
Jan  1 17:56:02 ks397789 ntpd[1822]: Listen normally on 5 eth0 
2607:5300:60:2987::1 UDP 123
Jan  1 17:56:02 ks397789 ntpd[1822]: Listen normally on 6 lo ::1 UDP 123
Jan  1 17:56:02 ks397789 ntpd[1822]: peers refreshed
Jan  1 17:56:02 ks397789 ntpd[1822]: Listening on routing socket on fd #23 for 
interface updates
Jan  1 17:56:06 ks397789 ntpd[1822]: Deleting interface #6 lo, ::1#123, 
interface stats: received=0, sent=0, dropped=0, active_time=2 secs
Jan  1 17:56:06 ks397789 ntpd[1822]: Deleting interface #5 eth0, 
2607:5300:60:2987::1#123, interface stats: received=0, sent=0, dropped=0, 
active_time=2 secs
Jan  1 17:56:06 ks397789 ntpd[1822]: 2605:1b00:0:1::1d interface 
2607:5300:60:2987::1 -> (none)
Jan  1 17:56:06 ks397789 kernel: ntpd[1822]: segfault at 8 ip 00007f176a1b5321 
sp 00007fffebca98d0 error 4 in ntpd[7f176a198000+96000]
Jan  1 17:56:06 ks397789 kernel: grsec: From 109.129.16.136: Segmentation fault 
occurred at 0000000000000008 in /usr/sbin/ntpd[ntpd:1822] uid/euid:110/110 
gid/egid:118/118, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0

Seem to crash after deleting the IPv6 interface 2607:5300:60:2987::1

The IPv6 :
# ifconfig
eth0      Link encap:Ethernet  HWaddr e0:69:95:d8:66:52  
          inet addr:192.95.25.135  Bcast:192.95.25.255  Mask:255.255.255.0
          inet6 addr: fe80::e269:95ff:fed8:6652/64 Scope:Link
          inet6 addr: 2607:5300:60:2987::1/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1140147 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1046438 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:162234138 (162.2 MB)  TX bytes:208465599 (208.4 MB)
          Interrupt:44 Base address:0xa000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:94416 errors:0 dropped:0 overruns:0 frame:0
          TX packets:94416 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:12404004 (12.4 MB)  TX bytes:12404004 (12.4 MB)

Thanks.

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

Title:
  ntpd crashes when network interface goes down

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1069543/+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

Reply via email to