LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices



Reply
 
Search this Thread
Old 11-13-2012, 07:11 PM   #1
rpetrov
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, 01:55 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,220

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
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--

Code:
~# udevadm control --reload
Good luck.
 
Old 11-18-2012, 03:29 PM   #3
rpetrov
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.
 
  


Reply


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 10: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 11:39 AM
UDEV - SBLive(emu10k) - Mandriva hangs at UDEV during boot.....still! Grrr. peterlowrie Linux - Hardware 2 05-23-2010 07:37 PM
current users - udev-128 - don't forget rc.udev.new! tobyl Slackware 3 10-08-2008 04:28 AM
Tomcat reload servlet is very slow, but reload jsp is fast and good? gsbarry Programming 2 04-28-2006 10:34 PM


All times are GMT -5. The time now is 07:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration