You are not logged in.
Pages: 1
I'm getting the boot process stuck by the hal daemon. My daemons line in rc.conf is:
DAEMONS=( syslog-ng network netfs @adsl crond acpid alsa hal )
After loading DBUS, the boot process stops loading hal.
If I try to load hal manually with:
/etc/rc.d/hald start
it fails.
Anyone with this problem? HAL worked but I can't get it to work now.
Thank you very much.
Offline
What message do you get when you try to start hal? If it is something about missing a shared dbus library, then there was likely a problem with the dbus update when you last updated it.
Try closing all X sessions and, from the console force dbus to re-update by running: pacman -Sf dbus
I had this problem on all my machines running arch - we should both check the package news more often!
Offline
I don't remember if dbus and hal were updated during my last pacman -Syu.
Let's see /var/log/pacman.log:
[2008-04-07 23:54] upgraded dbus (1.0.2-4 -> 1.1.20-2)
HA!
This is the message when I start hal (and it's related to dbus, of course):
# hald --daemon=no --verbose=yes
11:33:17.864 [i] hald.c:634: hal 0.5.10
11:33:17.865 [i] hald.c:699: Will not daemonize
11:33:17.865 [i] hald_dbus.c:5284: local server is listening at unix:abstract=/var/run/hald/dbus-JJN1mJym5O,guid=4d2f0e52dde2bbe18a4a897947fb822d
11:33:17.865 [E] hald_dbus.c:5578: dbus_bus_get(): Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Seems dbus is not running, try again with dbus running:
[root@itchies log]# /etc/rc.d/dbus start
:: Starting D-BUS system messagebus [DONE]
[root@itchies log]# hald --daemon=no --verbose=yes
11:34:49.143 [i] hald.c:634: hal 0.5.10
11:34:49.143 [i] hald.c:699: Will not daemonize
11:34:49.143 [i] hald_dbus.c:5284: local server is listening at unix:abstract=/var/run/hald/dbus-AaDGjbBCgf,guid=e51e7f87f2691ad63c000a6647fb8289
11:34:49.145 [E] hald_dbus.c:5578: dbus_bus_get(): Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[root@itchies log]#
Seems that hal cannot communicate with the running instance of dbus (or dbus is not replying the hal requests).
Well, anyway I'm closing X now and trying your solution.
I'm back in a few seconds to tell results hehe.
thank you very much.
Offline
It keeps failing to communicate with dbus.
I will try to recompile hal maybe linking with the new dbus shared library fixes it.
Offline
Built hal from abs but it didn't work!!!!
:mad:
Offline
I remember now that I've unpacked some data.tar.gz from a .deb in the root directory.
Maybe this changed some pemissions?
I've found e.g /usr to have hernan:1000 (my user,group) instead of root:root.
1) How I can check the permissions of the / directory?
2) What are the default permissions for (.) and (..) in each directory?
I got e.g:
[hernan@itchies ~]$ ls / -al
total 77
drwx------ 20 hernan root 4096 2008-04-08 17:24 .
drwx------ 20 hernan root 4096 2008-04-08 17:24 ..
drwxr-xr-x 2 root root 4096 2008-03-30 20:51 bin
drwxr-xr-x 4 root root 1024 2008-03-30 20:52 boot
drwxr-xr-x 18 root root 0 2008-04-08 17:47 dev
drwxr-xr-x 43 root root 4096 2008-04-08 17:41 etc
drwxr-xr-x 6 root root 4096 2008-03-29 03:49 home
drwxr-xr-x 6 root root 4096 2008-03-30 20:37 lib
drwx------ 2 root root 16384 2008-03-28 19:38 lost+found
drwxr-xr-x 5 root root 4096 2008-03-29 03:49 media
drwxr-xr-x 8 root root 4096 2008-04-06 10:51 mnt
drwxr-xr-x 5 root root 4096 2008-03-30 20:37 opt
dr-xr-xr-x 94 root root 0 2008-04-08 14:40 proc
drwxr-x--- 7 root root 4096 2008-04-08 03:18 root
drwxr-xr-x 2 root root 4096 2008-04-02 15:20 sbin
drwxr-xr-x 2 root root 4096 2008-03-10 20:20 srv
drwxr-xr-x 12 root root 0 2008-04-08 14:40 sys
drwxrwxrwt 6 root root 4096 2008-04-08 17:47 tmp
drwxr-xr-x 11 root root 4096 2008-03-24 09:49 usr
drwxr-xr-x 13 root root 4096 2008-03-29 04:36 var
[hernan@itchies ~]$
At /usr
[hernan@itchies usr]$ ls -al
total 152
drwxr-xr-x 11 root root 4096 2008-03-24 09:49 .
drwx------ 20 hernan root 4096 2008-04-08 17:24 ..
drwxr-xr-x 3 root root 36864 2008-04-08 11:50 bin
drwxr-xr-x 155 root root 20480 2008-04-08 11:50 include
drwxr-xr-x 66 root root 61440 2008-04-08 11:50 lib
drwxr-xr-x 10 root root 4096 2008-03-10 20:20 local
drwxr-xr-x 26 root root 4096 2008-04-04 23:42 man
drwxr-xr-x 2 root root 4096 2008-04-08 11:50 sbin
drwxr-xr-x 86 root root 4096 2008-03-24 09:49 share
drwxr-xr-x 3 root root 4096 2008-03-30 06:48 src
drwxr-xr-x 3 root root 4096 2008-02-13 08:18 usr
lrwxrwxrwx 1 root root 6 2008-03-10 20:20 var -> ../var
[hernan@itchies usr]$
maybe this is the source of all my problems (e.g I can't sudo even from root, I get 'permission denied to /etc/sudoers').
Thank you very much.
Offline
chmod 755 /
sudo and hal NOW WORKS!!!!
Well seems that uncompressing a .tar on / is not a good idea.
Offline
Pages: 1