LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-14-2005, 06:49 PM   #1
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Rep: Reputation: 30
hal daemon startup - privileges?


I just upgraded my Slack-current system - which usually goes well, I might add - but this time when I rebooted, I got down to the line that says :

Starting hal daemon: /usr/sbin/hald --daemon=yes --retain privileges
Dbus is already running (will not start it twice).
Starting hal daemon: /usr/sbin/hald --daemon=yes

Then the machine sits there for about three minutes, then I get to a login screen normally (runlevel 4)). I'm also using DLGnome... if that matters.

Thanks!
 
Old 12-14-2005, 07:20 PM   #2
bird603568
Member
 
Registered: Aug 2004
Distribution: Slackware current
Posts: 250

Rep: Reputation: 30
Ya it does matter because DLG installed HAL and Dbus.
 
Old 12-14-2005, 08:13 PM   #3
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
All gnomes on the face of the planet install hal and dbus.(even on FreeBSD, hal just doesn't get used)

The gnomes for slackware were created and linked against packages in 10.2. They will not work with current usually.(none of the gnome desktops will)
 
Old 12-15-2005, 07:19 AM   #4
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
I reinstalled DLGnome and have the same problem - I was hoping that it would go away.
 
Old 12-15-2005, 09:17 AM   #5
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally Posted by noxious
I reinstalled DLGnome and have the same problem - I was hoping that it would go away.
As liquidtenmilion said, Dropline GNOME is only supported on Slackware 10.2 and not "current". Having said that, you might get more help about your problem by posting on the Dropline Forums.

What version of DLG are you using? I'm using Dropline GNOME 2.12.2 and Slackware 10.2, booting to runlevel 3, and this does not occur on my PC.

The "Dbus is already running" message sounds a little "wierd", what is in your /etc/rc.d/rc.local script?

Later,
MMYoung
 
Old 12-15-2005, 09:25 AM   #6
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
/etc/rc.d/rc.local:

#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local setup commands in here:

if [ -x /etc/rc.d/rc.messagebus ]; then
if [ -w /var/run/dbus/dbus.pid ]; then
rm /var/run/dbus/dbus.pid
fi
sh /etc/rc.d/rc.messagebus start
fi

if [ -x /etc/rc.d/rc.hald ]; then
sh /etc/rc.d/rc.hald start
fi

if [ -x /etc/rc.d/rc.howl ]; then
sh /etc/rc.d/rc.howl start
fi


ntpdate 128.59.59.177




# Delete pam_console lock and refcount files
rm -f /var/run/console/*
 
Old 12-15-2005, 09:43 AM   #7
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally Posted by noxious
/etc/rc.d/rc.local:

#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local setup commands in here:

if [ -x /etc/rc.d/rc.messagebus ]; then
if [ -w /var/run/dbus/dbus.pid ]; then
rm /var/run/dbus/dbus.pid
fi
sh /etc/rc.d/rc.messagebus start
fi

if [ -x /etc/rc.d/rc.hald ]; then
sh /etc/rc.d/rc.hald start
fi

if [ -x /etc/rc.d/rc.howl ]; then
sh /etc/rc.d/rc.howl start
fi


ntpdate 128.59.59.177

# Delete pam_console lock and refcount files
rm -f /var/run/console/*
My rc.local file doesn't have anything in it about rc.messagebus or rc.hald, but I am running DLG 2.12.2 (latest release). I do have an old PC setting around that has DLG 2.12.1 on it and the rc.local file contains the following:
Code:
#!/bin/sh
#
# /etc/rc.d/rc.local:  Local system initialization script.
#
# Put any local setup commands in here:

# To disable dbus, chmod rc.dbus to 644
if [ -x /etc/rc.d/rc.dbus ]; then
        sh /etc/rc.d/rc.dbus start
fi

# To disable hal, chmod rc.hal to 644
if [ -x /etc/rc.d/rc.hal ]; then
        sh /etc/rc.d/rc.hal start
fi

# Had to change how ASLA is started due to HAL/DBUS/UDEV issues
#if [ -x /etc/rc.d/rc.alsa-local ]; then
#        /sbin/udevstart
#        sh /etc/rc.d/rc.alsa-local
#fi
You didn't answer my question about which version of DLG you are running, but according to your profile you are using 2.12.1. If you are using 2.12.2 (latest release) your rc.local doesn't need to have anything in it about rc.messagebus or rc.hal.

HTH,
MMYoung
 
Old 12-15-2005, 09:51 AM   #8
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
I'm sorry, I am running 2.12.2, but haven't updated my signature yet... thank you for your reply - I'll try a blank rc.local and see what happens...
 
Old 12-15-2005, 10:08 AM   #9
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally Posted by noxious
I'm sorry, I am running 2.12.2, but haven't updated my signature yet... thank you for your reply - I'll try a blank rc.local and see what happens...
The thing is when you installed/upgraded DLG-2.12.2 it *should've* cleared any references to rc.hal and rc.messagebus from your rc.local file. If it didn't you really need to post this to the DLG Forums as this could be a potential bug in the way the install/upgrade runs.

BTW, only GNOME uses messagebus/hal now, but it's on the way for KDE.

(edit)Be sure and leave the pam_console lock script in rc.local(end edit)

Later,
MMYoung

Last edited by MMYoung; 12-15-2005 at 10:32 AM.
 
Old 12-15-2005, 10:53 AM   #10
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
I left the reference to pam, ntpupdate and howl and commented out the rest - and things are fine now, normal boot-up.

It occurs to me that I used to run FRGnome and/or Gware.... this may have been a holdover from then - until I discovered DLGnome.

Thanks for your help! Merry Christmas!
 
Old 12-15-2005, 11:04 AM   #11
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
No problem, glad you got it straightened out.

Later,
MMYoung
 
Old 12-15-2005, 11:55 AM   #12
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Quote:
Originally Posted by noxious
I left the reference to pam, ntpupdate and howl and commented out the rest - and things are fine now, normal boot-up.

It occurs to me that I used to run FRGnome and/or Gware.... this may have been a holdover from then - until I discovered DLGnome.

Thanks for your help! Merry Christmas!
This is correct. Dropline's latest HAL and Dbus updates utilize sysvinit for the execution of HAL and Dbus daemons. We're attempting to avoid making any modifications to any existing files now (that includes rc.local), and will be utilizing sysvinit instead for future updates. This way, we never have to add anything to rc.local again.

On a slightly contradictory related note... The new HAL and Dbus attempts to remove any previous entries that our packages created in rc.local, but will ignore anything that a user might have manually added (in your case, anything that was there from FRG or Gware). 2.14.0 won't be this way; as we're really aiming for the most clean release possible.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HAL daemon cannot be started anymore zerberus Fedora 15 03-16-2007 04:58 PM
hal daemon not recognize floppy mount points gatons Linux - Hardware 1 01-26-2006 05:27 AM
daemon startup help! rino.caldelli Mandriva 4 12-18-2005 01:39 AM
HAL daemon & mount permissions tuxrules Fedora 1 01-19-2005 10:08 PM
FC3, updated kernel now HAL daemon fails rjcrews Fedora 4 01-03-2005 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration