Bug#898159: openntpd: ifup is blocked for 15 sec by openntpd restart if ntpserver is not reachable

2018-05-08 Thread Daniel Krambrock
Package: openntpd
Version: 1:6.0p1-2
Severity: important
Tags: patch

Dear Maintainer,

on stretch openntpd restarts every time a new interface is added. On boot,
without the interface that provides network and many bridge interfaces, this
leeds to a timeout of networking.service and failed ntp.service.

For example starting br_vlan1040:

May 07 15:56:17 node16 kernel: br_vlan1040: port 1(vlan1040) entered blocking
state
May 07 15:56:17 node16 kernel: br_vlan1040: port 1(vlan1040) entered disabled
state
May 07 15:56:17 node16 kernel: device vlan1040 entered promiscuous mode
May 07 15:56:17 node16 kernel: br_vlan1040: port 1(vlan1040) entered blocking
state
May 07 15:56:17 node16 kernel: br_vlan1040: port 1(vlan1040) entered forwarding
state
May 07 15:56:17 node16 kernel: IPv6: ADDRCONF(NETDEV_UP): br_vlan1040: link is
not ready
May 07 15:56:17 node16 ntpd[1333]: ntp engine exiting
May 07 15:56:17 node16 systemd[1]: Stopping OpenNTPd Network Time Protocol...
May 07 15:56:17 node16 ntpd[1336]: Terminating
May 07 15:56:17 node16 systemd[1]: Stopped OpenNTPd Network Time Protocol.
May 07 15:56:17 node16 systemd[1]: Starting OpenNTPd Network Time Protocol...
May 07 15:56:18 node16 ntpd[1756]: configuration OK
May 07 15:56:18 node16 ntpd[2173]: ntpd: can't set priority: Permission denied
May 07 15:56:18 node16 ntpd[2266]: ntp engine ready
May 07 15:56:18 node16 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): br_vlan1040: link
becomes ready
May 07 15:56:33 node16 ntpd[2173]: no reply received in time, skipping initial
time setting
May 07 15:56:33 node16 systemd[1]: Started OpenNTPd Network Time Protocol.
May 07 15:56:33 node16 systemd[1]: Reloading OpenBSD Secure Shell server.
May 07 15:56:33 node16 sshd[18649]: Received SIGHUP; restarting.
May 07 15:56:33 node16 systemd[1]: Reloaded OpenBSD Secure Shell server.
May 07 15:56:33 node16 sshd[18649]: Server listening on 0.0.0.0 port 22.
May 07 15:56:33 node16 sshd[18649]: Server listening on :: port 22.

I found a fix here:
https://github.com/debops/debops/pull/325/commits/648434f7fc87b3e0764c9635a5c4b0ee2161925f
witch leeds to the patch:

~# diff -u openntpd_orig/etc/network/if-up.d/openntpd /etc/network/if-
up.d/openntpd
--- openntpd_orig/etc/network/if-up.d/openntpd  2016-11-11 22:47:56.0
+0100
+++ /etc/network/if-up.d/openntpd   2018-05-08 10:16:42.885001246 +0200
@@ -7,4 +7,14 @@
exit 0
 fi

-invoke-rc.d openntpd force-reload || true
+if [ "$MODE" != start ]; then
+exit 0
+fi
+
+if [ -d /run/systemd/system ]; then
+if [ "`systemctl is-active openntpd.service`" = "active" ] ; then
+systemctl restart --no-block openntpd.service || true
+fi
+else
+invoke-rc.d openntpd force-reload || true
+fi

I am using Debian GNU/Linux 9.4



Bug#609224: installation-report squeeze

2011-01-10 Thread Daniel Krambrock
hi,

thanks for the help. with pxe-installer 20110106 hard drives are
detected. everything works just fine.

bests

daniel





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#609224: installation-report squeeze

2011-01-07 Thread Daniel Krambrock
Package: installation-reports

Boot method: network
Image version:  Debian version:  6.0 (squeeze)
Installer build: 20101127
Date: 06.01.2011

Machine: 
http://www.supermicro.com/products/system/2U/6026/SYS-6026TT-HIBQRF.cfm?INF=
Processor: Intel Xeon Quad Core L5630 SLBVD (8T)
Memory: 12 G
Partitions: --

