Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] udev and line #35 of %DEV/devices

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arjan Bouter <abouter AT sourcemage.org>
  • To: f.bridault AT fra.net
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] udev and line #35 of %DEV/devices
  • Date: Thu, 21 Apr 2005 15:19:21 +0200

On Mon, 18 Apr 2005 17:25:49 +0200
Flavien Bridault <f.bridault AT fra.net> wrote:

> Le lundi 18 avril 2005 à 10:13 -0500, sergey AT optimaltec.com a écrit :
> > Hi All,
> >
> > This morning my machine failed to boot. I had to comment out line 35:
> > . /etc/udev/udev.conf
> > from file /etc/init.d/runlevels/%DEV/devices, to make it work again. This
> > file
> > udev.conf didn't exist on my system. It may have to do with recent
> > updated to
> > udev spell.

which grimoire are we talking about?
all udev spells should install udev.conf...

> >
> > Now the perforce server seems to be unavailable, but I updated devel
> > grimoire
> > this morning and sourcing of udev.conf is still there. Should this be
> > removed
> > altogether or sourced conditionally? I can file a bug if necessary.
> >
> > Thanks,
> > Sergey.
> > _______________________________________________
> > SM-Discuss mailing list
> > SM-Discuss AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
> >
> I had a similar problem when abouter first updated udev in devel. That
> was because I didn't updated to latest sorcery and udev spell failed to
> install some config files as it requires now new install_config_file
> function. But it may only happened if you have used devel disk section.

true, the udev spell in devel p4 uses a new sorcery function to install the
config files. the function was kindly provided by the sorcery team to save the
grimoire team from duplicating ~100 lines of code for every config file which
needs to be installed ;)

last time i checked it was in devel and test sorcery. (also a while ago,
sorry.)

>
> Now, abouter must have added a test to prevent that people who don't
> have latest sorcery update the spell. See [0] for more information about
> that.

the spell has been edited a while ago to test if the function is available and
exit if it doesn't.

both the previous version and the version i 'fixed' do install a udev.conf
file.
the only thing which could prevent that is either an older version from devel
grimoire or if sorcery/cast was killed while installing.

while talking about udev.conf, instead of installing a completely new
udev.conf
as the spell does now. we could sedit the relatively small change to it into
the udev.conf the user has now. I don't suppose many people edit their
udev.conf as it only contains the basic settings. I chose to replace it
altogether to assure there's at least a working udev configuration available
but that might not have been the most elegant way to do this.
Flavien, it's your call ;)

Either way, I won't have time to look into this myself any time soon.
(but will keep an eye on you guys, as you might have noticed)

Happy hacking guys :)

Arjan

>
> Please let us know if you solved the problem.
>
> [0] http://bugs.sourcemage.org/show_bug.cgi?id=8578
> --
> -- -- -- -- -- -- --
> Flavien Bridault
> Source Mage GNU/Linux - Disk Section Guru
>
> irc: vlaaad
> jabber: vlaaad AT amessage.be
>
>

Attachment: pgp0oRukQPl5b.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page