<div dir="auto">Updating the installed code and restarting the routing daemons should be decoupled.<div dir="auto"><br></div><div dir="auto">-Chris</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 5, 2019, 14:13 Sim <<a href="mailto:simvirus@gmail.com">simvirus@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A solution can be update "/usr/lib/frr/watchfrr" to check strange<br>
system behavior like this and reboot (always better to stay isolated)<br>
<br>
Regards<br>
Sim<br>
<br>
Il giorno ven 5 apr 2019 alle ore 13:10 Christian Franke<br>
<<a href="mailto:chris@opensourcerouting.org" target="_blank" rel="noreferrer">chris@opensourcerouting.org</a>> ha scritto:<br>
><br>
> I think older packages used to ask the user whether routing daemons should be restarted during upgrade and refrained from restarts by default.<br>
><br>
> Not sure if we changed this behavior, I think it was a good thing to allow the users to pick a time when a restart of the routing daemons doesn't affect them and to have that disjunct from the actual upgrade.<br>
><br>
> All Best,<br>
> Chris<br>
><br>
> On Fri, Apr 5, 2019, 09:33 Sim <<a href="mailto:simvirus@gmail.com" target="_blank" rel="noreferrer">simvirus@gmail.com</a>> wrote:<br>
>><br>
>> The issue is also present with the new 7.0 version.<br>
>><br>
>> Regards<br>
>><br>
>> Sim<br>
>><br>
>> Il giorno ven 5 apr 2019 alle ore 09:20 Sim <<a href="mailto:simvirus@gmail.com" target="_blank" rel="noreferrer">simvirus@gmail.com</a>> ha scritto:<br>
>> ><br>
>> > Hello,<br>
>> > today again a big disservice after auto-update with this packages.<br>
>> ><br>
>> > Start-Date: 2019-04-05  09:01:25<br>
>> > Commandline: apt-get -y -qq upgrade<br>
>> > Upgrade: libsystemd0:amd64 (237-3ubuntu10.15, 237-3ubuntu10.17),<br>
>> > grub-common:amd64 (2.02-2ubuntu8.12, 2.02-2ubuntu8.13),<br>
>> > grub2-common:amd64 (2.02-2ubuntu8.12, 2.02-2ubuntu8.13), udev:amd64<br>
>> > (237-3ubuntu10.15, 237-3ubuntu10.17), grub-pc:am<br>
>> > d64 (2.02-2ubuntu8.12, 2.02-2ubuntu8.13), libudev1:amd64<br>
>> > (237-3ubuntu10.15, 237-3ubuntu10.17), grub-pc-bin:amd64<br>
>> > (2.02-2ubuntu8.12, 2.02-2ubuntu8.13), systemd-sysv:amd64<br>
>> > (237-3ubuntu10.15, 237-3ubuntu10.17), libpam-systemd:amd64 (237-3ub<br>
>> > untu10.15, 237-3ubuntu10.17), systemd:amd64 (237-3ubuntu10.15,<br>
>> > 237-3ubuntu10.17), libnss-systemd:amd64 (237-3ubuntu10.15,<br>
>> > 237-3ubuntu10.17), libunistring2:amd64 (0.9.9-0ubuntu1,<br>
>> > 0.9.9-0ubuntu2)<br>
>> > End-Date: 2019-04-05  09:01:57<br>
>> ><br>
>> > The issue is caused from systemd update and this is the result:<br>
>> ><br>
>> > # route -n<br>
>> > Kernel IP routing table<br>
>> > Destination     Gateway         Genmask         Flags Metric Ref    Use Iface<br>
>> > x.x.32.0     0.0.0.0         255.255.255.240 U     0      0        0 ens192<br>
>> > x.x.32.16    0.0.0.0         255.255.255.240 U     0      0        0 ens160<br>
>> ><br>
>> > I think that FRR is not a valid product compared to others used in the past.<br>
>> ><br>
>> > This is a serious problem!!!<br>
>> ><br>
>> > Regards<br>
>> ><br>
>> > Il giorno mer 20 feb 2019 alle ore 12:44 Sim <<a href="mailto:simvirus@gmail.com" target="_blank" rel="noreferrer">simvirus@gmail.com</a>> ha scritto:<br>
>> > ><br>
>> > > After apt-get upgrade / upgrade FRR lost all routes.<br>
>> > > Reboot or restart the server is the solution to resolve the issue.<br>
>> > > I'm new with FRR, but this is not happened with Quagga in the last 10/15 years.<br>
>> > ><br>
>> > > Is it a "FRR issue" or about Ubuntu 18.04 LTS version?<br>
>> > ><br>
>> > > # apt-get upgrade<br>
>> > > Reading package lists... Done<br>
>> > > Building dependency tree<br>
>> > > Reading state information... Done<br>
>> > > Calculating upgrade... Done<br>
>> > > The following packages will be upgraded:<br>
>> > >   libnss-systemd libpam-systemd libpci3 libsystemd0 libudev1 pciutils<br>
>> > > systemd systemd-sysv udev<br>
>> > > 9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<br>
>> > > Need to get 4,765 kB of archives.<br>
>> > > After this operation, 56.3 kB of additional disk space will be used.<br>
>> > > Do you want to continue? [Y/n]<br>
>> > > Get:1 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> bionic-updates/main amd64<br>
>> > > libnss-systemd amd64 237-3ubuntu10.13 [105 kB]<br>
>> > > Get:2 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> bionic-updates/main amd64<br>
>> > > libsystemd0 amd64 237-3ubuntu10.13 [205 kB]<br>
>> > > Get:3 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> bionic-updates/main amd64<br>
>> > > libpam-systemd amd64 237-3ubuntu10.13 [108 kB]<br>
>> > > Get:4 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> bionic-updates/main amd64<br>
>> > > systemd amd64 237-3ubuntu10.13 [2,899 kB]<br>
>> > > Get:5 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> bionic-updates/main amd64 udev<br>
>> > > amd64 237-3ubuntu10.13 [1,101 kB]<br>
>> > > Get:6 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> bionic-updates/main amd64<br>
>> > > libudev1 amd64 237-3ubuntu10.13 [54.1 kB]<br>
>> > > Get:7 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> bionic-updates/main amd64<br>
>> > > systemd-sysv amd64 237-3ubuntu10.13 [12.0 kB]<br>
>> > > Get:8 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> bionic-updates/main amd64<br>
>> > > pciutils amd64 1:3.5.2-1ubuntu1.1 [257 kB]<br>
>> > > Get:9 <a href="http://archive.ubuntu.com/ubuntu" rel="noreferrer noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu</a> bionic-updates/main amd64<br>
>> > > libpci3 amd64 1:3.5.2-1ubuntu1.1 [24.1 kB]<br>
>> > > Fetched 4,765 kB in 8s (575 kB/s)<br>
>> > > (Reading database ... 67479 files and directories currently installed.)<br>
>> > > Preparing to unpack .../libnss-systemd_237-3ubuntu10.13_amd64.deb ...<br>
>> > > Unpacking libnss-systemd:amd64 (237-3ubuntu10.13) over (237-3ubuntu10.12) ...<br>
>> > > Preparing to unpack .../libsystemd0_237-3ubuntu10.13_amd64.deb ...<br>
>> > > Unpacking libsystemd0:amd64 (237-3ubuntu10.13) over (237-3ubuntu10.12) ...<br>
>> > > Setting up libsystemd0:amd64 (237-3ubuntu10.13) ...<br>
>> > > (Reading database ... 67479 files and directories currently installed.)<br>
>> > > Preparing to unpack .../libpam-systemd_237-3ubuntu10.13_amd64.deb ...<br>
>> > > Unpacking libpam-systemd:amd64 (237-3ubuntu10.13) over (237-3ubuntu10.12) ...<br>
>> > > Preparing to unpack .../systemd_237-3ubuntu10.13_amd64.deb ...<br>
>> > > Unpacking systemd (237-3ubuntu10.13) over (237-3ubuntu10.12) ...<br>
>> > > Preparing to unpack .../udev_237-3ubuntu10.13_amd64.deb ...<br>
>> > > Unpacking udev (237-3ubuntu10.13) over (237-3ubuntu10.12) ...<br>
>> > > Preparing to unpack .../libudev1_237-3ubuntu10.13_amd64.deb ...<br>
>> > > Unpacking libudev1:amd64 (237-3ubuntu10.13) over (237-3ubuntu10.12) ...<br>
>> > > Setting up libudev1:amd64 (237-3ubuntu10.13) ...<br>
>> > > Setting up systemd (237-3ubuntu10.13) ...<br>
>> > > (Reading database ... 67479 files and directories currently installed.)<br>
>> > > Preparing to unpack .../systemd-sysv_237-3ubuntu10.13_amd64.deb ...<br>
>> > > Unpacking systemd-sysv (237-3ubuntu10.13) over (237-3ubuntu10.12) ...<br>
>> > > Preparing to unpack .../pciutils_1%3a3.5.2-1ubuntu1.1_amd64.deb ...<br>
>> > > Unpacking pciutils (1:3.5.2-1ubuntu1.1) over (1:3.5.2-1ubuntu1) ...<br>
>> > > Preparing to unpack .../libpci3_1%3a3.5.2-1ubuntu1.1_amd64.deb ...<br>
>> > > Unpacking libpci3:amd64 (1:3.5.2-1ubuntu1.1) over (1:3.5.2-1ubuntu1) ...<br>
>> > > Setting up libnss-systemd:amd64 (237-3ubuntu10.13) ...<br>
>> > > Processing triggers for ureadahead (0.100.0-20) ...<br>
>> > > Setting up systemd-sysv (237-3ubuntu10.13) ...<br>
>> > > Processing triggers for libc-bin (2.27-3ubuntu1) ...<br>
>> > > Setting up udev (237-3ubuntu10.13) ...<br>
>> > > update-initramfs: deferring update (trigger activated)<br>
>> > > Processing triggers for man-db (2.8.3-2ubuntu0.1) ...<br>
>> > > Processing triggers for dbus (1.12.2-1ubuntu1) ...<br>
>> > > Setting up libpci3:amd64 (1:3.5.2-1ubuntu1.1) ...<br>
>> > > Setting up libpam-systemd:amd64 (237-3ubuntu10.13) ...<br>
>> > > Setting up pciutils (1:3.5.2-1ubuntu1.1) ...<br>
>> > > Processing triggers for initramfs-tools (0.130ubuntu3.6) ...<br>
>> > > update-initramfs: Generating /boot/initrd.img-4.15.0-45-generic<br>
>> > > Processing triggers for libc-bin (2.27-3ubuntu1) ...<br>
>> > ><br>
>> > ><br>
>> > ><br>
>> > > # apt-get upgrade<br>
>> > > Reading package lists... Done<br>
>> > > Building dependency tree<br>
>> > > Reading state information... Done<br>
>> > > Calculating upgrade... Done<br>
>> > > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<br>
>> > ><br>
>> > ><br>
>> > ><br>
>> > > # ps fax<br>
>> > >   PID TTY      STAT   TIME COMMAND<br>
>> > ><br>
>> > >   955 ?        S<s    0:45 /usr/lib/frr/watchfrr -d -r<br>
>> > > /usr/lib/frr/watchfrr.sh restart %s -s /usr/lib/frr/watchfrr.sh start<br>
>> > > %s -k /usr/lib/frr/watchfrr.sh stop %s zebra bgpd staticd<br>
>> > >  1006 ?        S<sl   3:59 /usr/lib/frr/zebra -d -A 127.0.0.1 -s 90000000<br>
>> > >  1009 ?        S<sl   7:22 /usr/lib/frr/bgpd -d -A 127.0.0.1<br>
>> > >  1016 ?        S<s    0:05 /usr/lib/frr/staticd -d -A 127.0.0.1<br>
>> > ><br>
>> > ><br>
>> > ><br>
>> > > # vtysh<br>
>> > ><br>
>> > > Hello, this is FRRouting (version 6.0.2).<br>
>> > > Copyright 1996-2005 Kunihiro Ishiguro, et al.<br>
>> > ><br>
>> > > xxx# sh ip bgp summary<br>
>> > ><br>
>> > > IPv4 Unicast Summary:<br>
>> > > BGP router identifier x.x.32.34, local AS number xxxxxx vrf-id 0<br>
>> > > BGP table version 6693928<br>
>> > > RIB entries 6, using 960 bytes of memory<br>
>> > > Peers 2, using 41 KiB of memory<br>
>> > ><br>
>> > > Neighbor        V         AS MsgRcvd MsgSent   TblVer  InQ OutQ<br>
>> > > Up/Down State/PfxRcd<br>
>> > > x.x.118.244   4       xxxx  915579   27779        0    0    0 00:03:45<br>
>> > >       Active<br>
>> > > x.x.32.33     4     xxxxxx  843680  352816        0    0    0 00:05:16<br>
>> > >       Active<br>
>> > ><br>
>> > ><br>
>> > ><br>
>> > > # ip add<br>
>> > > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN<br>
>> > > group default qlen 1000<br>
>> > >     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br>
>> > >     inet <a href="http://127.0.0.1/8" rel="noreferrer noreferrer" target="_blank">127.0.0.1/8</a> scope host lo<br>
>> > >        valid_lft forever preferred_lft forever<br>
>> > >     inet x.x.32.34/32 scope global lo<br>
>> > >        valid_lft forever preferred_lft forever<br>
>> > >     inet6 ::1/128 scope host<br>
>> > >        valid_lft forever preferred_lft forever<br>
>> > > 2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state<br>
>> > > UP group default qlen 1000<br>
>> > >     link/ether 00:50:56:ba:53:46 brd ff:ff:ff:ff:ff:ff<br>
>> > >     inet x.x.32.29/28 brd x.x.32.31 scope global ens160<br>
>> > >        valid_lft forever preferred_lft forever<br>
>> > >     inet6 fe80::250:56ff:feba:5346/64 scope link<br>
>> > >        valid_lft forever preferred_lft forever<br>
>> > > 3: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state<br>
>> > > UP group default qlen 1000<br>
>> > >     link/ether 00:50:56:ba:af:9d brd ff:ff:ff:ff:ff:ff<br>
>> > >     inet x.x.32.3/28 brd x.x.32.15 scope global ens192<br>
>> > >        valid_lft forever preferred_lft forever<br>
>> > >     inet6 fe80::250:56ff:feba:af9d/64 scope link<br>
>> > >        valid_lft forever preferred_lft forever<br>
>> > ><br>
>> > ><br>
>> > > # route -n<br>
>> > > Kernel IP routing table<br>
>> > > Destination     Gateway         Genmask         Flags Metric Ref    Use Iface<br>
>> > > x.x.32.0     0.0.0.0         255.255.255.240 U     0      0        0 ens192<br>
>> > > x.x.32.16    0.0.0.0         255.255.255.240 U     0      0        0 ens160<br>
>> > ><br>
>> > ><br>
>> > > Regards<br>
>> > > Sim<br>
>><br>
>> _______________________________________________<br>
>> frog mailing list<br>
>> <a href="mailto:frog@lists.frrouting.org" target="_blank" rel="noreferrer">frog@lists.frrouting.org</a><br>
>> <a href="https://lists.frrouting.org/listinfo/frog" rel="noreferrer noreferrer" target="_blank">https://lists.frrouting.org/listinfo/frog</a><br>
<br>
_______________________________________________<br>
frog mailing list<br>
<a href="mailto:frog@lists.frrouting.org" target="_blank" rel="noreferrer">frog@lists.frrouting.org</a><br>
<a href="https://lists.frrouting.org/listinfo/frog" rel="noreferrer noreferrer" target="_blank">https://lists.frrouting.org/listinfo/frog</a><br>
</blockquote></div>