Bug 7501 - irqbalance.service cannot be started
Summary: irqbalance.service cannot be started
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-17 04:00 CEST by Vladimir Gurevich
Modified: 2012-09-27 17:11 CEST (History)
1 user (show)

See Also:
Source RPM: irqbalance-1.0.4-1.mga3.x86_64.rpm
CVE:
Status comment:


Attachments

Description Vladimir Gurevich 2012-09-17 04:00:16 CEST
The new version of irqbalance seem to have incorrect configuration that prevents the service from starting. 

After upgrading to irqbalance-1.0.4-1.mga3.x86_64.rpm I see thew following:

[root@umka ~]# systemctl start irqbalance.service
Job failed. See system journal and 'systemctl status' for details.

[root@umka ~]# tail /var/log/messages
Sep 16 18:49:01 umka systemd[1]: Failed to load environment files: No such file or directory
Sep 16 18:49:01 umka systemd[1]: irqbalance.service failed to run 'start' task: No such file or directory
Sep 16 18:49:01 umka systemd[1]: Unit irqbalance.service entered failed state.

The problem seems to be in the file /lib/systemd/system/irqbalance.service:

[root@umka ~]# more /lib/systemd/system/irqbalance.service
[Unit]
Description=irqbalance daemon
After=syslog.target

[Service]
EnvironmentFile=/path/to/irqbalance.env
ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS

[Install]
WantedBy=multi-user.target

Obviously, the setting for EnvironmentFile is OK for an example, but should probably be something more specific than /path/to/irqbalance.env, most probably something like /etc/sysconfig/irqbalance
Comment 1 Thierry Vignaud 2012-09-17 16:19:55 CEST
systemd unit added by tmb

CC: (none) => thierry.vignaud
Assignee: bugsquad => tmb

Comment 2 Thomas Backlund 2012-09-17 20:09:21 CEST
Oops, seems I only added the service file shipping in the tarball without verifying it :/


Will fix in Cauldron and Mga2

Status: NEW => ASSIGNED
Whiteboard: (none) => MGA2TOO

Comment 3 Thomas Backlund 2012-09-27 17:11:31 CEST
Turns out I did the correct thing in 1.0.3 in Mga2, but upstream changed it in 1.0.4 so it broke...

Fixed in  irqbalance-1.0.4-2.mga3

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED
Whiteboard: MGA2TOO => (none)


Note You need to log in before you can comment on or make changes to this bug.