Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117244 - The init script of sys-apps/hal-0.5.5.1-r3 needs a start-stop-daemon which supports --use-syslog option
Summary: The init script of sys-apps/hal-0.5.5.1-r3 needs a start-stop-daemon which su...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Project Gentopia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-30 17:42 UTC by Sylvain BERTRAND
Modified: 2006-01-02 10:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/init.d/hald patch (hald.patch,321 bytes, patch)
2006-01-01 18:47 UTC, Yuri Vasilevski (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain BERTRAND 2005-12-30 17:42:43 UTC
start-stop-daemon in sys-apps/baselayout-1.11.13-r1 does not support --use-syslog option (this is the error message I get, and then hald is not started).
Should make hal ebuild depends on a proper baselayout.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2005-12-30 20:29:03 UTC
incorrect.... re-emerge hal.
Comment 2 Yuri Vasilevski (RETIRED) gentoo-dev 2006-01-01 18:47:55 UTC
Created attachment 75967 [details, diff]
/etc/init.d/hald patch

I think that the --use-syslog parameter is quite usefull, so it may be better if it have beed solved this way.

Yuri.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2006-01-01 22:02:36 UTC
re-emerge! It's been fixed 3 days now people
Comment 4 Yuri Vasilevski (RETIRED) gentoo-dev 2006-01-01 22:16:56 UTC
I know, and my patch is for the fixed init script.
In it I wanted to keep the --use-syslog parameter to hald from the original init script.

Yuri.
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2006-01-02 07:26:40 UTC
Holy cow people.... I ADDDED IT

        ebegin "Starting Hardware Abstraction Layer daemon"

        if [ -f /proc/acpi/event ]; then
                chgrp haldaemon /proc/acpi/event
                chmod 440 /proc/acpi/event
        fi

        start-stop-daemon --start -q --exec /usr/sbin/hald -- --use-syslog
        eend $?
}



Just when I recopied it over, I forgot to include the -- so it didn't work. Which is why you opened this bug. It's fixed and done! Just stop.
Comment 6 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-01-02 09:55:37 UTC
I think they feel this way as thier init scripts are possibly not being overwritten.  Please delete the init script then emerge hal ... if you manually change the init script, the mtime info changes, and portage will *NOT* overwrite the file.
Comment 7 Yuri Vasilevski (RETIRED) gentoo-dev 2006-01-02 10:19:41 UTC
Hi,

Actually I was being plain stupid, so I apologize for it.

My confusion was not to notice that the hald init script for hal 0.5 comes from sys-apps/hal/files/0.5-hald.rc and not from sys-apps/hal/files/hald. So after I synced portage tree I noticed no change/improvement.

Yuri.