Bug 176830 - fstab-sync --> error: libhal_ctx_init_direct: (null): (null)
Summary: fstab-sync --> error: libhal_ctx_init_direct: (null): (null)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: hal
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: John (J5) Palmieri
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-03 15:06 UTC by Enrico Scholz
Modified: 2013-03-13 04:49 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-01-03 16:12:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Enrico Scholz 2006-01-03 15:06:47 UTC
Description of problem:

| # fstab-sync
| error: libhal_ctx_init_direct: (null): (null)


'strace' does not tell something suspicious:

| set_thread_area({entry_number:-1 -> 6, base_addr:0xb7fba6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
| mprotect(0x4d81e000, 8192, PROT_READ)   = 0
| mprotect(0x4efe7000, 4096, PROT_READ)   = 0
| mprotect(0x4d6f7000, 4096, PROT_READ)   = 0
| munmap(0xb7fbc000, 129544)              = 0
| getpid()                                = 4005
| brk(0)                                  = 0x8050000
| brk(0x8071000)                          = 0x8071000
| write(2, "error: libhal_ctx_init_direct: ("..., 46error: libhal_ctx_init_direct: (null): (null)
| ) = 46
| exit_group(0)                           = ?

Happens both with and without a running messagebus daemon and as you
can see in the strace above, local configuration will not be read.


Version-Release number of selected component (if applicable):

hal-0.5.5.1-2.1
hal-0.5.2-2


How reproducible:

100%

Comment 1 John (J5) Palmieri 2006-01-03 16:12:39 UTC
Not a bug.  You can't run fstab-sync from the command line since it requires env
variables set up by hal to talk to hal directly (perhaps upstream should fix
that error message).  


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