#1069637 hd-idle: version 1.21+ds-1 hangs the upgrade process

Package:
hd-idle
Source:
hd-idle
Description:
Spin down idle [USB] hard disks
Submitter:
Arthur Marsh
Date:
2025-04-03 11:42:02 UTC
Severity:
normal
#1069637#5
Date:
2024-04-22 00:54:30 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Setting up hd-idle (1.21+ds-1) ...
Installing new version of config file /etc/default/hd-idle ...
Installing new version of config file /etc/logrotate.d/hd-idle ...
Stopping the hd-idle daemon: hd-idle.
Starting the hd-idle daemon: hd-idlesymlinkPolicy=0, defaultIdle=600, defaultCommand=scsi, defaultPowerCondition=0, debug=false, logFile=, devices=

process just hung at this point.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Had to kill hd-idle process then downgrade hd-idle.
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

#1069637#10
Date:
2024-04-22 06:38:49 UTC
From:
To:
Could you please share parts of your hd-idle configuration?
I couldn't reproduce the problem, so I suspect it might be related to
some incompatibility in the config options.

Thanks,
Alex

#1069637#15
Date:
2024-04-23 15:57:33 UTC
From:
To:
This was without actually changing /etc/defaukt/hd-idle from what was in the packages.

The /etc/init.d/hd-idle script on the 1.12+ds-1 package just tries to start hd-idle with not parameters.

Arthur.

#1069637#20
Date:
2025-04-03 11:21:23 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Trying to see if I could purge the package and install from scratch


   * What exactly did you do (or not do) that was effective (or
     ineffective)?

The installation hung on "Starting the hd-idle daemon:" and I had to kill the
hd-idle process for the installation to not stay hung.

The package should ship with working default configuration that can
successfully complete the installation process.

Selecting previously unselected package hd-idle.
(Reading database ... 669225 files and directories currently installed.)
Preparing to unpack .../hd-idle_1.21+ds-1+b6_amd64.deb ...
Unpacking hd-idle (1.21+ds-1+b6) ...
Setting up hd-idle (1.21+ds-1+b6) ...
Starting the hd-idle daemon: hd-idlesymlinkPolicy=0, defaultIdle=600, defaultCommand=scsi, defaultPowerCondition=0, debug=false, logFile=, devices=
Terminated
invoke-rc.d: initscript hd-idle, action "start" failed.
dpkg: error processing package hd-idle (--configure):
 installed hd-idle package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.13.0-1) ...
Errors were encountered while processing:
 hd-idle



   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***