Bug 725263

Summary: Cannot enable haldaemon
Product: [Fedora] Fedora Reporter: Adalbert Prokop <adalbert.prokop>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: harald, johannbg, lpoetter, metherid, mschmidt, notting, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-25 07:55:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.