Your message dated Tue, 22 Mar 2022 09:20:29 +0000 with message-id <e1nwagn-00083z...@fasolo.debian.org> and subject line Bug#1006604: fixed in debian-edu-config 2.12.18 has caused the Debian Bug report #1006604, regarding better error reporting in case machines are used which were not added in GOsa 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 ow...@bugs.debian.org immediately.) -- 1006604: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006604 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: debian-edu-config Severity: important Version: 2.12.17 Control: found -1 2.11.56+deb11u3 Hi all,another debug session with a customer revealed a problem in the update-hostname-from-ip script that gets called via ifup as post-up hook script. The script fails with non-zero exitcode at various places, esp. near the very end of the script: if no hostname could be found, this is interpreted as failure and the script exits with exit code 1.If the site admin has not added a system entry for a given Debian Edu client host in GOsa², the host will retrieve an IP address, but then fail in update-hostname-from-ip.From ifupdown's perspective this is an overall ifup failure and ifup will kill the related dhclient process of the device that we tried to ifup... The IPv4 lease will then expire after 30min and will not get renewed.There are two solutions at hand for this: (1) /etc/network/interfaces ``` ifup eth0 inet dhcp post-up /usr/sbin/update-hostname-from-ip || true post-up /usr/share/debian-edu-config/tools/update-proxy-from-wpad ``` Note the "|| true" at the end of the first post-up line.Advantage: update-hostname-from-ip can continue to fail, if the hostname update was unsuccessful. This would be an honest behaviour.Disadvantage: we need to tweak this with cfengine3 and all hosts will require a cf-agent run after having upgraded to a fixed d-e-c version. This is definitely suboptimal for a Debian Edu bullseye point release d-e-c pkg upgrade.(2) in /usr/sbin/update-hostname-from-ipWe could also adjust exit codes of /usr/sbin/update-hostname-from-ip in a way, so that it always exits with exitcode 0. This will make ifupdown happy and not config change in /etc/network/interfaces is required.(3) mixed approach...We could use approach (1) for the Debian Edu 12 development branch and use approach (2) for the Debian Edu bullseye update branch...Comments, opinions? Mike -- DAS-NETZWERKTEAM c\o Technik- und Ökologiezentrum Eckernförde Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde mobile: +49 (1520) 1976 148 landline: +49 (4351) 850 8940 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.depgp5uhlvWNFTW.pgp
Description: Digitale PGP-Signatur
--- End Message ---
--- Begin Message ---Source: debian-edu-config Source-Version: 2.12.18 Done: Mike Gabriel <sunwea...@debian.org> We believe that the bug you reported is fixed in the latest version of debian-edu-config, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1006...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Mike Gabriel <sunwea...@debian.org> (supplier of updated debian-edu-config package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Tue, 22 Mar 2022 09:53:57 +0100 Source: debian-edu-config Architecture: source Version: 2.12.18 Distribution: unstable Urgency: medium Maintainer: Debian Edu Developers <debian-edu@lists.debian.org> Changed-By: Mike Gabriel <sunwea...@debian.org> Closes: 1002019 1005841 1006362 1006375 1006604 1008067 Changes: debian-edu-config (2.12.18) unstable; urgency=medium . * etc/cups/cups-browsed-debian-edu.conf: - Let TJENER's print queues appear on Debian Edu clients, use same print queue names on clients as on TJENER. (Closes: #1005841). * sbin/debian-edu-pxeinstall: - Don't append 'ipappend 2' to the kernel boot cmdline anymore as it confuses systemd when booting into the installed system. This resolves the graphical.target not coming up on Debian Edu workstations that got installed via the PXE/network based Debian Installer method. (Closes: #1006362). - Silence stderr output if the artwork theme lacks a plymouth subfolder. This can be silently ignored and should not trouble Debian Edu admins. * sbin/update-hostname-from-ip: - Simply if-then-else-clauses, reduce number of exit calls, don't exit with non-zero exitcode. Improve syslog messages if things fail. (Closes: #1006604). * share/debian-edu-config/squid.conf: - Prefer DNSv4 lookups over DNSv6. Debian Edu does not yet fully support IPv6 and many schools still use IPv4 primarily. This gives a great performance boost to squid installations if IPv6 internet is not fully available for whatever reason. (Closes: #1006375). * share/debian-edu-config/tools/{update-proxy-from-wpad,wpad-extra}: - Don't fail if proxy update is not possible, only send warnings to stderr and syslog. Don't source wpad-extra script, execute it instead and capture stdout. (Closes: #1008067). - White-space clean-up (use only tabs for indentation). * Move /etc/debian-edu/host-keytabs/* to /var/lib/debian-edu/host-keytabs/ and replace directory /etc/debian-edu/host-keytabs by a symlink. (Closes: #1002019). * lintian: Update some override phrases (adjustments to the most recent lintian version). Checksums-Sha1: edb39c0fb53fde383f109be96cae03b731c1b2b4 2055 debian-edu-config_2.12.18.dsc 607d503bbf22853145d96428513cfc5e2b24ceb9 351880 debian-edu-config_2.12.18.tar.xz f30f006b064dcb6daed82f2b9a28f0724ebd81aa 6155 debian-edu-config_2.12.18_source.buildinfo Checksums-Sha256: 260d3adcdf590564f1cae752251bab18ec3d56b7d1a6cf6b02cacf166d300617 2055 debian-edu-config_2.12.18.dsc fc5f21d6ac302095a44243e7b571758f11f7a96598568cd9fc547ad7c43a3a7d 351880 debian-edu-config_2.12.18.tar.xz 57521be07b333041b9913ca60e9618954a8eb4316b75d4d5ca75ab8288097ca9 6155 debian-edu-config_2.12.18_source.buildinfo Files: 7482a92eef5f911e5e7ac9029203b6d7 2055 misc optional debian-edu-config_2.12.18.dsc 61869d4bbddd11faf4cc61a3d20eb6e9 351880 misc optional debian-edu-config_2.12.18.tar.xz 33f92bd82cc8bbf0130f7afd364cd789 6155 misc optional debian-edu-config_2.12.18_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmI5jucVHHN1bndlYXZl ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxbyYP/2+HOhiRUMukM8ikKvVUmdOSiA78 BC9ehCgjTtU3UKa+OmXD10UuPYr2f0T1RgD4gfogr3Tq6gIA50HZ1Ditw+nBRDO7 U2CY4XXwfvb8zgjJhikyKXWMgZxa4+7SuPfJ/ySS21tbPLMM1KVAhS7Vi/F2Kj7H Bq2KQ7wY9heFjB8EiHhoBlkYfa5+1iZ2f8Om7e8RrzCyGHMZxlxSuLSrz9OalEaO tMM5rRDUo7ZHVrjl+SWC9jfQsw7lc5UFdNCNh2VSsP6wsrnmnsGsEKaafx/R2ucj qmcNvHNPI0JwTySVG9+uxFkezjwvwgvHAlOWxf8Bo0xJ/ud8S2/EntgAl2fbrvIP qxMlm2NK0Tp7VqFUExVDbqd4F15uwaixLXzCSx+CJwFjDnXsImQuuO/f/aMjN2ru M+s/PlWluUyzPLZlcooKvaqbPHWj+596/Eu/OEt5OGXBe0uAN8dFFrXuzNzeN3cA NA/r/jDuUKb23Fv3YHI35hjY7IPFOenJHaLqvJj/s3eF5FMT5DwNzt+p6G7xCGCJ t6wV3cmIuzPHJkbWSHYB/a2vVHQsFxxgRckKFbQrJPrJQkIaiKSvG7oTagI7wOwW 8syNSADGSmHMRQzzjLof/4gaUUkXBwNMXOn+RuVfA6PbQc21/4txNKLmVExHwktV oJZ7a/fNQA6WFAun =4OJS -----END PGP SIGNATURE-----
--- End Message ---