[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#968268: debian-edu-config: wakeupclients script fail because SiteSummary.pm is missing



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


Reply to: