Activity log for bug #1373318

Date Who What changed Old value New value Message
2014-09-24 09:01:52 TheNinja bug added bug
2014-09-24 09:07:32 TheNinja description 1) Ubuntu Version: Description: Ubuntu 14.04.1 LTS Release: 14.04 2) Package Version udisks2: Installiert: 2.1.3-1 Installationskandidat: 2.1.3-1 Versionstabelle: *** 2.1.3-1 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages 100 /var/lib/dpkg/status 3) What I expected to happen: My two Seagate drives go to sleep after 10 minutes of inactivity. 4) What happened instead: The drives stay on all the time. The full story: The problem is that the minimum time for the drives to go to sleep is 10 minutes, but they are kept awake by the udisks2 daemon which polls them every 10 minutes for SMART data, resetting the idle timer by doing so. Also this might not happen to all drives, there should be a workaround. Would be great if the patch proposed here [1] would also be integrated into udisks2. A more universal approach might be to make the polling interval configurable with 0=polling disabled. Disabling SMART for the disks works partially: a) The following UDEV flags don't have any effect: E: ID_ATA_FEATURE_SET_SMART=0 E: ID_ATA_FEATURE_SET_SMART_ENABLED=0 E: UDISKS_DISABLE_POLLING=1 E: UDISKS_IGNORE=1 b) The following works: (Note: without killing the daemon, according to "udisksctl monitor" it keeps polling. By polling, the SMART support is reactivated, which seems to be some unexpected behaviour from libatasmart [2]) sudo killall udiskd sudo smartctl --smart=off /dev/sdb # verify sudo smartctl --all /dev/sdb | grep "SMART support" I think it is quite a bad workaround to kill the deamon after every reboot to be able to diable SMART. And disabling SMART is not good either, but it would be fine for me as workaround. [1] https://www.libreoffice.org/bugzilla/show_bug.cgi?id=26508 [2] can be verified with sudo smartctl --smart=off /dev/sdb sudo smartctl --all /dev/sdb | grep "SMART support" sudo skdump --overall /dev/sdb sudo smartctl --all /dev/sdb | grep "SMART support" 1) Ubuntu Version: Description: Ubuntu 14.04.1 LTS Release: 14.04 2) Package Version udisks2:   Installiert: 2.1.3-1   Installationskandidat: 2.1.3-1   Versionstabelle:  *** 2.1.3-1 0         500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages         100 /var/lib/dpkg/status 3) What I expected to happen: My two Seagate drives go to sleep after 10 minutes of inactivity. 4) What happened instead: The drives stay on all the time. The full story: The problem is that the minimum time for the drives to go to sleep is 10 minutes, but they are kept awake by the udisks2 daemon which polls them every 10 minutes for SMART data, resetting the idle timer by doing so. Also this might not happen to all drives, there should be a workaround. Would be great if the patch proposed here [1] would also be integrated into udisks2. A more universal approach might be to make the polling interval configurable with 0=polling disabled. Disabling SMART for the disks works partially: a) The following UDEV flags don't have any effect: E: ID_ATA_FEATURE_SET_SMART=0 E: ID_ATA_FEATURE_SET_SMART_ENABLED=0 E: UDISKS_DISABLE_POLLING=1 E: UDISKS_IGNORE=1 b) The following works: (Note: without killing the daemon, according to "udisksctl monitor" it keeps polling. By polling, the SMART support is reactivated, which seems to be some unexpected behaviour from libatasmart [2]) sudo killall udiskd sudo smartctl --smart=off /dev/sdb # verify sudo smartctl --all /dev/sdb | grep "SMART support" I think it is quite a bad workaround to kill the deamon after every reboot to be able to diable SMART. And disabling SMART is not good either, but it would be fine for me as workaround. [1] https://www.libreoffice.org/bugzilla/show_bug.cgi?id=26508 [2] can be verified with sudo smartctl --smart=off /dev/sdb sudo smartctl --all /dev/sdb | grep "SMART support" sudo skdump --overall /dev/sdb sudo smartctl --all /dev/sdb | grep "SMART support" PS: This is mainly about the old udisks1, but may provide some additional information: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=26508
2014-09-24 09:10:59 TheNinja description 1) Ubuntu Version: Description: Ubuntu 14.04.1 LTS Release: 14.04 2) Package Version udisks2:   Installiert: 2.1.3-1   Installationskandidat: 2.1.3-1   Versionstabelle:  *** 2.1.3-1 0         500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages         100 /var/lib/dpkg/status 3) What I expected to happen: My two Seagate drives go to sleep after 10 minutes of inactivity. 4) What happened instead: The drives stay on all the time. The full story: The problem is that the minimum time for the drives to go to sleep is 10 minutes, but they are kept awake by the udisks2 daemon which polls them every 10 minutes for SMART data, resetting the idle timer by doing so. Also this might not happen to all drives, there should be a workaround. Would be great if the patch proposed here [1] would also be integrated into udisks2. A more universal approach might be to make the polling interval configurable with 0=polling disabled. Disabling SMART for the disks works partially: a) The following UDEV flags don't have any effect: E: ID_ATA_FEATURE_SET_SMART=0 E: ID_ATA_FEATURE_SET_SMART_ENABLED=0 E: UDISKS_DISABLE_POLLING=1 E: UDISKS_IGNORE=1 b) The following works: (Note: without killing the daemon, according to "udisksctl monitor" it keeps polling. By polling, the SMART support is reactivated, which seems to be some unexpected behaviour from libatasmart [2]) sudo killall udiskd sudo smartctl --smart=off /dev/sdb # verify sudo smartctl --all /dev/sdb | grep "SMART support" I think it is quite a bad workaround to kill the deamon after every reboot to be able to diable SMART. And disabling SMART is not good either, but it would be fine for me as workaround. [1] https://www.libreoffice.org/bugzilla/show_bug.cgi?id=26508 [2] can be verified with sudo smartctl --smart=off /dev/sdb sudo smartctl --all /dev/sdb | grep "SMART support" sudo skdump --overall /dev/sdb sudo smartctl --all /dev/sdb | grep "SMART support" PS: This is mainly about the old udisks1, but may provide some additional information: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=26508 1) Ubuntu Version: Description: Ubuntu 14.04.1 LTS Release: 14.04 2) Package Version udisks2:   Installiert: 2.1.3-1   Installationskandidat: 2.1.3-1   Versionstabelle:  *** 2.1.3-1 0         500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages         100 /var/lib/dpkg/status 3) What I expected to happen: My two Seagate drives go to sleep after 10 minutes of inactivity. 4) What happened instead: The drives stay on all the time. The full story: The problem is that the minimum time for the drives to go to sleep is 10 minutes, but they are kept awake by the udisks2 daemon which polls them every 10 minutes for SMART data, resetting the idle timer by doing so. Also this might not happen to all drives, there should be a workaround. Would be great if the patch proposed here [1] would also be integrated into udisks2. A more universal approach might be to make the polling interval configurable with 0=polling disabled. Disabling SMART for the disks works partially: a) The following UDEV flags don't have any effect: E: ID_ATA_FEATURE_SET_SMART=0 E: ID_ATA_FEATURE_SET_SMART_ENABLED=0 E: UDISKS_DISABLE_POLLING=1 E: UDISKS_IGNORE=1 b) The following works: (Note: without killing the daemon, according to "udisksctl monitor" it keeps polling. By polling, the SMART support is reactivated, which seems to be some unexpected behaviour from libatasmart [2]) sudo killall udiskd sudo smartctl --smart=off /dev/sdb # verify sudo smartctl --all /dev/sdb | grep "SMART support" I think it is quite a bad workaround to kill the deamon after every reboot to be able to diable SMART. And disabling SMART is not good either, but it would be fine for me as workaround. [1] https://www.libreoffice.org/bugzilla/show_bug.cgi?id=26508 [2] can be verified with sudo smartctl --smart=off /dev/sdb sudo smartctl --all /dev/sdb | grep "SMART support" sudo skdump --overall /dev/sdb sudo smartctl --all /dev/sdb | grep "SMART support" PS: This is mainly about the old udisks1, but may provide some additional information: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=26508 This is about gnome-disk-utility, but the underlying problem seems udisks2 https://bugzilla.redhat.com/show_bug.cgi?id=1047339
2014-09-30 07:39:25 TheNinja description 1) Ubuntu Version: Description: Ubuntu 14.04.1 LTS Release: 14.04 2) Package Version udisks2:   Installiert: 2.1.3-1   Installationskandidat: 2.1.3-1   Versionstabelle:  *** 2.1.3-1 0         500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages         100 /var/lib/dpkg/status 3) What I expected to happen: My two Seagate drives go to sleep after 10 minutes of inactivity. 4) What happened instead: The drives stay on all the time. The full story: The problem is that the minimum time for the drives to go to sleep is 10 minutes, but they are kept awake by the udisks2 daemon which polls them every 10 minutes for SMART data, resetting the idle timer by doing so. Also this might not happen to all drives, there should be a workaround. Would be great if the patch proposed here [1] would also be integrated into udisks2. A more universal approach might be to make the polling interval configurable with 0=polling disabled. Disabling SMART for the disks works partially: a) The following UDEV flags don't have any effect: E: ID_ATA_FEATURE_SET_SMART=0 E: ID_ATA_FEATURE_SET_SMART_ENABLED=0 E: UDISKS_DISABLE_POLLING=1 E: UDISKS_IGNORE=1 b) The following works: (Note: without killing the daemon, according to "udisksctl monitor" it keeps polling. By polling, the SMART support is reactivated, which seems to be some unexpected behaviour from libatasmart [2]) sudo killall udiskd sudo smartctl --smart=off /dev/sdb # verify sudo smartctl --all /dev/sdb | grep "SMART support" I think it is quite a bad workaround to kill the deamon after every reboot to be able to diable SMART. And disabling SMART is not good either, but it would be fine for me as workaround. [1] https://www.libreoffice.org/bugzilla/show_bug.cgi?id=26508 [2] can be verified with sudo smartctl --smart=off /dev/sdb sudo smartctl --all /dev/sdb | grep "SMART support" sudo skdump --overall /dev/sdb sudo smartctl --all /dev/sdb | grep "SMART support" PS: This is mainly about the old udisks1, but may provide some additional information: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=26508 This is about gnome-disk-utility, but the underlying problem seems udisks2 https://bugzilla.redhat.com/show_bug.cgi?id=1047339 1) Ubuntu Version: Description: Ubuntu 14.04.1 LTS Release: 14.04 2) Package Version udisks2:   Installiert: 2.1.3-1   Installationskandidat: 2.1.3-1   Versionstabelle:  *** 2.1.3-1 0         500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages         100 /var/lib/dpkg/status 3) What I expected to happen: My two Seagate drives go to sleep after 10 minutes of inactivity. 4) What happened instead: The drives stay on all the time. The full story: The problem is that the minimum time for the drives to go to sleep is 10 minutes, but they are kept awake by the udisks2 daemon which polls them every 10 minutes for SMART data, resetting the idle timer by doing so. Also this might not happen to all drives, there should be a workaround. Would be great if the patch proposed here [1] would also be integrated into udisks2. A more universal approach might be to make the polling interval configurable with 0=polling disabled. Disabling SMART for the disks works partially: a) The following UDEV flags don't have any effect: E: ID_ATA_FEATURE_SET_SMART=0 E: ID_ATA_FEATURE_SET_SMART_ENABLED=0 E: UDISKS_DISABLE_POLLING=1 E: UDISKS_IGNORE=1 b) The following works: (Note: without killing the daemon, according to "udisksctl monitor" it keeps polling. By polling, the SMART support is reactivated, which seems to be some unexpected behaviour from libatasmart [2]) sudo killall udisksd sudo smartctl --smart=off /dev/sdb # verify sudo smartctl --all /dev/sdb | grep "SMART support" I think it is quite a bad workaround to kill the deamon after every reboot to be able to diable SMART. And disabling SMART is not good either, but it would be fine for me as workaround. [1] https://www.libreoffice.org/bugzilla/show_bug.cgi?id=26508 [2] can be verified with sudo smartctl --smart=off /dev/sdb sudo smartctl --all /dev/sdb | grep "SMART support" sudo skdump --overall /dev/sdb sudo smartctl --all /dev/sdb | grep "SMART support" PS: This is mainly about the old udisks1, but may provide some additional information: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=26508 This is about gnome-disk-utility, but the underlying problem seems udisks2 https://bugzilla.redhat.com/show_bug.cgi?id=1047339
2014-09-30 13:35:37 TheNinja attachment added Changes the housekeeping to 15 minutes https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1373318/+attachment/4220313/+files/seagate15minPatch
2014-09-30 13:52:03 TheNinja attachment added AdjustableHousekeeping.patch https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1373318/+attachment/4220338/+files/AdjustableHousekeeping.patch
2014-09-30 16:25:14 Ubuntu Foundations Team Bug Bot tags patch
2014-09-30 16:25:21 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2014-10-24 18:12:02 Phillip Susi marked as duplicate 1281588
2016-05-10 12:15:25 svasiljev bug added subscriber svasiljev
2016-05-10 12:15:28 Launchpad Janitor udisks2 (Ubuntu): status New Confirmed
2016-05-20 17:21:37 James Kingdon bug added subscriber James Kingdon