LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2008, 11:00 PM   #1
banajah
Member
 
Registered: Apr 2006
Location: Saudi Arabia
Distribution: RHEL 5
Posts: 32

Rep: Reputation: 15
useage of the file /var/lock/subsys/local


Hello there....
Can any one let me know what is the useage of the file /var/lock/subsys/local and can I remove the following line from /etc/rc.local script?

touch /var/lock/subsys/local


Thanks,
 
Old 03-14-2008, 05:44 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,359
Blog Entries: 55

Rep: Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546
Quote:
Originally Posted by banajah View Post
Can any one let me know what is the useage of the file /var/lock/subsys/local
Together with the PID file it's an indication the process is active?


Quote:
Originally Posted by banajah View Post
can I remove the following line from /etc/rc.local script?
Yes you can but that doesn't mean you must.
Maybe you should explain why you want to do that?
 
  


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
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) phreakshew Linux - Newbie 17 07-12-2016 02:50 AM
touch /var/lock/subsys/local <<-- Why? cl2imson Linux - Newbie 12 06-26-2011 02:35 PM
subsys lock? Travis_NOOB Fedora 0 09-28-2005 04:51 PM
/var/lock/subsys/ stefaandk Linux - Newbie 2 07-21-2005 07:27 PM
Failed to lock file /var/spool/cron/root after 5 minutes teeno Linux - Software 0 09-24-2003 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:18 PM.

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