View previous topic :: View next topic |
Author |
Message |
bdouxx Tux's lil' helper
Joined: 28 Dec 2009 Posts: 117
|
Posted: Fri Mar 08, 2013 7:35 am Post subject: [filesystem] /var/run et /run[résolu] |
|
|
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 |
|
|
boozo Advocate
Joined: 01 Jul 2004 Posts: 3193
|
|
Back to top |
|
|
El_Goretto Moderator
Joined: 29 May 2004 Posts: 3169 Location: Paris
|
Posted: Fri Mar 08, 2013 9:33 am Post subject: |
|
|
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 |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1897 Location: 127.0.0.1
|
Posted: Fri Mar 08, 2013 9:56 am Post subject: |
|
|
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 |
|
|
bdouxx Tux's lil' helper
Joined: 28 Dec 2009 Posts: 117
|
Posted: Sun Mar 10, 2013 9:24 pm Post subject: |
|
|
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 |
|
|
|