Your message dated Tue, 02 Aug 2011 18:32:38 +0000
with message-id <e1qojle-0005og...@franck.debian.org>
and subject line Bug#636251: fixed in laptop-mode-tools 1.58-3
has caused the Debian Bug report #636251,
regarding laptop-mode-tools: Enabling laptop mode.../usr/sbin/laptop_mode: line
1143: return: can only `return' from a function or sourced script
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 ow...@bugs.debian.org
immediately.)
--
636251: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636251
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: laptop-mode-tools
Version: 1.58-2
Severity: grave
failed (disabled, not active).
...
failed (enabled, not active).
Package promises much, but is (sadly) unusable :( Thus removed.
Now, it's essential scripting stuff. You just don't do:
return 0;
Maybe:
exit 0
which would mean "ignore all errors that may have occured", but how
smart would that be?
Just skip that all together and handle errors as they may occur,
instead. That would be smarter, indeed.
That script is in a deplorable hackish state :( I doubt _all_ those
forked subshells '(...)' are really necessary, for example. Would you
be intrested in getting patches? Is there a debian repository you
keep the code in?
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages laptop-mode-tools depends on:
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii psmisc 22.14-1 utilities that use the proc file s
ii util-linux 2.19.1-4 Miscellaneous system utilities
Versions of packages laptop-mode-tools recommends:
ii acpid 1:2.0.10-1 Advanced Configuration and Power I
ii ethtool 1:2.6.39-1 display or change Ethernet device
ii hal 0.5.14-6 Hardware Abstraction Layer
ii hdparm 9.32-1 tune hard disk parameters for high
ii net-tools 1.60-24.1 The NET-3 networking toolkit
ii sdparm 1.06-3 Output and modify SCSI device para
ii udev 172-1 /dev/ and hotplug management daemo
ii wireless-tools 30~pre9-5 Tools for manipulating Linux Wirel
laptop-mode-tools suggests no packages.
-- no debconf information
Cheers,
--
Cristian
--- End Message ---
--- Begin Message ---
Source: laptop-mode-tools
Source-Version: 1.58-3
We believe that the bug you reported is fixed in the latest version of
laptop-mode-tools, which is due to be installed in the Debian FTP archive:
laptop-mode-tools_1.58-3.debian.tar.gz
to main/l/laptop-mode-tools/laptop-mode-tools_1.58-3.debian.tar.gz
laptop-mode-tools_1.58-3.dsc
to main/l/laptop-mode-tools/laptop-mode-tools_1.58-3.dsc
laptop-mode-tools_1.58-3_all.deb
to main/l/laptop-mode-tools/laptop-mode-tools_1.58-3_all.deb
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 636...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ritesh Raj Sarraf <r...@debian.org> (supplier of updated laptop-mode-tools
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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 02 Aug 2011 23:24:48 +0530
Source: laptop-mode-tools
Binary: laptop-mode-tools
Architecture: source all
Version: 1.58-3
Distribution: unstable
Urgency: low
Maintainer: Ritesh Raj Sarraf <r...@debian.org>
Changed-By: Ritesh Raj Sarraf <r...@debian.org>
Description:
laptop-mode-tools - Tools for Power Savings based on battery/AC status
Closes: 636251
Changes:
laptop-mode-tools (1.58-3) unstable; urgency=low
.
* [c6f2f64] Don't call true which forks a subshell.
Thanks to Cristian Ionescu-Idbohrn
* [f2d4e70] Use exit instead of return.
Thanks to Eric Belanger (Closes: 636251)
Checksums-Sha1:
2ec1c3e372038d5cdc038b03a8f2426464f9c158 1792 laptop-mode-tools_1.58-3.dsc
d11d78a6c382049fbe8166a8386c30991a65f65b 15902
laptop-mode-tools_1.58-3.debian.tar.gz
ba024b2af0619cd8035c2a6647f84895c323d7f0 113354
laptop-mode-tools_1.58-3_all.deb
Checksums-Sha256:
ce6948fbabdeed5560422b99ff9ae02da2d49fc62e01539fc411bf01eb80b6ea 1792
laptop-mode-tools_1.58-3.dsc
a2ebe811c8afb021a1f98158cedeea37dc3a8af67cbf948c78f5ddfee31d4e14 15902
laptop-mode-tools_1.58-3.debian.tar.gz
d82c9ef94b5deb6e734d8e448d363c15d950d36a3fbd660f42a7b9110ffdab2b 113354
laptop-mode-tools_1.58-3_all.deb
Files:
d2f1643da3fe23f7c2700303900440d9 1792 utils optional
laptop-mode-tools_1.58-3.dsc
68346dcd4dce2bf1367d848bac0d1536 15902 utils optional
laptop-mode-tools_1.58-3.debian.tar.gz
25fa677814ed38520f35748c52950f29 113354 utils optional
laptop-mode-tools_1.58-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCgAGBQJOODyQAAoJEKY6WKPy4XVpRYoP/3tQbu5W/RUNgJ/Nmm00Z4T4
EISgVW8ftm3TlGBHlkN3awphPELdbVMQtDr57IYCLpXvBTm3DNJgSbbKyi8k+DLR
/LxKK28Ygd7HEGUhw6L+TCbNT/hocnTYCVjKzCDCi23VzsSxzfyAHBGli+xJ1Ht8
v2+S2o8tUw4uAIMl5RxmuUKU8/T3E4CiRUJSBmgxg8ZaTKhfSBBMOxrZ7SpDoyyE
1cQVxsnlDSWdjsY0PjcSzEvqZgsGEc0a18qr2CoC8BDxuOSKU0vpw/aRQr48RuGC
6ZG7IJtqZfbaPueaglqKs1yhWvy0WEqoLqThwaztV4b8B6CqWM1g3Ac1wJ9zOlO3
LGEzFUhtoG9TV6VUxmv1cvN/BDp0A3ZOy8FBwddSRes5MDfEEvgUlUSGY7Q+x8Oc
7t47CAaiuTilWBpmOwKj1/8TugBDGWx8HCJ6gAZg3QjDfKiuXPVt+vasjEwjC87X
Il3Rh355Xlpq8UqScpLUcvYqEIZPpRYZk6xAMCF1XUD07CPohZeu80AHSnVRCoUu
2worcHtaULSp1xrbQnpzhJj6hDN4FFk+PxbNaDLIvj4y4Gvrpv7IT60G4u3mHS4e
TPVkzumRMzYktkbYwX3WtdT1YZJEiv8IW/3R3+1Uimoj5jTbXWhXOYoIfkB8ivpu
KdYTJmLKUV76M99SdA5X
=s2q2
-----END PGP SIGNATURE-----
--- End Message ---