Your message dated Mon, 15 Jul 2013 15:48:27 +0000 with message-id <[email protected]> and subject line Bug#619950: fixed in shutdown-at-night 0.11 has caused the Debian Bug report #619950, regarding shutdown-at-night: allows shutdown initiation when gridengine jobs are running, or within a few minutes of booting 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.) -- 619950: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619950 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: shutdown-at-night Version: 0.8 Severity: normal Tags: patch The check for logged in users doesn't detect running gridengine jobs. Also, it is possible that the hourly cron job to shutdown comes a few minutes after booting, but before a user has logged in. A potential patch is: *** /usr/lib/shutdown-at-night/shutdown-at-night 2010-03-03 16:07:46.000000000 -0500 --- /root/shutdown-at-night 2011-03-28 10:39:10.000000000 -0400 *************** *** 66,71 **** --- 66,80 ---- if [ "$(who)" ] || ps -efwww | egrep -q ' ssh .*LTSP_CLIEN[T]' ; then return 1 fi + # Uptime is less than one hour + if (( $(cat /proc/uptime | awk '{print int($1)}') < 3600 )) ; then + return 1 + fi + # Gridengine jobs running + if type qstat &>/dev/null && [[ -n $(qstat -ne -f -q *@$(hostname) ) ]] ; then + return 1 + fi return 0 } I'm going to test this on a few debian installs and will follow up if there are any problems -- System Information: Debian Release: 6.0.1 APT prefers oldstable APT policy: (500, 'oldstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages shutdown-at-night depends on: ii cron 3.0pl1-116 process scheduling daemon ii fping 2.4b2-to-ipv6-16.1 sends ICMP ECHO_REQUEST packets to ii ng-utils 0.7-1 Tool to access netgroups from the ii perl 5.10.1-17 Larry Wall's Practical Extraction ii wakeonlan 0.41-10 Sends 'magic packets' to wake-on-L Versions of packages shutdown-at-night recommends: ii nvram-wakeup 1.1-1 A tool to read/write the WakeUp ti Versions of packages shutdown-at-night suggests: pn sitesummary <none> (no description available) -- no debconf information
--- End Message ---
--- Begin Message ---Source: shutdown-at-night Source-Version: 0.11 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. Petter Reinholdtsen <[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: SHA1 Format: 1.8 Date: Mon, 15 Jul 2013 17:26:07 +0200 Source: shutdown-at-night Binary: shutdown-at-night Architecture: source all Version: 0.11 Distribution: unstable Urgency: low Maintainer: Petter Reinholdtsen <[email protected]> Changed-By: Petter Reinholdtsen <[email protected]> Description: shutdown-at-night - System to shut down clients at night, and wake them in the mornin Closes: 619950 Changes: shutdown-at-night (0.11) unstable; urgency=low . * Quiet down cron job to wake up client to not complain when fping notice they are unavailable. * Add support for extending the "busy" detection in shutdown-at-night by adding code to run hooks in /etc/shutdown-at-night/unused.d and /usr/lib/shutdown-at-night/unused.d. (Closes: #619950) Checksums-Sha1: 46ae84cf25e95e993ea55aa90b03cdfa5046e4b7 890 shutdown-at-night_0.11.dsc 413dece55457a906c55a903795020eeb57762766 6057 shutdown-at-night_0.11.tar.gz 471b7c6b0c3965daeb1c75e2b5c0d4a81059ab27 8844 shutdown-at-night_0.11_all.deb Checksums-Sha256: 2f7d6d2972217cea06c28133c0754ec5e681343af299de1b121cb37c76191b26 890 shutdown-at-night_0.11.dsc 9ffdb499fcd3a6b607de44423742bfdaa4c937ee3d74b8bc2b7405197d21db57 6057 shutdown-at-night_0.11.tar.gz 7547c52b50a30cbe335cc2d08a68e6f4d26c1e043f3f302c6ad53d7325e2ce27 8844 shutdown-at-night_0.11_all.deb Files: 41ca2b8f691888d6a7da44532e29dbbc 890 misc optional shutdown-at-night_0.11.dsc 2edce6cf03b3dde564adf37c95bb303c 6057 misc optional shutdown-at-night_0.11.tar.gz 6137eded2935b2354409d6409fd1b529 8844 misc optional shutdown-at-night_0.11_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFR5BTR20zMSyow1ykRAuOrAKDVmwf9WUK/MdJ5H6okbuG827MgfwCfSegX wgAg+prVtZdCWqqomg6MXqU= =nGRC -----END PGP SIGNATURE-----
--- End Message ---

