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

Bug#662868: marked as done (debian-edu-config: Obsolete generator for shutdown-at-night cause wakeonlan to fail)

Your message dated Mon, 22 Jul 2013 09:03:27 +0000
with message-id <E1V1C1f-00078Q-JS@franck.debian.org>
and subject line Bug#662868: fixed in debian-edu-config 1.710
has caused the Debian Bug report #662868,
regarding debian-edu-config: Obsolete generator for shutdown-at-night cause wakeonlan to fail
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 owner@bugs.debian.org

662868: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662868
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-edu-config
Version: 1.452

The wakeonlan feature for shutdown-at-night is not working in
Skolelinux/Squeeze.  This means machines turned off automatically at
night have to be manually turned on if nvram-wakeup do not work.

I discovered emails like this sent to root on a Main Server:

  From: root@postoffice.intern (Cron Daemon)
  To: root@postoffice.intern
  Subject: Cron <root@tjener> test -x
    /usr/lib/shutdown-at-night/wakeupclients &&

  ICMP Host Unreachable from for ICMP Echo sent to
    delltest.intern (
  ICMP Host Unreachable from for ICMP Echo sent to delltest
  ICMP Host Unreachable from for ICMP Echo sent to
    delltest.intern (
  Use of uninitialized value in concatenation (.) or string at
    /usr/lib/shutdown-at-night/wakeupclients line 48.
  Use of uninitialized value $hwaddr in concatenation (.) or string at
    /usr/lib/shutdown-at-night/wakeupclients line 61.
  Use of uninitialized value $hwaddrs{"delltest.intern"} in
    concatenation (.) or string at
    /usr/lib/shutdown-at-night/wakeupclients line 48.
  Use of uninitialized value $hwaddr in concatenation (.) or string at
    /usr/lib/shutdown-at-night/wakeupclients line 61.

I tracked this down to /etc/shutdown-at-night/clients-generator, which
give this output on my test installation:

  root@tjener:~# /etc/shutdown-at-night/clients-generator

But /usr/lib/shutdown-at-night/wakeupclients now expect it to include
lines with hostname and MAC address separated by space, and thus fail
with the messages listed above.  The MAC address is needed for wakeonlan
to work.

I guess the fix is to rewrite the generator to look up all hosts in the
shutdown-at-night-hosts netgroup in the sitesummary database and output
the MAC address found there.
Happy hacking
Petter Reinholdtsen

--- End Message ---
--- Begin Message ---
Source: debian-edu-config
Source-Version: 1.710

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

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 662868@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Petter Reinholdtsen <pere@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)

Hash: SHA1

Format: 1.8
Date: Sat, 20 Jul 2013 21:20:00 +0200
Source: debian-edu-config
Binary: debian-edu-config debian-edu-config-gosa-netgroups
Architecture: source all
Version: 1.710
Distribution: unstable
Urgency: low
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
 debian-edu-config - Configuration files for Skolelinux systems
 debian-edu-config-gosa-netgroups - netgroups plugin for GOsa²
Closes: 662843 662868 717263
 debian-edu-config (1.710) unstable; urgency=low
   [ Petter Reinholdtsen ]
   * Update comment in update-iceweasel-homepage to reflect the new
   * Fix typo in sitesummary2ldapdhcp, add missing $ in front of
     variable making it impossible to run the script.
   * Uploaded to the Debian Edu archive as debian-edu-config 1.710~svn81733:
   [ Petter Reinholdtsen ]
   * Fix typo in postinst causing installation failure.
   * Uploaded to the Debian Edu archive as debian-edu-config 1.710~svn81731:
   [ Petter Reinholdtsen ]
   * Add new script init-ltsp.d/08-edu-hostname to adjust LTSP boot to
     set hostname based on reverse DNS or MAC address like we do for
     the other machines.
   * Fix argument parsing in get-default-homepage.
   * Rewrite update-iceweasel-homepage to work with Iceweasel in
     Wheezy, and add code in the postinst to remove the now obsolete
     divert of /usr/share/iceweasel/browserconfig.properties.
     (Closes: #717263)
   * Uploaded to the Debian Edu archive as debian-edu-config 1.710~svn81721:
   [ Petter Reinholdtsen ]
   * Rewrite /etc/shutdown-at-night/clients-generator to list hostname
     and MAC address the way wakeupclients now expect it (Closes:
   * Fix code avoiding several nbdswap-cleanup processes to run at
     once, making sure the script to not consider itself as a
     conflicting cleanup process (Closes: #662843).
   * Remove code in
     /etc/NetworkManager/dispatcher.d/02debian-edu-config to update
     hostname from DHCP, as it is redundant thanks to the code in
     /etc/dhcp/dhclient-exit-hooks.d/hostname called by the
     dispatcher.d script, and it was activated on roaming workstations
     where it should not update the hostname.
   * Adjust our system for setting default hostname to set a unique
     generated hostname during installation, fetched either from
     reverse DNS lookups or using the MAC address of the interface used
     by the default route.  Adjust all code setting the hostname to use
     the update-hostname-from-ip script for generating the name.
   [ Holger Levsen ]
   * debian/rules: stop calling (obsolete) dh_pysupport, we don't have any
     python modules anyway.
   * debian-edu-config.postrm+prerm: call debian-edu-ltsp-audiodivert without
     path, it's located in /usr/sbin.
 08b806508de93b9ffca90aa25f06b5cbbc8211c9 1375 debian-edu-config_1.710.dsc
 db55cad4a23d5f38387c02a393f4a12db07c0c5b 523332 debian-edu-config_1.710.tar.gz
 7d477e0764f836874f2ba5edd63a3f9b512252f2 414188 debian-edu-config_1.710_all.deb
 757dc5f698ad9404d1dd86ca7791fa2c1c18d866 120900 debian-edu-config-gosa-netgroups_1.710_all.deb
 bc33a6be7d4dde1ecd4e644c50b171ba3feb5f361d2288c23fb960cfc8ff2d1e 1375 debian-edu-config_1.710.dsc
 39dd36342ff9ef809275391d59d622500571795a4f42a8eb7a17ef0b02661031 523332 debian-edu-config_1.710.tar.gz
 1725558aea766782c6d52a0d51f574742baeda2e423400ee27eccca01f4dc383 414188 debian-edu-config_1.710_all.deb
 fd27ebacd69968764c553dbce4c5f98eebc2f45871dbbcf092fe96640d5c6da0 120900 debian-edu-config-gosa-netgroups_1.710_all.deb
 bdcbd90b5e6cadbea5ad497682c57d23 1375 misc extra debian-edu-config_1.710.dsc
 ea8e9245a04cf7b60fd0a48772306548 523332 misc extra debian-edu-config_1.710.tar.gz
 5a2a691c27f23e0ee781b9d32428d27e 414188 misc extra debian-edu-config_1.710_all.deb
 b66e9be1210bec69535b78ce78463cde 120900 misc extra debian-edu-config-gosa-netgroups_1.710_all.deb

Version: GnuPG v1.4.12 (GNU/Linux)


--- End Message ---

Reply to: