Description of problem: Recently, pm-utils 1.3.x in F14 removed the dependency on hal; however, one of the hooks still seems to call it specifically: [root@thinkpad andrew]# cat /usr/lib64/pm-utils/sleep.d/99hd-apm-restore.hook | grep hal for udi in $(hal-find-by-capability --capability storage) drive_type=$(hal-get-property --udi "${udi}" --key storage.drive_type) HD_APM_DEVICES+="$(hal-get-property --udi "${udi}" --key block.device | sed 's,^/dev/,,') " [root@thinkpad andrew]# rpm -qR pm-utils /bin/bash /bin/sh config(pm-utils) = 1.3.1-1.fc14 hdparm kbd libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) radeontool rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rtld(GNU_HASH) vbetool rpmlib(PayloadIsXz) <= 5.2-1 On my gnome install, since nothing else depends on hal, I have removed the it from the system, but now receive an error when that hook is called: /usr/lib64/pm-utils/sleep.d/99hd-apm-restore.hook resume suspend:/usr/lib64/pm-utils/sleep.d/99hd-apm-restore.hook: line 38: hal-find-by-capability: command not found success. Perhaps this RH-specific hook should be removed from the new pm-utils packages ? Version-Release number of selected component (if applicable): pm-utils-1.3.1-1.fc14.x86_64 No hal install on the system Steps to Reproduce: - Install pm-utils - Remove hal goodies - Suspend laptop - View /var/log/pm-suspend.log
I think we can dump 99hd-apm-restore.hook for good.
Created attachment 452733 [details] Proposed patch I think it can be useful, the proposed "de-hal-ization" patch is included. Any other reason for dropping?
Jaroslav, well, it either needs to be pushed upstream, or be dropped. There's no need for such a Fedora specific patch.
This originates from bug 382061 as HD PM restore is not handled by kernel. It seems to be handled (another way) by harddrive script in pm-utils-1.4.1, but not in previous versions of pm-utils. I am going to drop it with 1.4.1 but I consider it to be useful with lower versions of pm-utils.
pm-utils-1.3.1-3.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/pm-utils-1.3.1-3.fc14
pm-utils-1.3.1-3.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update pm-utils'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/pm-utils-1.3.1-3.fc14
pm-utils-1.3.1-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.