[Bug 14852] hald-addon-acpi cannot survive acpid restart

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Wed Sep 7 00:30:12 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=14852
Ubuntu (laptop) | hal





------- Additional Comments From desrt at desrt.ca  2005-09-07 01:30 UTC -------
Created an attachment (id=3580)
 --> (http://bugzilla.ubuntu.com/attachment.cgi?id=3580&action=view)
a patch.

now, when acpid restarts, this happens:

desrt at moonpix:~/code/ubuntu$ sudo strace -p `pidof hald-addon-acpi`
Process 20982 attached - interrupt to quit
read(4, "", 1)				= 0
close(4)				= 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({5, 0}, {5, 0})		= 0
socket(PF_FILE, SOCK_STREAM, 0) 	= 4
connect(4, {sa_family=AF_FILE, path="/var/run/acpid.socket"}, 110) = 0
read(4,

as opposed to before when it would just exit().

I don't have an ACPI laptop so I can't test if events are still delivered
properly.

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the desktop-bugs mailing list