Your message dated Mon, 15 Feb 2016 10:05:11 +0000
with message-id <[email protected]>
and subject line Bug#773647: fixed in pm-utils 1.4.1-16
has caused the Debian Bug report #773647,
regarding pm-utils: Drop 17-fix-wireless-hook.patch.
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.)


-- 
773647: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773647
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pm-utils
Version: 1.4.1-15
Severity: normal

I think it is time to drop 17-fix-wireless-hook.patch...

After observing /var/log/pm-powersave.log, I believe I have uncovered
a typo on line 23 of /usr/lib/pm-utils/power.d/wireless:

    [ "$(cat /sys/class/net/$1/device/enabled)" = "1" ] || return 1

When the laptop lid is closed, this ends up in the log files:

Running hook /usr/lib/pm-utils/power.d/wireless true:
cat: /sys/class/net/wlan0/device/enabled: No such file or directory
/usr/lib/pm-utils/power.d/wireless true: success.

Removing just one character so that the line reads:

     [ "$(cat /sys/class/net/$1/device/enable)" = "1" ] || return 1

Then, the log file yields this result:

Running hook /usr/lib/pm-utils/power.d/wireless true:
Turning powersave for wlan0 on...Done.
/usr/lib/pm-utils/power.d/wireless true: success.

This same issue is all over the Ubuntu forums.  The name of the file
changed from enable to enabled and back again to enable!


-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pm-utils depends on:
ii  powermgmt-base  1.31+nmu1

Versions of packages pm-utils recommends:
ii  ethtool  1:3.16-1
ii  hdparm   9.43-2
ii  kbd      1.15.5-2
ii  procps   2:3.3.9-9
ii  vbetool  1.1-3

Versions of packages pm-utils suggests:
pn  cpufrequtils    <none>
pn  radeontool      <none>
ii  wireless-tools  30~pre9-8

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: pm-utils
Source-Version: 1.4.1-16

We believe that the bug you reported is fixed in the latest version of
pm-utils, 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.
Martin Pitt <[email protected]> (supplier of updated pm-utils 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: SHA256

Format: 1.8
Date: Mon, 15 Feb 2016 10:26:45 +0100
Source: pm-utils
Binary: pm-utils
Architecture: source all
Version: 1.4.1-16
Distribution: unstable
Urgency: medium
Maintainer: Utopia Maintenance Team 
<[email protected]>
Changed-By: Martin Pitt <[email protected]>
Description:
 pm-utils   - utilities and scripts for power management
Closes: 773647
Changes:
 pm-utils (1.4.1-16) unstable; urgency=medium
 .
   * 17-fix-wireless-hook.patch: Some drivers actually do have an "enable"
     attribute, so accept both "enable" and "enabled". Also invert the logic so
     that if neither attribute exists the device is considered enabled.
     (Closes: #773647, LP: #1544612)
   * Use dh_install instead of debian/rules code for installing Debian hook
     files.
   * Use debian/clean instead of debian/rules code.
   * Move from cdbs to dh.
   * Bump Standards-Version to 3.9.7.
   * Drop Tim Dijkstra as Maintainer, he hasn't uploaded since 2007. Move to
     "Utopia Maintenance Team".
Checksums-Sha1:
 22635a6380678b89881d1e41f932a01fbf3d645e 1955 pm-utils_1.4.1-16.dsc
 be5106ccd7c5c9baca7612e506cd07fcf7475a8d 27012 pm-utils_1.4.1-16.debian.tar.xz
 c10e44e90d907a071d118246fce95d70a9808d7a 118004 pm-utils_1.4.1-16_all.deb
Checksums-Sha256:
 0559d1138fef9d275ce15539bca9694f74b1b7e46957dd4ea409de2598f64afa 1955 
pm-utils_1.4.1-16.dsc
 a30df0013677a4f220b66b849183db90d8d68e56f643337b1ef687c2b53cc2d9 27012 
pm-utils_1.4.1-16.debian.tar.xz
 e523a8658da4cb0dbebdb36751d4fa613251158cf26330c061a4b2c9ebd35d39 118004 
pm-utils_1.4.1-16_all.deb
Files:
 3811ee6312ca8ed9da8920f5473e2548 1955 admin optional pm-utils_1.4.1-16.dsc
 73caf9c59e1985e1bcc6e5237445b21f 27012 admin optional 
pm-utils_1.4.1-16.debian.tar.xz
 d093867fd883e0ed5b9aebd2036472b1 118004 admin optional 
pm-utils_1.4.1-16_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWwZoVAAoJENFO8V2v4RNHSiEQALhqc7wBgaL/yHDk73tmhTNP
b2mxQoCUWzEUSgPT7k0IOuMwuDPBu9yPv4Dwdl8XUPlAezzMP6emH1VKpcmgTWQ4
OVOuGp8EI0dOjZmAT2dZNHwZFeDF+MZ+7RAcSOy+ZDGlncwuKf7+Q7LkCpdDFnoS
k2iW+u3LFWG3pgvZlyBrut3UYk4tY/GdNTxypT1VhCW8XZgpwoPDe4EQLV9/yfCT
Wd6xC8l7TKW8RdYMhBbEqR3FxYO8hD8/Ru6a7Ia+P7Q23cvQgJeBBeKvQck1OxB4
ARqbGwuyn1hsOPsiWSOGMgPUVESBVU1lXgTuB7qhhc+IPLlKCN5joSATBfJRApkC
QHvD3//AmU9c7elmDT6inTKDY+zV1jejomaNl+LHpe3JZ0WDcdtDNjS2ru7MIwO0
ZRkpej6g0bHP/epYgKVmVZSp1pgCRIIOan+XTTQtiwjY+H0pecrIhpX0Ps5Z46bc
8I4JKSwvlkY/H8ka/I3ot1RP9rYff+WuBbiyWaSZnzRwzBFxB7yFG7XSRoYCJBlx
qaInoDoZw90TGCuH0WIi6HZAY5TvPoiytiRJdXtLebys16UeziK2nxD/f3y2ZB/O
2D97Oux8Eg/beqTktOXVwLK1VN76rMWxkyXtqWqzJx2Ki2dcr+Ou07bKTKLmQdPe
zF9Ua9GJV3A9t+PtEARD
=Q0el
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to