Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Slackware - Installation This forum is for the discussion of installation issues with Slackware.


  Search this Thread
Old 11-13-2012, 06:11 PM   #1
LQ Newbie
Registered: Nov 2012
Posts: 6

Rep: Reputation: Disabled
improve rc.udev reload

After upgrade to 14.0 I note some issues with rc.udev reload - copy command drop write permission of already mounted /dev/shm.
Result is that some applications run as non superuser fail in call of sem_open() .
Probably this is obsolete work-around for old udev versions.

What about to replace copy command with two new lines that trigger change event for both valid device types ?
Old 11-14-2012, 12:55 AM   #2
Senior Member
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,627

Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
What about to replace copy command with two new lines that trigger change event for both valid device types ?
You can rewrite the script to fit your taste.

There is a safer way of reloading udev database and rules anyway--

~# udevadm control --reload
Good luck.
Old 11-18-2012, 02:29 PM   #3
LQ Newbie
Registered: Nov 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
First command in rc.udev reload in case of reload is "udevadm control --reload" .

Post is about second line "cp --preserve=all --recursive --update /lib/udev/devices/* $UDEV_ROOT". This command remove write permissions from /dev/shm.
a) It could be resolved if source directory (/lib/udev/devices/shm) is with correct write permissions.
b) to remove second line

I guess that previous post mean that is save to remove line.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] udev and dbus - using the notivy-send command in a script started by udev markush Slackware 2 10-14-2012 09:26 AM
UDEV: Unable to run a command line interface script after USB automount using udev mohamr2 Linux - Embedded & Single-board computer 8 08-16-2011 10:39 AM
UDEV - SBLive(emu10k) - Mandriva hangs at UDEV during boot.....still! Grrr. peterlowrie Linux - Hardware 2 05-23-2010 06:37 PM
current users - udev-128 - don't forget! tobyl Slackware 3 10-08-2008 03:28 AM
Tomcat reload servlet is very slow, but reload jsp is fast and good? gsbarry Programming 2 04-28-2006 09:34 PM

All times are GMT -5. The time now is 06:43 AM.

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