Guido Berhoerster changed bug 925873
What Removed Added
Flags needinfo?(gber@opensuse.org)  

Comment # 48 on bug 925873 from
(In reply to Dr. Werner Fink from comment #46)
> @ Guido : As you have re-added the pm-utils support and removed your own
> pm-utils-hooks-compat.sh script, I'd like to ask you if there is a newer
> script which can handle the users scripts below /etc/pm/sleep.d ... or does
> this require the pm-utils package ... or at least a pm-utils-compat package?

The script was OK, the problem was that not going through pm-utils and just
relying on the script would run certain actions twice, once via systemd
natively and once via my script and in no particular order.

(In reply to Takashi Iwai from comment #47)
> OTOH, dropping the whole pm-utils has to be done carefully.  People may
> still use own hooks.  Also, some hooks like Z99grub look really useful.

There are also packages using the hooks, I know of storage-fixup.

> That said, I'm for dropping pm-utils, but not now.  We need the careful
> evaluation of each hook and port to systemd (and eventually upstreaming),
> put a warning to pm-utils that it'll be deprecated soon later, and after
> some time, we can drop pm-utils finally.

I fully agree with that. One big problem with migrating pm-utils package and
user hooks to systemd hooks is that systemd executes everything in parallel
whereas the pm-utils hooks had a defined order.


You are receiving this mail because: