Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/var/lock vs /run/lock
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
hanfi
n00b
n00b


Joined: 18 Apr 2011
Posts: 6

PostPosted: Tue Sep 10, 2013 7:14 am    Post subject: /var/lock vs /run/lock Reply with quote

Hi,

Initiated by a failing cronjob, i grep'ed trough /etc for "var\/lock" and found some stuff using that. Howver, on my System /var/lock does not exist anymore.
Iirc the "correct" location would be /run/lock?
Should I report a bug on packages still using /var/lock?

I think I remember seeing some messages about this from portage when I still had /var/lock (and at some time I just deleted /var/lock). I could symlink /var/lock to /run/lock, but if /run/lock is the "new way" to do things, i like to keep it deleted and update everything to use /run/lock.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32320
Location: 56N 3W

PostPosted: Tue Sep 10, 2013 12:08 pm    Post subject: Reply with quote

hanfi,

/run/lock is the new way but until everything is updated, /var/run should be a symlink pointing to /run
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum