--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: debian-edu-config: wakeupclients script fail because SiteSummary.pm is missing
- From: Petter Reinholdtsen <pere@hungry.com>
- Date: Wed, 12 Aug 2020 09:20:40 +0200
- Message-id: <sa6imdo5nzr.fsf@hjemme.reinholdtsen.name>
Package: debian-edu-config
Version: 2.10.65+deb10u6
Severity: normal
There is an issue with how three Debian Edu packages interact. It
involves debian-edu-config, sitesummary and shutdown-at-night.
After setting up outgoing emails on my laptop, where debian-edu-config
and shutdown-at-night, but not sitesummary, is installed, I started
getting cron emails like this:
Subject: Cron <root@minerva> test -x /usr/lib/shutdown-at-night/wakeupclients && /usr/lib/shutdown-at-night/wakeupclients
Can't locate SiteSummary.pm in @INC (you may need to install the
SiteSummary module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.28.1
/usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28
/usr/share/perl/5.28 /usr/local/lib/site_perl
/usr/lib/x86_64-linux-gnu/perl-base) at
/etc/shutdown-at-night/clients-generator line 7.
BEGIN failed--compilation aborted at
/etc/shutdown-at-night/clients-generator line 7.
The cause seem to be that the cron job from shutdown-at-night
(/etc/cron.d/shutdown-at-night) calls the
/etc/shutdown-at-night/clients-generator script from debian-edu-config,
which fail to work when SiteSummary.pm from the sitesummary package is
not available.
I suspect some dependencies need to be adjusted to ensure the perl
module is available when needed, or the script need to cope with the
missing module in a better way.
-- System Information:
Debian Release: 10.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-9-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages debian-edu-config depends on:
ii bind9-host 1:9.11.5.P4+dfsg-5.1+deb10u1
ii cfengine3 3.12.1-2
ii debconf [debconf-2.0] 1.5.71
ii debconf-utils 1.5.71
ii debian-edu-artwork 2.10.5-1
ii desktop-profiles 1.4.30
ii e2fsprogs 1.44.5-1+deb10u3
ii education-tasks 2.10.47
ii fping 4.2-1
ii gnutls-bin 3.6.7-4+deb10u5
ii isenkram-cli 0.41
ii ldap-utils 2.4.47+dfsg-3+deb10u2
ii ldapscripts 2.0.8-1
ii libconfig-inifiles-perl 3.000001-1
ii libfilesys-df-perl 0.92-6+b4
ii libhtml-fromtext-perl 2.07-1
ii libio-socket-ssl-perl 2.060-3
ii libnet-ldap-perl 1:0.6500+dfsg-1
ii libnet-netmask-perl 1.9104-1
ii libnss3-tools 2:3.42.1-1+deb10u3
ii libpacparser1 1.3.6-1.1+b4
ii libpam-python 1.0.6-1.1+deb10u1
ii libproxy1-plugin-kconfig 0.4.15-5
ii libproxy1-plugin-networkmanager 0.4.15-5
ii libproxy1-plugin-webkit 0.4.15-5
ii libterm-readkey-perl 2.38-1
ii libtext-unaccent-perl 1.08-1.3+b3
ii lockfile-progs 0.1.18
ii lsb-base 10.2019051400
ii lsb-release 10.2019051400
ii mime-support 3.62
ii net-tools 1.60+git20180626.aebd88e-1
ii netcat-openbsd [netcat] 1.195-2
ii netcat-traditional [netcat] 1.10-41.1
ii ng-utils 1.0-1+b1
ii openssl 1.1.1d-0+deb10u3
ii patch 2.7.6-3+deb10u1
ii python 2.7.16-1
ii python-notify 0.1.1-4
ii ssl-cert 1.0.39
ii swaks 20181104.0-2
ii tftp 0.17-22
ii uuid 1.6.2-1.5+b7
Versions of packages debian-edu-config recommends:
ii binutils 2.31.1-16
ii libnotify-bin 0.7.7-4
ii lsof 4.91+dfsg-1
ii memtest86+ 5.01-3
ii resolvconf 1.79
ii syslinux 3:6.04~git20190206.bf6db5b4+dfsg1-1
debian-edu-config suggests no packages.
-- Configuration Files:
/etc/network/if-up.d/hostname [Errno 2] No such file or directory: '/etc/network/if-up.d/hostname'
/etc/network/if-up.d/wpad-proxy-update [Errno 2] No such file or directory: '/etc/network/if-up.d/wpad-proxy-update'
-- debconf information excluded
--
Happy hacking
Petter Reinholdtsen
--- End Message ---
--- Begin Message ---
Source: debian-edu-config
Source-Version: 2.12.17
Done: Holger Levsen <holger@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 968268@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Holger Levsen <holger@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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 13 Feb 2022 09:45:45 +0100
Source: debian-edu-config
Architecture: source
Version: 2.12.17
Distribution: unstable
Urgency: medium
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Holger Levsen <holger@debian.org>
Closes: 815695 968268
Changes:
debian-edu-config (2.12.17) unstable; urgency=medium
.
[ Mike Gabriel ]
* share/debian-edu-config/tools/clean-up-host-keytabs:
- Don't fail on Kerberos principal removal.
- Set executable bits of this file.
* debian/control:
+ Add D (debian-edu-config): libsitesummary-perl (available starting with
sitesummary 0.1.50). (Closes: #815695, #968268).
Checksums-Sha1:
c8de924bfcab1b50df3f39294709be55f85af9f4 2026 debian-edu-config_2.12.17.dsc
506d82c7dd5148ff7e0f5a688380a9e3956c4d52 350876 debian-edu-config_2.12.17.tar.xz
f0240e7527cb3167348ee747ff671496c0217c4e 5452 debian-edu-config_2.12.17_source.buildinfo
Checksums-Sha256:
bfb71b62ac46b49c7c3ecdcec85ce12bcc52801bc60e15c389cdc9cb23c4f3a4 2026 debian-edu-config_2.12.17.dsc
31299a39cfef223d382fc756f4ca89c988d16c596b40c5c84a96633dc2b8625e 350876 debian-edu-config_2.12.17.tar.xz
aca880c7ae26600e0ca899aee678e50fca2c7ef87f5e52ae278eabcc7ab798e4 5452 debian-edu-config_2.12.17_source.buildinfo
Files:
6cf138645e3106df1d8722f27d1f99cf 2026 misc optional debian-edu-config_2.12.17.dsc
5617a4fdc91b4b62ead8b5149d7cd590 350876 misc optional debian-edu-config_2.12.17.tar.xz
f2b7044966f6c2c6024f17914bf553e1 5452 misc optional debian-edu-config_2.12.17_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmISDrIACgkQCRq4Vgaa
qhxUPA//XLgTA+dKHGutnmXZrNlS0xkhezJi7xfrVarD/nNTISnbEheBoZEU9XpZ
5jQMBW8daMonlnOjsrKGzCGRZi3Hc57HdeVS1cidhW1h9j45Nzq79IWT4ctLBHPx
CZz3D2vWQb9QeaBCB1g+Q7qb7JEUjVQuEatkOOKGm0zaBK68WjOFCPRK2DCjaJOC
6eJWDbV5X6QPPPJAML7yIQ57D7Bto2LNJTUabhLZDimDO/iMar+4V6OWeBDGESuL
8xTtBJQxpDs5xZ+8XUWl6K220+EUSm3UZfN+AFdMrg1z36UUx0Mpcu2gwV4CWEy6
1/QbNa+w8ZP4VChSXnY8e25HfX6Mi4TCiv+U0u90sJT7fLZ/EFsUAbJniar9bMHv
4iQh5h2DfvBJsED/lBE9uoS3h+YyMtRsRUKTPkP75qsBqucx+MLkc48awUIDaNof
7PtxKdga+IWXjChMtykMQWUdHodzccfVz3Wl/isnemcQvaT3LJhCPG19aR6FJ9MC
lfuWPP3f6vlegnT9/n8phh00m2MrqezCcLqe0pAZl7VpdyepM6FLQE4Ccmjg2vOQ
FDdIdMlSvhoCRJtO1IEUoDU7T4ItGHFt3QGZoopLdJUm6jxLHDhV7hrbGlyLHVRE
PwPZo1jXkg205agiObsfWGE82C4Ah2CtAirn4UZlKVz40XEzuwI=
=L7SH
-----END PGP SIGNATURE-----
--- End Message ---