Bug 105914

Summary: hald exit if you add a non existing callout to a fdi file
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Danny Al-Gaaf <dalgaaf>
Component: BasesystemAssignee: Kay Sievers <kasievers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None    
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: strace from hal for daemon=yes
strace from HAL with correct callout

Description Danny Al-Gaaf 2005-08-19 19:05:55 UTC
I changed the fdi file for hald-subfs-mount (90-bock-subfs.fdi), but you can 
also reproduce this by change 90-fstab-sync.fdi e.g. on fedora, and added a non 
existing callout (changed hal-subfs-mount to hal-subfs-mountt).

As I restarted hal as daemon (and only in this case) hal dies without any 
errormessage. After a strace I notice HAL didn't die, HAL exited (and cleaned 
up). This should not be the correct behavior. I can't find the reason for this. 

I attach a part of strace with and without changed fdi file for the related 
callout.
Comment 1 Danny Al-Gaaf 2005-08-19 19:08:06 UTC
Created attachment 46722 [details]
strace from hal for daemon=yes

This part of strace was from HAL in daemon mode with the changed, non existing
callout. If you start HAL with --daemon=no in strace nothing happens. No exit.
Comment 2 Danny Al-Gaaf 2005-08-19 19:09:59 UTC
Created attachment 46723 [details]
strace from HAL with correct callout
Comment 3 Kay Sievers 2005-08-26 01:56:30 UTC
Hopefully fixed. Patch is on the hal mailinglist. Please try...
Comment 4 Danny Al-Gaaf 2005-08-26 07:38:14 UTC
tested, works fine. Added to new package. ;)