[systemd-devel] Restart instantiated services after suspend

Greg KH gregkh at linuxfoundation.org
Tue Nov 19 10:48:19 PST 2013


On Tue, Nov 19, 2013 at 03:47:39PM -0200, Marcos Felipe Rasia de Mello wrote:
> 2013/11/19 Cristian Rodríguez <crrodriguez at opensuse.org>:
> > El 19/11/13 13:18, Marcos Felipe Rasia de Mello escribió:
> >
> >> It works fine, but after the machine wakes up from suspend, I need
> >> that all hdparm at .service be run again. Is there a way to accomplish
> >
> > You are looking at the wrong place.. if you disable the HDD power
> > managment, then suspend but after wake up the setting is lost, you are
> > dealing with a kernel bug.
> >
> 
> Maybe. On all machines I have HDD APM setting does not survive a drive
> power cycle. Appears to be the default kernel (buggy?) behaviour for a
> long time.

The kernel does not know internal drive settings, as it was never told
about them (you did a "pass-through" command to set them, you didn't
tell the kernel to set them...)

sorry,

greg k-h


More information about the systemd-devel mailing list