Output of lspci -knn (or lspci -nn):

lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation QuickPath Architecture I/O Hub to 
ESI Port [8086:3403] (rev 22)
00:01.0 PCI bridge [0604]: Intel Corporation QuickPath Architecture I/O Hub PCI 
Express Root Port 1 [8086:3408] (rev 22)
Kernel driver in use: pcieport-driver
Kernel modules: shpchp
00:02.0 PCI bridge [0604]: Intel Corporation QuickPath Architecture I/O Hub PCI 
Express Root Port 2 [8086:3409] (rev 22)
Kernel driver in use: pcieport-driver
Kernel modules: shpchp
00:03.0 PCI bridge [0604]: Intel Corporation QuickPath Architecture I/O Hub PCI 
Express Root Port 3 [8086:340a] (rev 22)
Kernel driver in use: pcieport-driver
Kernel modules: shpchp
00:07.0 PCI bridge [0604]: Intel Corporation QuickPath Architecture I/O Hub PCI 
Express Root Port 7 [8086:340e] (rev 22)
Kernel driver in use: pcieport-driver
Kernel modules: shpchp
00:13.0 PIC [0800]: Intel Corporation QuickPath Architecture I/O Hub I/OxAPIC 
Interrupt Controller [8086:342d] (rev 22)
00:14.0 PIC [0800]: Intel Corporation QuickPath Architecture I/O Hub System 
Management Registers [8086:342e] (rev 22)
00:14.1 PIC [0800]: Intel Corporation QuickPath Architecture I/O Hub GPIO and 
Scratch Pad Registers [8086:3422] (rev 22)
00:14.2 PIC [0800]: Intel Corporation QuickPath Architecture I/O Hub Control 
Status and RAS Registers [8086:3423] (rev 22)
00:14.3 PIC [0800]: Intel Corporation QuickPath Architecture I/O Hub Throttle 
Registers [8086:3438] (rev 22)
00:16.0 System peripheral [0880]: Intel Corporation DMA Engine [8086:3430] (rev 
22)
00:16.1 System peripheral [0880]: Intel Corporation DMA Engine [8086:3431] (rev 
22)
00:16.2 System peripheral [0880]: Intel Corporation DMA Engine [8086:3432] (rev 
22)
00:16.3 System peripheral [0880]: Intel Corporation DMA Engine [8086:3433] (rev 
22)
00:16.4 System peripheral [0880]: Intel Corporation DMA Engine [8086:3429] (rev 
22)
00:16.5 System peripheral [0880]: Intel Corporation DMA Engine [8086:342a] (rev 
22)
00:16.6 System peripheral [0880]: Intel Corporation DMA Engine [8086:342b] (rev 
22)
00:16.7 System peripheral [0880]: Intel Corporation DMA Engine [8086:342c] (rev 
22)
00:1a.0 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB 
UHCI Controller #4 [8086:3a37]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1a.1 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB 
UHCI Controller #5 [8086:3a38]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1a.2 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB 
UHCI Controller #6 [8086:3a39]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1a.7 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB2 
EHCI Controller #2 [8086:3a3c]
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:1d.0 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB 
UHCI Controller #1 [8086:3a34]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.1 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB 
UHCI Controller #2 [8086:3a35]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.2 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB 
UHCI Controller #3 [8086:3a36]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.7 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB2 
EHCI Controller #1 [8086:3a3a]
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 
90)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801JIR (ICH10R) LPC Interface 
Controller [8086:3a16]
00:1f.2 SATA controller [0106]: Intel Corporation 82801JI (ICH10 Family) SATA 
AHCI Controller [8086:3a22]
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 82801JI (ICH10 Family) SMBus Controller 
[8086:3a30]
Kernel driver in use: i801_smbus
Kernel modules: i2c-i801
01:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network 
Connection [8086:10d3]
Kernel driver in use: e1000e
Kernel modules: e1000e
02:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network 
Connection [8086:10d3]
Kernel driver in use: e1000e
Kernel modules: e1000e
05:01.0 VGA compatible controller [0300]: Matrox Graphics, Inc. MGA G200eW 
WPCM450 [Hermon] - Winbond/Nuvoton [102b:0532] (rev 0a)

Base