Bug 3503

Summary: akmods-shutdown.service is started during system boot
Product: Fedora Reporter: Michal Piotrowski <bastian_knight>
Component: akmodsAssignee: Richard <hobbes1069>
Status: RESOLVED FIXED    
Severity: normal CC: kwizart
Priority: P5    
Version: 21   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Michal Piotrowski 2015-01-12 11:13:01 CET
It looks like there is an error in definition of akmods-shutdown.service (maybe in install section?). I have noticed that it runs during startup (boot) of Fedora almost at the same time as akmods.service. It can cause conflicts during installation of new, compiled rpm packages and causes boot to be longer than needed.

As a workaround one can disable akmods-shutdown.service.
Comment 1 Richard 2015-01-12 15:28:26 CET
Hmm... This worked when I first set it up but that's been several Fedora releases ago so it looks like systemd behavior has changed.

Can you try the following and see it works?

In the [SERVICE] section add an ExecStart command like below and change the current one to "ExecStop".

ExecStart=/bin/true
ExecStop=-/usr/sbin/akmods --from-init
Comment 2 Michal Piotrowski 2015-01-12 15:52:51 CET
It looks like with the change from your comment kmods checking runs correctly: one time at the system start and one time at the system shutdown.
Comment 3 Richard 2015-04-01 16:52:49 CEST
Thanks for the confirmation. Closing.