Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81037 - hald doesn't work
Summary: hald doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-06 16:02 UTC by Peppe
Modified: 2005-03-04 06:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peppe 2005-02-06 16:02:44 UTC
I tried to run hald as daemon, but it shutted down silently. So I ran "hald --verbose=yes --daemon=no" and this is what I get: 

00:00:35.678 [I] hald.c:394: hal 0.4.5
00:00:35.678 [I] hald.c:398: Will not daemonize
00:00:35.680 [E] hald_dbus.c:1945: dbus_bus_acquire_service(): Connection ":1.6" is not allowed to own the service "org.freedesktop.Hal" due to security policies in the configuration file

Reproducible: Always
Steps to Reproduce:
1. emerge hal
2. hald --verbose=yes --daemon=no"
3.
Actual Results:  
00:00:35.678 [I] hald.c:394: hal 0.4.5 
00:00:35.678 [I] hald.c:398: Will not daemonize 
00:00:35.680 [E] hald_dbus.c:1945: dbus_bus_acquire_service(): Connection 
":1.6" is not allowed to own the service "org.freedesktop.Hal" due to security 
policies in the configuration file 
 

Expected Results:  
Just work  

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.4, 
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6y i686) 
================================================================= 
System uname: 2.6.10-gentoo-r6y i686 Intel(R) Pentium(R) M processor 1500MHz 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov  1 2004, 16:55:16)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.4 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 
sys-devel/binutils:  2.15.92.0.2-r2 
sys-devel/libtool:   1.5.2-r5 
virtual/os-headers:  2.6.8.1 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -mcpu=i686 -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/kde/cvs/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -mcpu=i686 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig candy ccache distlocks keepwork sandbox 
sfperms" 
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/Linux/distributions/gentoo/ 
ftp://gentoo.risq.qc.ca/ http://gentoo.mirrors.pair.com/" 
LANG="it_IT@euro" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 X alsa apm avi berkdb bitmap-fonts cdr crypt cups debug encode esd 
f77 fam flac font-server foomaticdb fortran gdbm gif gnome gphoto2 gpm gtk 
gtk2 imagemagick imlib ipv6 java jpeg junit kde ldap libg++ libwww mad mikmod 
motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt 
quicktime readline ruby samba sdl slang spell ssl svga tcltk tcpd tiff 
truetype truetype-fonts type1-fonts xml2 xmms xv zlib linguas_it" 
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 foser (RETIRED) gentoo-dev 2005-02-09 14:33:47 UTC
restarted your session and all that ? I don't know, the error report is not very explicatory. It seems to me some permission/user error, hal should have no problem connecting to the sys bus. What dbus version do you use ?
Comment 2 Peppe 2005-02-10 01:13:01 UTC
> restarted your session and all that ?
yes

> I don't know, the error 
> report is not very explicatory. 
Ask me everything you want

> What dbus version do you use ?
0.22-r1 
Comment 3 foser (RETIRED) gentoo-dev 2005-02-10 06:08:54 UTC
restarted dbus & hald ?

haldaemon (the user) has the right to connect to that service, so my guess something is wrong with your hald setup (which should be ok by default).
Comment 4 Peppe 2005-02-11 12:34:19 UTC
> restarted dbus & hald ?

Yes, and my setup is the default one
Comment 5 foser (RETIRED) gentoo-dev 2005-03-02 14:05:49 UTC
i've had a report where dbus & hald were built with different kernel headers/kernels . Could this be the case here (try rebuilding both packs vs the same headers) ?
Comment 6 Peppe 2005-03-04 06:06:22 UTC
Maybe.... or maybe a version problem. But I re-emerged hal and dbus, and everything works fine now. Thanks!!