← Back to team overview

desktop-packages team mailing list archive

[Bug 1544612] Re: Missing fix for 1299975 claimed to be in pm-utils (1.4.1-13ubuntu0.1)

 

The patch, as one can see athttps://launchpadlibrarian.net/179682498/pm-
utils_1.4.1-13_1.4.1-13ubuntu0.1.diff.gz,  actually makes the following
change:

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

So the patch is applied, but it seems to be wrong as there is no
"enabled" sys file now.

bdmurray@bizarro:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"
bdmurray@bizarro:~$ ls /sys/class/net/eth0/device/
broken_parity_status  consistent_dma_mask_bits  dma_mask_bits  irq            modalias  net        remove  resource   resource4     subsystem         uevent
class                 d3cold_allowed            driver         local_cpulist  msi_bus   numa_node  rescan  resource0  resource4_wc  subsystem_device  vendor
config                device                    enable         local_cpus     msi_irqs  power      reset   resource2  rom           subsystem_vendor  vpd


** Changed in: pm-utils (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pm-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1544612

Title:
  Missing fix for 1299975 claimed to be in pm-utils (1.4.1-13ubuntu0.1)

Status in pm-utils package in Ubuntu:
  New

Bug description:
  The patch debian/patches/17-fix-wireless-hook.patch for bug 1299975 is
  supposed to be applied in pm-utils (1.4.1-13ubuntu0.1) but is not
  installed in that version from trusty-updates.

  The file /usr/lib/pm-utils/power.d/wireless dated 2014-07-15 16:15 (attached) supposedly installed by the updated package still contains line 23
     [ "$(cat /sys/class/net/$1/device/enabled)" = "1" ] || return 1
  which should be 
     [ "$(cat /sys/class/net/$1/device/enable)" = "1" ] || return 1

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: pm-utils 1.4.1-13ubuntu0.1 [modified: usr/lib/pm-utils/pm-functions]
  ProcVersionSignature: Ubuntu 3.13.0-78.122-generic 3.13.11-ckt33
  Uname: Linux 3.13.0-78-generic i686
  ApportVersion: 2.14.1-0ubuntu3.19
  Architecture: i386
  CurrentDesktop: LXDE
  Date: Thu Feb 11 15:10:05 2016
  InstallationDate: Installed on 2014-07-15 (576 days ago)
  InstallationMedia: Lubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140416.2)
  PackageArchitecture: all
  SourcePackage: pm-utils
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1544612/+subscriptions


References