Bug 1393759

Summary: switcheroo-control.service: Failed with result 'exit-code'.
Product: [Fedora] Fedora Reporter: Ralf Corsepius <rc040203>
Component: switcheroo-controlAssignee: Kalev Lember <klember>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: bnocera, klember
Target Milestone: ---   
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: 2016-11-11 06:18:43 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 Ralf Corsepius 2016-11-10 09:44:36 UTC
Description of problem:

switcheroo-control.service fails on bootup of several machines:

Nov 10 10:13:19 rockford systemd[1]: switcheroo-control.service: Failed with result 'exit-code'.
Nov 10 10:13:19 rockford systemd[1]: switcheroo-control.service: Unit entered failed state.
Nov 10 10:13:19 rockford audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=switcheroo-control comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Nov 10 10:13:19 rockford systemd[1]: switcheroo-control.service: Main process exited, code=exited, status=1/FAILURE
Nov 10 10:07:21 rockford systemd[1]: switcheroo-control.service: Failed with result 'exit-code'.


# systemctl status switcheroo-control
● switcheroo-control.service - Switcheroo Control Proxy service
   Loaded: loaded (/usr/lib/systemd/system/switcheroo-control.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2016-11-10 10:13:19 CET; 20min ago
  Process: 874 ExecStart=/usr/sbin/switcheroo-control (code=exited, status=1/FAILURE)
 Main PID: 874 (code=exited, status=1/FAILURE)

Nov 10 10:13:18 rockford systemd[1]: Starting Switcheroo Control Proxy service...
Nov 10 10:13:19 rockford systemd[1]: switcheroo-control.service: Main process exited, code=exited, status=1/FAILURE
Nov 10 10:13:19 rockford systemd[1]: Failed to start Switcheroo Control Proxy service.
Nov 10 10:13:19 rockford systemd[1]: switcheroo-control.service: Unit entered failed state.
Nov 10 10:13:19 rockford systemd[1]: switcheroo-control.service: Failed with result 'exit-code'.

Version-Release number of selected component (if applicable):
switcheroo-control-1.0-1.fc25.x86_64

How reproducible:
Always.


Additional info:
I think, switcheroo-control needs upstream work and packaging work. 

In fc25, it
- seems to be installed by default (rsp. is being pulled-in through gnome deps)
- switcheroo-control.service is enabled by default, though it apparently doesn't work on a large number of machines == unsafe systemd-service default.

Comment 1 Ralf Corsepius 2016-11-11 06:18:43 UTC

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