Your message dated Sat, 27 May 2023 05:04:07 +0000 with message-id <[email protected]> and subject line Bug#1036316: Removed package(s) from unstable has caused the Debian Bug report #364917, regarding vrrpd: Need new ioctl for -m (monitoring) to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 364917: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364917 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: vrrpd Version: 1.0-1 Severity: normal The monitoring option of vrrpd (-m) does not support the new ioctl for MII for example : # vrrpd -m eth1 SIOCGMIIPHY on eth1 failed: Operation not supported This problem can be corrected with the following patch : diff -u vrrpd-old.c vrrpd.c --- vrrpd-old.c 2006-04-26 18:10:37.000000000 +0200 +++ vrrpd.c 2006-04-26 18:11:46.000000000 +0200 @@ -113,6 +113,7 @@ int skfd[MAXINTS]; /* AF_INET socket for ioctl() calls. */ struct ifreq ifr[MAXINTS]; char *ifname[MAXINTS]; +int new_ioctl_nums; /**************************************************************** NAME : print_buffer 01/05/23 12:26:27 @@ -1784,7 +1785,7 @@ data[0] = phy_id; data[1] = location; - if ( ioctl( skfd[i], SIOCGMIIREG, &ifr[i] ) < 0 ) { + if ( ioctl( skfd[i], new_ioctl_nums ? 0x8948 : SIOCGMIIREG, &ifr[i] ) < 0 ) { fprintf( stderr, "SIOCGMIIREG on %s failed: %s\n", ifr[i].ifr_name, strerror( errno )); return -1; @@ -1806,12 +1807,18 @@ } /* Get the vitals from the interface. */ strncpy( ifr[i].ifr_name, ifname[i], IFNAMSIZ ); - if ( ioctl( skfd[i], SIOCGMIIPHY, &ifr[i]) < 0 ) { + if (ioctl(skfd[i], 0x8947, &ifr[i]) >= 0) { + new_ioctl_nums=1; + } + else if ( ioctl( skfd[i], SIOCGMIIPHY, &ifr[i]) >= 0 ) { + new_ioctl_nums=0; + } else + { fprintf( stderr, "SIOCGMIIPHY on %s failed: %s\n", ifname[i], strerror( errno )); (void) close( skfd[i] ); exit( -1 ); - } + } } /**************************************************************** -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-686-smp Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages vrrpd depends on: ii libc6 2.3.6-7 GNU C Library: Shared libraries vrrpd recommends no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Version: 1.0-2+rm Dear submitter, as the package vrrpd has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/1036316 The version of this package that was in Debian prior to this removal can still be found using https://snapshot.debian.org/. Please note that the changes have been done on the master archive and will not propagate to any mirrors until the next dinstall run at the earliest. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]. Debian distribution maintenance software pp. Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---

