From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: Where are block@... database entries?
Date: Wed, 07 Sep 2005 13:42:35 +0000 [thread overview]
Message-ID: <20050907134235.GA16863@vrfy.org> (raw)
In-Reply-To: <431EAE49.2000800@average.org>
On Wed, Sep 07, 2005 at 05:26:10PM +0400, Eugene Crosser wrote:
> Kay Sievers wrote:
>
> >>>Any advice/ideas how to make it work?
> >>
> >>You need to upgrade HAL.
> >
> > Yes, see the RELEASE-NOTES for 061:
> > http://www.kernel.org/git/gitweb.cgi?p=linux/hotplug/udev.git;a=blob;hb=HEAD;f=RELEASE-NOTES
> >
> > At the same time HAL was changed and released to work with the new udev.
>
> There is no indication in the release notes on which version of HAL is
> appropriate. I am running 0.5.4, and it does not work, do I need to
> upgrade?
No, 0.5.4 should work. Here is the HAL ChangeLog:
http://cvs.freedesktop.org/hal/hal/ChangeLog?rev=1.546&view=markup
> > Note:
> > Randomly upgrading critical parts of the system, without resolving all
> > package requirements for the kernel, udev, hal, hal-susbsytem-managers
> > like NetworkManager, dbus, desktop-integration like gnome-volume-manager,
> > will probably break your setup.
>
> It's hard to break what does not work anyway... The problem is that
> udev is a part of slackware distribution, but hal is not, and it has to
> come with gnome (FRG in my case). Now I am trying to figure a working
> setup, to be able to advice FRG folks after that. Existing documents on
> the web are hopelessly out of date, so please bear with me.
Looking at the HAL debug output may show something:
http://hal.freedesktop.org/wiki/Software_2fHalTraces
> >>>And BTW, I *think* that "udev_log" in udev.conf (and maybe other
> >>>entries?) should be uppercased. This file is sourced into shell
> >>>scripts, and then the binaries such as udevstart check for enviroment
> >>>variable UDEV_LOG, in uppercase. Do I miss something?
> >>
> >>Yes. The file is also a real configuration file of the programs.
> >
> > Right! All the binary udev tools parse this file. This is the primary
> > use of this file, while sourcing it in with a shell works too.
> > (UDEV_LOG is exported from the udev tools after reading it from the
> > config file, but with the log priority in its numerial representation
> > not the text used in the config.)
>
> I just noticed that when I change udev_log in udev.conf, udevstart does
> *not* become more verbose as I expected. When I set UDEV_LOG
> environment variable and then run udevstart, it *does* become verbose.
> I figured that this looks like a bug...
Yes, it's a special case for udevstart. Enabling debugging output in
udevstart may cause udevstart to take several minutes to finish on
systems with "sync" syslog configurations. That may lead to a system
unable to bootup correctly. udevstart ignores the setting from the config
file, you can only debug it on the commandline. All other udev tools don't
override the setting.
See line 351:
http://www.kernel.org/git/?p=linux/hotplug/udev.git;a=blob;hÎ96f38879186c81d185f520393a2b18c4428166;hb=HEAD;f=udevstart.c#l351
Kay
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next prev parent reply other threads:[~2005-09-07 13:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-07 9:09 Where are block@... database entries? Eugene Crosser
2005-09-07 9:11 ` Marco d'Itri
2005-09-07 11:53 ` Kay Sievers
2005-09-07 13:26 ` Eugene Crosser
2005-09-07 13:42 ` Kay Sievers [this message]
2005-09-07 14:07 ` Eugene Crosser
2005-09-07 14:15 ` Kay Sievers
2005-09-07 16:30 ` Marco d'Itri
2005-09-09 14:56 ` Eugene Crosser
2005-09-11 20:54 ` Seth W. Klein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050907134235.GA16863@vrfy.org \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).