Comment 3 for bug 1544612

Revision history for this message
Brian Murray (brian-murray) wrote :

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