Your message dated Thu, 21 Dec 2023 17:56:09 +0000 with message-id <[email protected]> and subject line Bug#1058701: Removed package(s) from unstable has caused the Debian Bug report #612950, regarding pm-utils: Please don't run disk-spin-up-avoidance hooks on non-rotational devices (such as SSDs) 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.) -- 612950: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612950 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: pm-utils Version: 1.4.1-6 Severity: normal I currently have pm-utils on hold at version 1.3.0-3. Looking ahead in the changelog, I saw: Current hooks when switching to battery: [...] - [harddrive] More aggressive harddrive spindown times [...] - [journal-commit, xfs_buffer] Delay ext[34]/ext journal/metadata writeback - [laptop-mode] Delay hard disk writeback times of dirty caches, to avoid spin ups In general, this seems like a bad idea to do automatically without the user's knowledge; it makes the system far less robust against sudden failures. I haven't worried about losing data due to a system crash (usually self-inflicted due to kernel hacking) in a long time. I don't want to have to start now. But in any case, none of these hooks need to run on a non-rotational device such as an SSD. SSDs can idle very effectively the moment they have no work to do, without a long spin-up/spin-down transition. So, you don't need to make the system less safe to minimize writebacks on such systems. You can detect non-rotational devices by looking at /sys/block/$device/queue/rotational , which will contain a 1 (rotational) or 0 (non-rotational such as an SSD). For instance, on my system: ~$ cat /sys/block/sda/queue/rotational 0 (Note that these files only exist for the top-level devices like sda, not partition devices like sda1.) So, if you see rotational -eq 0 on a device, you shouldn't run the harddrive, journal-commit, xfs_buffer, or laptop-mode hooks for the filesystems on that device. (I'd argue more generally against running those hooks on *any* device, but this seems like the right place to start, and it solves my immediate problem. :) ) Thanks, Josh Triplett
--- End Message ---
--- Begin Message ---Version: 1.4.1-19+rm Dear submitter, as the package pm-utils has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/1058701 The version of this package that was in Debian prior to this removal can still be found using https://snapshot.debian.org/. Please note that the changes have been done on the master archive and will not propagate to any mirrors until the next dinstall run at the earliest. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]. Debian distribution maintenance software pp. Thorsten Alteholz (the ftpmaster behind the curtain)
--- End Message ---

