Bug 16549

Summary: systemctl enable/disable goes into infinite loop when both sysvinit and systemd native units exists
Product: Mageia Reporter: Frank Griffin <ftg>
Component: RPM PackagesAssignee: Colin Guthrie <mageia>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: systemd CVE:
Status comment:

Description Frank Griffin 2015-08-07 02:45:56 CEST
I was trying a fresh install today, and part of my post-install is to disable services I want installed but not activated.

When my script issued a "systemctl disable mythbackend.service" it went into a loop with systemd referring it to sysv-install and sysv-install referring it back to systemd.  This continued until all of the DBUS resources for systemd were tied up and the system had to be rebooted.

Reproducible: 

Steps to Reproduce:
Comment 1 Marja Van Waes 2015-08-07 22:41:00 CEST
Colin will understand :-)

CC: (none) => marja11
Assignee: bugsquad => mageia

Comment 2 Colin Guthrie 2015-08-08 11:59:59 CEST
Ahh quite possibly! The newer systemd releases will try and keep sysvinit in sync with systemd units if both are present and I suspect I messed something up there. Should be easy to fix tho'. Will take a look.

Certainly isn't a problem with mythbackend specifically tho' (although it would make sense to kill off the sysvinit script, although keeping it there for testing is handy :D)

Summary: mythbackend seems to belong to both systemd and sysv => systemctl enable/disable goes into infinite loop when both sysvinit and systemd native units exists
Source RPM: mythbackend => systemd

Comment 3 Frank Griffin 2015-11-03 03:22:39 CET
Ping ?
Comment 4 Frank Griffin 2019-02-19 22:41:03 CET
Closing as OLD.

Resolution: (none) => OLD
Status: NEW => RESOLVED