According to http://bugs.freedesktop.org/show_bug.cgi?id=26508#c0, the
following would be a permanent workaround:

Create a file /etc/udev/rules.d/80-udisks.rules with the following
contents:

KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="usb", 
ENV{DEVTYPE}=="disk", ENV{UDISKS_DISABLE_POLLING}="1"
KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="ata", 
ENV{DEVTYPE}=="disk", ENV{UDISKS_DISABLE_POLLING}="1"
KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="scsi", 
ENV{DEVTYPE}=="disk", ENV{ID_VENDOR}=="ATA", ENV{UDISKS_DISABLE_POLLING}="1"

This has been approved by me and it really stops the polling. Anyhow, I
think that this is a bug of udev or udisks because it makes no sense to
poll for SMART data all the time if it isn't evaluated. I also think
that it should be configurable to poll for SMART data only on disks
which are either active or idle.

** Bug watch added: freedesktop.org Bugzilla #26508
   http://bugs.freedesktop.org/show_bug.cgi?id=26508

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/638765

Title:
  udisks wakes up unmounted drives from standby with smart polls

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to