Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Directory symlink(s) may need protection (/var/run)
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
freke
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2003
Posts: 119

PostPosted: Sun Feb 17, 2013 8:17 pm    Post subject: Directory symlink(s) may need protection (/var/run) Reply with quote

Hi,

Today a few packages updated on my mail-server - checking elogv afterwards reports the code below for both clamav and policyd-weight:

Code:
│Directory symlink(s) may need protection:                                                                         │
│                                                                                                                  │
│        /var/run                                                                                                  │
│                                                                                                                  │
│Searching all installed packages for files installed via above symlink(s)...                                      │
│                                                                                                                  │
│One or more symlinks to directories have been preserved in order to                                               │
│ensure that files installed via these symlinks remain accessible. This                                            │
│indicates that the mentioned symlink(s) may be obsolete remnants of an                                            │
│old install, and it may be appropriate to replace a given symlink with                                            │
│the directory that it points to.                                                                                  │
│                                                                                                                  │
│        /var/run   


Anyone able to explain to me what I have to do to resolve this?
(I just noticed going through elogv that both clamav and policyd-weight actually told me this as far back as nov-2012, too)

-freke
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Feb 17, 2013 9:08 pm    Post subject: Reply with quote

freke,

/var/run has been moved to /run

Not all software has been updated yet so the symlink /var/run was made.
Its safe to leave it meanwhile in case you are using anything that references /var/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
RAPHEAD
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2003
Posts: 102
Location: Germany

PostPosted: Wed Feb 20, 2013 6:54 pm    Post subject: Reply with quote

Great, thanks guys, this is exactly what I wanted to know.
Back to top
View user's profile Send private message
tox2ik
n00b
n00b


Joined: 15 Jun 2009
Posts: 9

PostPosted: Sun Apr 28, 2013 11:09 pm    Post subject: Reply with quote

NeddySeagoon wrote:

/var/run has been moved to /run


Why? Who (which programs, or people) had problems with the pid-folder being /var/run?
Back to top
View user's profile Send private message
r250r
n00b
n00b


Joined: 22 Nov 2012
Posts: 3
Location: Indiana

PostPosted: Sat May 04, 2013 6:12 pm    Post subject: Reply with quote

tox2ik wrote:

Why? Who (which programs, or people) had problems with the pid-folder being /var/run?


This may be a move by the Free Desktop org, rather than a response to a bug. They've made a number of changes in recent years to get away from historical/archaic filesystem layouts that aren't necessarily logical.

One example of such layouts, IIRC, is /bin, /sbin and /usr/bin. They were originally separate dirs because Dennis Ritchie's PDP-11 didn't have any individual disks large enough to put all executables in a single dir.
Back to top
View user's profile Send private message
RAPHEAD
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2003
Posts: 102
Location: Germany

PostPosted: Sat May 04, 2013 11:15 pm    Post subject: Reply with quote

thx for this historic view on this mess :)
Really time to tidy-up!
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