Skip to contentSkip to conversation

udev init

DISCUSSION Peter Christy 5 participants 5 messages Jan 2, 2004

lore
Share & tools
lore
#0 lore raw

I've just been trying to install udev, as I was having naming consistency problems with devfs, and udev holds the tantalising promise of sorting this.

Unfortunately, udev-011 seems to be built for systems using SysV style init scripts. I'm running Slackware, which uses BSD style init.

"make install" seems to have created an etc/init.d directory containing the startup script (?), which presumably I can rename and install in the correct place (/etc/rc.d/rc.udev) for Slackware. However, it seems to refer to an / etc/rc.d/initd/functions script, which doesn't exist in Slackware. Since I don't have it, I can't figure out what its meant to be doing to work around it.

Sorry if this question has been asked before, but Google has drawn a blank, and I don't know where to go next. Any pointers would be appreciated!

Signature · 14 lines
Pete
[email protected]



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#1 lore raw

Hi,

Quoted 9 lines

I've just been trying to install udev, as I was having naming consistency
problems with devfs, and udev holds the tantalising promise of sorting this.

Unfortunately, udev-011 seems to be built for systems using SysV style init
scripts. I'm running Slackware, which uses BSD style init.

Quoted 11 lines

"make install" seems to have created an etc/init.d directory containing the
startup script (?), which presumably I can rename and install in the correct
place (/etc/rc.d/rc.udev) for Slackware. However, it seems to refer to an /
etc/rc.d/initd/functions script, which doesn't exist in Slackware. Since I
don't have it, I can't figure out what its meant to be doing to work around
it.

/etc/rc.d/init.d/functions is a RedHat specific script. You can comment out the line refering to it, and replace the:
action "string" /bin/true
by
echo "string"

With friendly regards,
Takis

Signature · 15 lines
e-mail: [email protected]
OpenPGP key: http://lumumba.luc.ac.be/takis/takis_public_key.txt
fingerprint: 6571 13A3 33D9 3726 F728  AA98 F643 B12E ECF3 E029
IM: [email protected], icq(12764288), [email protected]


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#2 lore raw
In reply to Peter Christy
Quoted 5 lines · Peter Christy

I've just been trying to install udev, as I was having naming consistency problems with devfs, and udev holds the tantalising promise of sorting this.

Unfortunately, udev-011 seems to be built for systems using SysV style init scripts. I'm running Slackware, which uses BSD style init.

Yes, the udev tarball contains a Red Hat specific init script. If you aren't useing Red Hat, then this script will probably not work for you, sorry.

I have included a Linux From Scratch init script in the tarball, as someone using that distro provided it. If anyone has any other distro specific init script that works for udev, feel free to send it to me and I'll include it in the tree (I know lots of Debian users are also running into this problem.)

thanks,

greg k-h

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#3 lore raw
In reply to Peter Christy
Quoted 2 lines · Greg KH

I'll include it in the tree (I know lots of Debian users are also running into this problem.)

Debian users are supposed to use the debian package, which comes with its own init script.

Signature · 13 lines
ciao, |
Marco | [3855 im.x4FmHhBmkE]


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#4 lore raw
In reply to Peter Christy
Quoted 2 lines · Peter Christy

Unfortunately, udev-011 seems to be built for systems using SysV style init scripts. I'm running Slackware, which uses BSD style init.

Just FYI, Slackware sort of supports SysV init scripts if you just go ahead and create the directories (for example /etc/rc.d/rc3.d/) and put scripts in them. See the comments in /etc/rc.d/rc.sysvinit for details.

Note that I'm checking this on a Slackware 8.x system here, so YMMV. I haven't yet tried putting udev on such a system.

-Dave Dodge

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel