#610330 pm-utils: please document hook dir policy for other packages

#610330#5
Date:
2011-01-17 17:12:47 UTC
From:
To:
Might not have looked in the correct place, but I was unable to find
any policy for the  /usr/lib/pm-utils/*.d/ and /etc/pm/*.d/
directories.  IMHO this is urgently needed.

I just discovered that aiccu had added a script in /etc/pm/sleep.d
which make the system hang for seconds on resume, unless you've got
a working network.  Totally unacceptable to me. A policy
regulating runtimes for such scripts would be welcome.

Looking at the other scripts installed in /etc/pm/sleep.d on my
laptop, I was even more surprised to find that unattended-upgrades
had installed a script which will make hibernate wait until a
running unattended-upgrades job is finished.  I can see how this
will scale if any package installing cron jobs should do the same...
A policy stating both what kind of actions are acceptable, and
setting maximum delays, is obviously necessary.

In addition, there seem to be a bit of confusion whether packages
should add hooks to /etc/pm/ or /usr/lib/pm-utils/.  Policy required
here as well.

I will of course report bugs against aiccu and unattended-upgrades
as well.  But the fact that they do implement such hooks demonstrates
the need for clarification.


Bjørn

- -- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (990, 'testing'), (600, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pm-utils depends on:
ii  console-tools            1:0.2.3dbs-69.1 Linux console and font utilities
ii  powermgmt-base           1.31            Common utils and configs for power

Versions of packages pm-utils recommends:
ii  procps                        1:3.2.8-9  /proc file system utilities
ii  radeontool                    1.6.1-1    utility to control ATI Radeon back
ii  vbetool                       1.1-2      run real-mode video BIOS code to a

Versions of packages pm-utils suggests:
ii  cpufrequtils                  007-1      utilities to deal with the cpufreq

- -- no debconf information
iEYEARECAAYFAk00eI0ACgkQ10rqkowbIsnc0QCeMVApobouOY0HZK/gZF6Jn7fV
TqgAniWxWAGlFeBiTJQg0Pa3Ahkz6LSx
=lGp8
-----END PGP SIGNATURE-----

#610330#10
Date:
2023-12-21 17:56:09 UTC
From:
To:
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
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)