Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[filesystem] /var/run et /run[résolu]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
bdouxx
Tux's lil' helper
Tux's lil' helper


Joined: 28 Dec 2009
Posts: 117

PostPosted: Fri Mar 08, 2013 7:35 am    Post subject: [filesystem] /var/run et /run[résolu] Reply with quote

Bonjour à tous

Quote:
* 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
*

J'arrive certainement après la bataille sur le sujet, mais j'aimerai juste comprendre le pourquoi de cela. Pas besoin de trop rentrer dans les détail, mais c'est juste que je ne trouve pas d'explication.
une doc arch sur internet me dit :
Quote:
les répertoires /var/run et /var/lock seront remplacés par des liens symboliques vers /run et /run/lock, respectivement.

Ok, si ils veulent... Le repertoire /var/run est il toujours censé exister à terme? Pourquoi les programmes ne pointent ils pas directement sur /run?

Quote:
# dispatch-conf;source /etc/zsh/zprofile;
--- /etc/conf.d/apache2 2013-03-04 20:44:03.000000000 +0100
+++ /etc/conf.d/._mrg0000_apache2 2013-03-08 08:14:44.000000000 +0100
@@ -44,7 +44,7 @@
# YOU HAVE BEEN WARNED.

# PID file
-#PIDFILE=/run/apache2.pid
+#PIDFILE=/var/run/apache2.pid

Apache ne fait il pas le chemin inverse en pointant maintenant sur /var/run?


Merci d'avance pour vos explications


Last edited by bdouxx on Sun Mar 10, 2013 9:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
boozo
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3193

PostPosted: Fri Mar 08, 2013 8:24 am    Post subject: Reply with quote

'alute

long débat sur l'unification/standardisation du stokage des données d'exécutions au démarrage... :wink:
De façon non exhaustive et sans orientation de ma part : voir ici, , ou encore .
_________________
" Un psychotique, c'est quelqu'un qui croit dur comme fer que 2 et 2 font 5, et qui en est pleinement satisfait.
Un névrosé, c'est quelqu'un qui sait pertinemment que 2 et 2 font 4, et ça le rend malade ! "
Back to top
View user's profile Send private message
El_Goretto
Moderator
Moderator


Joined: 29 May 2004
Posts: 3169
Location: Paris

PostPosted: Fri Mar 08, 2013 9:33 am    Post subject: Reply with quote

Sur le fond, c'est pas spécialement idiot du tout, et les scripts init gentoo ont bien commencé à intégrer le concept, à coups de "checkpath" pour recréer/vérifier leurs arborescence "run" à chaque démarrage.
_________________
-TrueNAS & jails: µ-serv Gen8 E3-1260L, 16Go ECC + µ-serv N40L, 10Go ECC
-Réseau: APU2C4 (OpenWRT) + GS726Tv3 + 2x GS108Tv2 + Archer C5v1 (OpenWRT)
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1896
Location: 127.0.0.1

PostPosted: Fri Mar 08, 2013 9:56 am    Post subject: Reply with quote

En attendant que la situation soit clarifiée (pour le moment on a le cul entre deux chaises), si vous ne voulez plus voir ce warning :
Quote:

You probably want to keep that /var/run symlink, at least until all of
your installed packages have been fixed to use /run directly. You can
suppress the warning by putting a setting like this in make.conf:

UNINSTALL_IGNORE="${UNINSTALL_IGNORE} /var/run"

That will prevent portage from trying to uninstall that symlink.

http://www.gossamer-threads.com/lists/gentoo/dev/266184
Back to top
View user's profile Send private message
bdouxx
Tux's lil' helper
Tux's lil' helper


Joined: 28 Dec 2009
Posts: 117

PostPosted: Sun Mar 10, 2013 9:24 pm    Post subject: Reply with quote

merci pour vos réponse, c'est plus clair maintenant.

Et concernant apache je viens de me rendre compte, qu'en stable les versions ont fait un retour arrière 2.2.24 -> 2.4 ->2.2.24 et ça doit être pour cela que le fichier de conf met du /var/run.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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