Bug 725263 - Cannot enable haldaemon
Summary: Cannot enable haldaemon
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 15
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-24 20:51 UTC by Adalbert Prokop
Modified: 2011-07-25 20:42 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-25 07:55:52 UTC
Type: ---


Attachments (Terms of Use)

Description Adalbert Prokop 2011-07-24 20:51:42 UTC
Description of problem:
I cannot enable haldaemon to start at boot and cannot trace the source of the problem either. Service file seems to be fine, but the service cannot be enabled.
Please help, at laeast to find the cause of this.

Version-Release number of selected component (if applicable):
hal-0.5.14-6.fc15.i686
systemd-26-4.fc15.i686

How reproducible:
systemctl enable haldaemon.service
  
Actual results:
The output says:
Unit files contain no applicable installation information. Ignoring.

Expected results:
haldaemon.service is enabled.

Comment 1 Michal Schmidt 2011-07-25 07:55:52 UTC
haldaemon is started on demand by D-Bus activation. It should not be necessary to start it on boot. Are you observing any actual problems that would point to a non-working hal?

If you, for whatever reason, really want it to start on boot, you can do:
ln -s /lib/systemd/system/haldaemon.service /etc/systemd/systemd/multi-user.target.wants/haldaemon.service

hal is obsolete and will be gone in F16:
  http://fedoraproject.org/wiki/Features/HalRemoval

Comment 2 Adalbert Prokop 2011-07-25 19:46:59 UTC
Actually, I do observe problems. I've written a hal script, which does invoke some commands if a particular USB pen drive is plugged in.
Without a running haldaemon this script is not invoked.

Comment 3 Michal Schmidt 2011-07-25 20:42:11 UTC
Then maybe creating the symlink in multi-user.target.wants will work for you.
But still, you'd better port your script to the current stack. Perhaps a udev rule and activation of a systemd service. Hal has been deprecated since 2008.


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