Bug 1640181

Summary: dnf-automatic timer is disabled every time dnf-automatic is updated
Product: [Fedora] Fedora Reporter: Jason Montleon <jmontleo>
Component: dnfAssignee: Marek Blaha <mblaha>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: dmach, helloevuez, mblaha, mhatina, packaging-team-maint, rpm-software-management, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-23 07:11:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jason Montleon 2018-10-17 13:46:25 UTC
Description of problem:
In Fedora 29, every time I get an update for dnf-automatic I find that the dnf-automatic-installer timer I have enabled is stopped after a reboot.

Version-Release number of selected component (if applicable):
Previous version: dnf-automatic-3.6.1-2.fc29.noarch
Current version: dnf-automatic-4.0.4-1.fc29.noarch

This has happened with older version upgrades as well.

How reproducible:
Seems always.

Steps to Reproduce:
1. Install fedora and dnf-automatic
2. systemctl enable dnf-automatic-install.timer && systemctl start dnf-automatic-install.timer
3. systemctl -t timer and observe the timer running
4. Update dnf-automatic and reboot
5. systemctl -t timer and observe the timer is not running

Actual results:
The dnf-automatic timer appears to be getting disabled by updates.

Expected results:
The dnf-automatic timer should not be getting disabled by updates.

Additional info:
I am not sure if it is related, but I have had NetworkManager disabled after updates, I am guessing of the NetworkManager package, as well.

Comment 1 Jason Montleon 2018-10-17 13:56:00 UTC
Looking at another system prior to update, I'm not sure my initial report is 100% accurate. I see the service is supposedly still enabled but dead:

systemctl status dnf-automatic-install.timer
● dnf-automatic-install.timer - dnf-automatic-install timer
   Loaded: loaded (/usr/lib/systemd/system/dnf-automatic-install.timer; enabled;
 vendor preset: disabled)
   Active: inactive (dead)
  Trigger: n/a

Regardless, I keep finding that the timer is not running after I enable and start it. If there are any suggestions for figuring out what is actually causing it to die I am happy to collect more information.

Comment 2 Marek Blaha 2018-10-23 07:11:16 UTC

*** This bug has been marked as a duplicate of bug 1636480 ***