Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[xorg] xorg-server-1.9 est stable en amd
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Fenril
Apprentice
Apprentice


Joined: 16 May 2009
Posts: 209

PostPosted: Sat Jan 08, 2011 10:29 am    Post subject: Reply with quote

Lors de mise à jour de xorg cela écrasera ton fichier dans le /usr/share, donc si tu ne veux pas avoir la surprise lors d'une mise à jour il vaut mieux ne pas toucher au fichier dans /usr/share et d'en créer un avec tes règles dans /etc/X11/xorg.conf.d/, c'est ce que j'ai personnellement fait.
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8706
Location: ~Brussels - Belgique

PostPosted: Sun Jan 09, 2011 7:29 pm    Post subject: Reply with quote

OUI, ta config sera perdue !

Les configurations locales se font dans /etc, pas dans /usr.

Copie le fichier dans /etc/X11/xorg.conf.d et édite-le là.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Sun Jan 09, 2011 8:17 pm    Post subject: Reply with quote

Dans l'absolu oui, faut mettre la conf dans /etc, c'est plus propre.

Par contre, il est faux de dire que seul les fichiers de /etc sont protégés. Cela est plus large et protège aussi certains dossiers de /usr :
Code:
# emerge --info | grep CONFIG_PROTECT
CONFIG_PROTECT="/etc /usr/share/config /usr/share/openvpn/easy-rsa"

_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
Back to top
View user's profile Send private message
DuF
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2687
Location: Paris

PostPosted: Sun Jan 09, 2011 10:22 pm    Post subject: Reply with quote

guilc wrote:
Dans l'absolu oui, faut mettre la conf dans /etc, c'est plus propre.

Par contre, il est faux de dire que seul les fichiers de /etc sont protégés. Cela est plus large et protège aussi certains dossiers de /usr :
Code:
# emerge --info | grep CONFIG_PROTECT
CONFIG_PROTECT="/etc /usr/share/config /usr/share/openvpn/easy-rsa"


Intéressant ton post guilc, d'autant que chez moi je n'ai pas la même chose, ne serait-ce pas une configuration "custom" que tu aurais ?

Pour information, chez moi sans n'y avoir jamais touché j'ai :

Code:
duf@genduf ~ $ emerge --info | grep CONFIG_PROTECT
CONFIG_PROTECT="/etc"
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Mon Jan 10, 2011 9:26 am    Post subject: Reply with quote

C'est les packages qui pushent les chemins suivant leur besoin. Chez moi ça donne ça :
Quote:
# grep CONFIG_PROTECT /etc/env.d/*
/etc/env.d/00basic:CONFIG_PROTECT_MASK="/etc/gentoo-release"
/etc/env.d/09sandbox:CONFIG_PROTECT_MASK="/etc/sandbox.d"
/etc/env.d/20java-config:CONFIG_PROTECT_MASK="/etc/env.d/java/"
/etc/env.d/20php5.3:CONFIG_PROTECT_MASK="/etc/php/cli-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/apache2-php5.3/ext-active/"
/etc/env.d/37fontconfig:CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"
/etc/env.d/43kdepaths:CONFIG_PROTECT="/usr/share/config"
/etc/env.d/50ncurses:CONFIG_PROTECT_MASK="/etc/terminfo"
/etc/env.d/50postgresql-eselect:CONFIG_PROTECT_MASK="/etc/eselect/postgresql"
/etc/env.d/65openvpn:CONFIG_PROTECT="/usr/share/openvpn/easy-rsa"
/etc/env.d/98ca-certificates:CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"
/etc/env.d/99gentoolkit-env:CONFIG_PROTECT_MASK="/etc/revdep-rebuild"


C'est kde (la conf de kdm en fait) et openvpn qui ajoute du /usr/share ;)
_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
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
Goto page Previous  1, 2
Page 2 of 2

 
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