Your message dated Tue, 17 Feb 2015 10:50:48 +0000 with message-id <[email protected]> and subject line Bug#775608: fixed in shutdown-at-night 0.15 has caused the Debian Bug report #775608, regarding shutdown-at-night: fails to shut down the system if gdm3 is used 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.) -- 775608: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775608 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: shutdown-at-night Version: 0.14 Severity: important Tags: patch The gdm3 greeter seems to be a special gnome-session running as a user with name '(unknown)'. shutdown-at-night uses 'who' to decide if users are still active but doesn't recognize this very case. The patch has been tested and commited to git. (wheezy is affected as well, version: 0.10+deb7u2) diff --git a/shutdown-at-night b/shutdown-at-night index 4427ef7..9411014 100755 --- a/shutdown-at-night +++ b/shutdown-at-night @@ -98,7 +98,7 @@ prepare_wakeonlan() { # Return true if local user is logged in, false otherwise is_local_user() { - if [ "$(who)" ] ; then + if [ "$(who | grep -v '\(unknown\)')" ] ; then return 0 else return 1 Wolfgang
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---Source: shutdown-at-night Source-Version: 0.15 We believe that the bug you reported is fixed in the latest version of shutdown-at-night, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Holger Levsen <[email protected]> (supplier of updated shutdown-at-night 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Tue, 17 Feb 2015 10:53:25 +0100 Source: shutdown-at-night Binary: shutdown-at-night Architecture: source all Version: 0.15 Distribution: unstable Urgency: medium Maintainer: Debian Edu Packaging Team <[email protected]> Changed-By: Holger Levsen <[email protected]> Description: shutdown-at-night - System to shut down clients at night, and wake them in the mornin Closes: 775608 Changes: shutdown-at-night (0.15) unstable; urgency=medium . [ Wolfgang Schweer ] * Adjust the 'who' command to exclude the special case of gdm3 greeter running as user '(unknown)' to be assumed as a logged in user (Closes: #775608). Checksums-Sha1: 32cf4a6c2d6c7a4b45568985cc8bbbb2f7c345d2 1760 shutdown-at-night_0.15.dsc 8556cba23167396cb31082565ccf7dcf334812fb 7933 shutdown-at-night_0.15.tar.gz d33660ce4164d4d5169de9ade4b11e837848444d 8440 shutdown-at-night_0.15_all.deb Checksums-Sha256: d8e84bd84da2c4f3fe2d689424bcf161260ae66d180288860b057194f42da861 1760 shutdown-at-night_0.15.dsc 8455125d28b1b54a182ce37f087f67ddbeaacd6dba61d2e4dfa3c24a9a717a84 7933 shutdown-at-night_0.15.tar.gz 819b9c2b585f55aa6571f5150765b2620d384599ea0eea0a550941dfbae8748b 8440 shutdown-at-night_0.15_all.deb Files: aaf7554355713059bc75585c46f3c571 1760 misc optional shutdown-at-night_0.15.dsc a7e974e62c489a293af0f83bd50f500a 7933 misc optional shutdown-at-night_0.15.tar.gz 37734f72b126c2f9a8f7f7c8a182b23e 8440 misc optional shutdown-at-night_0.15_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIVAwUBVOMVBAkauFYGmqocAQoMTQ/+N59yXAvuBijy1EYFRg0va2tHR+/3PhYX Pavs1s0bKOcS+95ZDpIHb4PubpdbXa3rJx+W+O2vIP25lMUHNULo676+sGlLFoGf Tt1nYiSXt2HcYv1vqwurdX0GILhRo60fb4uThjbaHTXlFYxktIgb6xcbfI0ofhdK DDeIrGtjUjyqxEVZV94KoSJwFwLqMnD1nnHz/StqN+ay5DDelGECG2eJd6TK0aWQ Xeg2vcU46RVBeO8RbyIne9pzIpQJt+6H5FIwwU1CwjPFwHd+PXM2kXgLHf/fiGt+ vgzpBekpGb0QLo1EPpBnS+CRF20sqqWn3ZFurwQpoW+2+FSCi580WyNFS8gdJigK PpsGJmpPMHCvdesGiZsUIP6m2GRji8bWs2isUcbl6WOOu/X8FOvj+GrAJO0GoUUl JSnmzx2NJzNZ/X0NH5X9AvvfV8r254L0Plh02NeYJy25YBVAdmdOe+oYrtxEOT5X jYgAzRcgHL1t3uQk5NolIiARSOTQ9zLUAZf8ZEyKgivBMcLhitfgG88qy+/M6cfr IZI5Zmnoz2qDh17caQAnhrMzINtB3ouh0DXB1mBnOgHocFNACgllVm/ahL2rNJ5o 5z5yk0u+krZEDDsPfMyS5+M8jBo4gt/7/MgZba8skXb7fx8PmegmNjRtzim9rrWg ygPTFaGgNaM= =hPqQ -----END PGP SIGNATURE-----
--- End Message ---

