Gentoo 2007-rc3 .....

Résolu
Bonjour,

Pas de souci pour l'instant !

quelques liens à étudier ......pour ma pomme !

https://forums.gentoo.org/viewtopic-t-633281.html?sid=63625b28db6a55af57ceac0df79664aa

:-))

--

Debian Etch  // Fedora 8 // Gentoo 2007-rc3 // Mandriva 2007.1 Spring
Windows Breaks : -----^-----^-----^-----^-----^-----^--- bip bip bip bip !
Configuration: Windows XP du boulot
Internet Explorer 6.0 du boulot

62 réponses

Résumé de la discussion

Plusieurs liens et références techniques ont été partagés pour tester et optimiser des systèmes Unix/Linux, avec des exemples couvrant Debian, Fedora, Gentoo et Mandriva et outils de configuration. Des ressources de filtrage de mails, des correctifs fail2ban après un changement de noyau et des HOWTO d’optimisation et de kernel hacking ont été évoqués, notamment des liens vers des wiki et guides. D'autres réponses traitent de la configuration matérielle et logicielle, avec retours sur l'installation et la compilation, des ajustements comme une gestion du pavé numérique et des conseils sur l'équipement audio. D'autres réponses signalent aussi des outils complémentaires tels que Vim, des astuces console et KernelNewbies, et suggèrent une approche progressive pour régler les derniers détails avant une utilisation complète.

Bobot (l’IA à votre service)
  1. a tester :

    Booster le démarrage de Gentoo

    http://www.labo-linux.org/tips/booster-le-demarrage-de-gentoo/
    0
    1. Échecs à la vérification des sommes de contrôle (Digest)

      MAJ ce jour :
      gentoo ~ # emerge -uDpv world
      
      These are the packages that would be merged, in order:
      
      Calculating world dependencies |!!! Digest verification failed:
      !!! /usr/portage/net-firewall/iptables/iptables-1.4.0-r1.ebuild
      !!! Reason: Filesize does not match recorded size
      !!! Got: 6287
      !!! Expected: 6235
      ... done!
      [ebuild     U ] app-arch/lzma-utils-4.32.7 [4.32.6] USE="-nocxx" 469 kB 
      [ebuild     U ] media-libs/libpng-1.2.33 [1.2.26-r1] 502 kB 
      [ebuild     U ] sys-apps/man-pages-3.14 [3.13] USE="nls" LINGUAS="-cs -da -de -es -fr -it -ja -nl -pl -ro -ru -zh_CN" 1,010 kB 
      [ebuild     U ] sys-apps/util-linux-2.14.1 [2.13.1.1] USE="crypt nls unicode -loop-aes -old-linux (-selinux) -slang (-uclibc)" 2,861 kB 
      [ebuild  NS   ] sys-kernel/gentoo-sources-2.6.26-r4  USE="-build -symlink" 174 kB 
      [ebuild     UD] net-firewall/iptables-1.3.8-r3 [1.4.0-r1] USE="ipv6 -extensions -imq -l7filter -static" 169 kB 
      
      Total: 6 packages (4 upgrades, 1 downgrade, 1 in new slot), Size of downloads: 5,183 kB
      gentoo 
      ~ #

      explications :
      https://wiki.gentoo.org/wiki/Handbook:X86?part=2&chap=1

      doc : http://www.linux.com/feature/56270
      0
      1. suite

        *) à propos du paquetage xfce-extra : tout est rentré dans l'ordre avec la dernière MAJ !

        *) remarque le message suivant avec l'installation du tout dernier noyau : 2.6.26-gentoo-r3

        gentoo log # sysctl -p /etc/sysctl.conf
        net.ipv4.ip_forward = 1
        error: "net.ipv6.ip_forward" is an unknown key
        net.ipv4.ip_dynaddr = 1
        net.ipv4.conf.default.rp_filter = 1
        net.ipv4.conf.all.rp_filter = 1
        gentoo log #

        solutions ? :

        Try to remove that kernel parameter from the file sysctl.conf and try it again…

        The correct keyword is maybe "net.ipv6.conf.all.forwarding".
        0
        1. RESOLU !

          en fait ce sont les expressions :
          -m state --state ESTABLISHED,RELATED
          -m state --state ! INVALID


          qui ne passaient pas ! je les ai viré et tout est rentré dans l'ordre !

          concernant la commande lsmod, ben, comme les options sont compilées dans le noyau (et non pas comme modules), je suppose que cela explique pourquoi ils n'apparaissent pas !

          FIN !
          0
          1. ce que je pige pas c'est qu'aucun module ip* n'est chargé :
            gentoo linux-2.6.25-gentoo-r9 # lsmod | grep ip
            gentoo linux-2.6.25-gentoo-r9 # 

            j'utilise, comme on peut le voir, le dernier noyau !

            je m'interroge toujours ...
            0
            1. voici :

              gentoo Desktop # cat /usr/src/linux/.config | grep CONNTRACK
              CONFIG_NF_CONNTRACK=y
              CONFIG_NF_CONNTRACK_MARK=y
              CONFIG_NF_CONNTRACK_SECMARK=y
              CONFIG_NF_CONNTRACK_EVENTS=y
              # CONFIG_NF_CONNTRACK_AMANDA is not set
              CONFIG_NF_CONNTRACK_FTP=m
              CONFIG_NF_CONNTRACK_H323=m
              CONFIG_NF_CONNTRACK_IRC=m
              CONFIG_NF_CONNTRACK_NETBIOS_NS=m
              CONFIG_NF_CONNTRACK_PPTP=m
              CONFIG_NF_CONNTRACK_SANE=m
              CONFIG_NF_CONNTRACK_SIP=m
              CONFIG_NF_CONNTRACK_TFTP=m
              CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
              CONFIG_NF_CONNTRACK_IPV4=y
              CONFIG_NF_CONNTRACK_PROC_COMPAT=y
              CONFIG_NF_CONNTRACK_IPV6=m
              gentoo Desktop #

              gentoo Desktop # dmesg | tail
              agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
              agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
              NVRM: can't translate KVA in nv_get_phys_address()!
              agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
              agpgart: Device is in legacy mode, falling back to 2.x
              agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
              agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
              NVRM: can't translate KVA in nv_get_phys_address()!
              NVRM: can't translate KVA in nv_get_phys_address()!
              NVRM: can't translate KVA in nv_get_phys_address()!
              gentoo Desktop #
              0
              1. tu peux afficher,

                cat /usr/src/linux/.config | grep CONNTRACK

                et

                dmesg | tail

                s'il te plait
                0
                1. bon j'avance, petit à petit !

                  mon script iptables me renvoie la message suivant :
                  iptables: No chain/target/match by that name

                  j'ai utilisé le même script qui avait résolu mon problème sur la debian :
                  http://www.commentcamarche.net/forum/affich 3451362 debian iptables

                  en fait ce sont les règles suivantes qui me renvoient l'erreur :
                  iptables -A INPUT -i eth0 -d 192.168.1.2 -s 0.0.0.0/0 -m state --state ESTABLISHED,RELATED -j ACCEPT
                  iptables -A OUTPUT -o eth0 -s 192.168.1.2 -d 0.0.0.0/0 -m state --state ! INVALID -j ACCEPT


                  pourtant ces règles fonctionnent très bien sur ma mandriva, la fedora et la debian, et je pense les avoir utilisé jadis sur mon ancienne gentoo !

                  alors quel est le problème aujourd'hui ?
                  0
                  1. j'essaie de mettre en place iptables à l'aide de ce tuto :
                    http://www.gentoofr.org/article34.html

                    je tombe invariablement sur le message suivant : can't initialize iptables table `filter'

                    je comprends pas très bien !

                    j'ai recompilé le noyau, réinstallé iptables !

                    redfox@gentoo ~ $ cat /usr/src/linux/.config | grep FILTER
                    CONFIG_NETFILTER=y
                    CONFIG_NETFILTER_DEBUG=y
                    CONFIG_NETFILTER_ADVANCED=y
                    CONFIG_NETFILTER_NETLINK=y
                    CONFIG_NETFILTER_NETLINK_QUEUE=y
                    CONFIG_NETFILTER_NETLINK_LOG=y
                    CONFIG_NETFILTER_XTABLES=y
                    CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
                    CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
                    CONFIG_NETFILTER_XT_TARGET_DSCP=m
                    CONFIG_NETFILTER_XT_TARGET_MARK=m
                    CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
                    CONFIG_NETFILTER_XT_TARGET_NFLOG=m
                    CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
                    CONFIG_NETFILTER_XT_TARGET_RATEEST=m
                    CONFIG_NETFILTER_XT_TARGET_TRACE=m
                    CONFIG_NETFILTER_XT_TARGET_SECMARK=m
                    CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=m
                    CONFIG_NETFILTER_XT_TARGET_TCPMSS=m
                    # CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set
                    CONFIG_NETFILTER_XT_MATCH_COMMENT=m
                    CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
                    CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m
                    CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
                    CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
                    CONFIG_NETFILTER_XT_MATCH_DCCP=m
                    CONFIG_NETFILTER_XT_MATCH_DSCP=m
                    CONFIG_NETFILTER_XT_MATCH_ESP=m
                    CONFIG_NETFILTER_XT_MATCH_HELPER=m
                    CONFIG_NETFILTER_XT_MATCH_IPRANGE=m
                    CONFIG_NETFILTER_XT_MATCH_LENGTH=m
                    CONFIG_NETFILTER_XT_MATCH_LIMIT=m
                    CONFIG_NETFILTER_XT_MATCH_MAC=m
                    CONFIG_NETFILTER_XT_MATCH_MARK=m
                    CONFIG_NETFILTER_XT_MATCH_OWNER=m
                    CONFIG_NETFILTER_XT_MATCH_POLICY=m
                    CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
                    CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
                    CONFIG_NETFILTER_XT_MATCH_QUOTA=m
                    CONFIG_NETFILTER_XT_MATCH_RATEEST=m
                    CONFIG_NETFILTER_XT_MATCH_REALM=m
                    CONFIG_NETFILTER_XT_MATCH_SCTP=m
                    CONFIG_NETFILTER_XT_MATCH_STATE=m
                    CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
                    CONFIG_NETFILTER_XT_MATCH_STRING=m
                    CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
                    CONFIG_NETFILTER_XT_MATCH_TIME=m
                    CONFIG_NETFILTER_XT_MATCH_U32=m
                    CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m
                    CONFIG_IP_NF_FILTER=y
                    CONFIG_IP_NF_ARPFILTER=m
                    CONFIG_IP6_NF_FILTER=m
                    redfox@gentoo ~ $


                    ai-je raté quelque chose ?
                    0
                    1. si je fais une recherche dans google avec : @INTLTOOL_ICONV" requires explicit package name
                      je tombe sur différents bugs !

                      j'ai testé la solution suivante : The solution was to manually run intltoolize before the build
                      source : http://fcp.surfsite.org/...

                      ... mais ça l'a pas fait !

                      je suppose que c'est un bug, probablement !
                      0
                      1. je me colle le message d'erreur :

                        blablabla
                        sed -e "s,\@libexecdir\@,/usr/libexec,g" < w3m.desktop.in.in > w3m.desktop.in
                        sed -e "s,\@libexecdir\@,/usr/libexec,g" < xterm.desktop.in.in > xterm.desktop.in
                        LC_ALL=C ../../intltool-merge -d -u -c ../../po/.intltool-merge-cache ../../po Terminal.desktop.in Terminal.desktop
                        LC_ALL=C ../../intltool-merge -d -u -c ../../po/.intltool-merge-cache ../../po aterm.desktop.in aterm.desktop
                        Possible unintended interpolation of @INTLTOOL_ICONV in string at ../../intltool-merge line 96.
                        Global symbol "@INTLTOOL_ICONV" requires explicit package name at ../../intltool-merge line 96.
                        BEGIN not safe after errors--compilation aborted at ../../intltool-merge line 263.
                        make[4]: *** [Terminal.desktop] Erreur 9
                        make[4]: *** Attente des tâches non terminées....
                        Possible unintended interpolation of @INTLTOOL_ICONV in string at ../../intltool-merge line 96.
                        Global symbol "@INTLTOOL_ICONV" requires explicit package name at ../../intltool-merge line 96.
                        BEGIN not safe after errors--compilation aborted at ../../intltool-merge line 263.
                        make[4]: *** [aterm.desktop] Erreur 9
                        rm aterm.desktop.in epiphany.desktop.in Terminal.desktop.in sylpheed-claws.desktop.in balsa.desktop.in galeon.desktop.in thunderbird.desktop.in netscape-navigator.desktop.in konqueror.desktop.in mozilla-browser.desktop.in xterm.desktop.in mutt.desktop.in w3m.desktop.in sylpheed.desktop.in opera-mailer.desktop.in debian-x-terminal-emulator.desktop.in urxvt.desktop.in links.desktop.in opera-browser.desktop.in eterm.desktop.in gnome-terminal.desktop.in debian-sensible-browser.desktop.in evolution.desktop.in mozilla-mailer.desktop.in nxterm.desktop.in encompass.desktop.in kmail.desktop.in firefox.desktop.in lynx.desktop.in
                        make[4]: quittant le répertoire « /var/tmp/portage/xfce-extra/exo-0.3.4-r1/work/exo-0.3.4/exo-helper/helpers »
                        make[3]: *** [all-recursive] Erreur 1
                        make[3]: quittant le répertoire « /var/tmp/portage/xfce-extra/exo-0.3.4-r1/work/exo-0.3.4/exo-helper »
                        make[2]: *** [all] Erreur 2
                        make[2]: quittant le répertoire « /var/tmp/portage/xfce-extra/exo-0.3.4-r1/work/exo-0.3.4/exo-helper »
                        make[1]: *** [all-recursive] Erreur 1
                        make[1]: quittant le répertoire « /var/tmp/portage/xfce-extra/exo-0.3.4-r1/work/exo-0.3.4 »
                        make: *** [all] Erreur 2


                        gentoo elog # emerge --info
                        Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r9 i686)
                        =================================================================
                        System uname: 2.6.25-gentoo-r9 i686 Intel(R) Celeron(R) CPU 2.80GHz
                        Timestamp of tree: Sat, 15 Nov 2008 18:00:01 +0000
                        ccache version 2.4 [enabled]
                        app-shells/bash:     3.2_p33
                        dev-lang/python:     2.5.2-r7
                        dev-util/ccache:     2.4-r7
                        sys-apps/baselayout: 1.12.11.1
                        sys-apps/sandbox:    1.2.18.1-r2
                        sys-devel/autoconf:  2.13, 2.61-r2
                        sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1-r1
                        sys-devel/binutils:  2.18-r3
                        sys-devel/gcc-config: 1.4.0-r4
                        sys-devel/libtool:   1.5.26
                        virtual/os-headers:  2.6.23-r3
                        ACCEPT_KEYWORDS="x86"
                        CBUILD="i686-pc-linux-gnu"
                        CFLAGS="-O2 -march=i686 -pipe"
                        CHOST="i686-pc-linux-gnu"
                        CONFIG_PROTECT="/etc"
                        CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
                        CXXFLAGS="-O2 -march=i686 -pipe"
                        DISTDIR="/usr/portage/distfiles"
                        FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
                        GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
                        LANG="fr_FR@euro"
                        LC_ALL="fr_FR"
                        LDFLAGS="-Wl,-O1"
                        MAKEOPTS="-j2"
                        PKGDIR="/usr/portage/packages"
                        PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
                        PORTAGE_TMPDIR="/var/tmp"
                        PORTDIR="/usr/portage"
                        SYNC="rsync://rsync.gentoo.org/gentoo-portage"
                        USE="X acl alsa berkdb bzip2 cli cracklib crypt cups dbus dri file-icons fortran gdbm gpm hal iconv ipv6 isdnlog menu-plugin midi mudflap ncurses nls nptl nptlonly openmp oss pam pcre perl pppd python readline reflection session spl ssl startup-notification sysfs tcpd trash-plugin unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
                        Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
                        

                        https://bugs.gentoo.org/show_bug.cgi?id=208074
                        https://bugs.gentoo.org/show_bug.cgi?id=219250
                        0
                        1. je pense qu'il y a un rapport avec ceci :
                          xfce-extra/exo
                          
                          Extensions, widgets and framework library with session management support
                          14 Nov 2008; Christoph Mende (angelos) exo-0.3.4.ebuild,
                          exo-0.3.4-r1.ebuild:
                          Run full eautoreconf, eautoconf alone won't work in some cases

                          https://packages.gentoo.org/categories/xfce-extra

                          voir aussi ceci : http://www.gentoo.org/proj/fr/qa/autofailure.xml
                          0
                          1. *) passage réussi au dernier noyau (voir manip post<50>) :

                            redfox@gentoo ~ $ uname -r
                            2.6.25-gentoo-r9
                            redfox@gentoo ~ $

                            *) MAJ aujourd'hui : un paquet ne passe pas !

                            gentoo 2008 + XFCE :

                            >>> Messages generated by process 5172 on 2008-11-15 21:46:44 CET for package xfce-extra/exo-0.3.4-r1:
                            
                            ERROR: compile
                            
                            ERROR: xfce-extra/exo-0.3.4-r1 failed.
                            Call stack:
                                          ebuild.sh, line   49:  Called src_compile
                                        environment, line 2907:  Called xfce44_src_compile
                                        environment, line 3514:  Called die
                            The specific snippet of code:
                                  emake ${JOBS} || die
                             The die message:
                              (no error message)
                            
                            If you need support, post the topmost build error, and the call stack if relevant.
                            A complete build log is located at '/var/tmp/portage/xfce-extra/exo-0.3.4-r1/temp/build.log'.
                            The ebuild environment file is located at '/var/tmp/portage/xfce-extra/exo-0.3.4-r1/temp/environment'.


                            fichier /var/log/portage/elog/summary.log

                            http://gentoo.linuxhowtos.org/portage/xfce-extra/exo
                            0
                            1. un petit up ,

                              je vais en avoir besoin pour la Gentoo 2008 :

                              gentoo ~ # uname -r
                              2.6.25-gentoo-r7
                              gentoo ~ #

                              0
                              1. passage noyau r8
                                manips : idem post<50>
                                redfox@gentoo ~ $ uname -r
                                2.6.24-gentoo-r8
                                redfox@gentoo ~ $

                                0
                                1. Gentoo : Guide du Routeur Personnel (en français) :
                                  http://www.gentoo.org/doc/fr/home-router-howto.xml?style=printable

                                  bon, ben, je ne me souviens plus comment faire en sorte que mes règles iptables soient actives au démarrage !
                                  j'ai noté ça quelque part mais me souviens plus .....grrrrrrrrrrrrr !
                                  j'ai modifié mon fichier iptables, peut-être que ça va le faire quand même ! je verrai bien au prochain redémarrage sous gentoo !
                                  0
                                  1. passage noyau r7

                                    manips : idem post<50>

                                    redfox@gentoo ~ $ uname -r
                                    2.6.24-gentoo-r7
                                    redfox@gentoo ~ $
                                    0
                                    1. Modifier le hostname :
                                      https://www.explorelinux.com/

                                      la commande hostname

                                      les fichiers :
                                      /etc/hosts
                                      /proc/sys/kernel/hostname

                                      ou se trouve le fichier /etc/sysconfig/network (/etc/sysconfig/ n'existe ni sur la gentoo, ni sur la debian) ???
                                      merci.

                                      :-))
                                      0
                                      1. pour mémoire

                                        modifier la date et l'heure :

                                        redfox@localhost ~ $ date
                                        mar avr 29 10:06:26 CEST 2008
                                        redfox@localhost ~ $

                                        localhost ~ # date 042921252008
                                        Tue Apr 29 21:25:00 CEST 2008
                                        localhost ~ #
                                        0
                                        1. nouveau noyau :

                                          localhost log # uname -r
                                          2.6.24-gentoo-r4
                                          localhost log #


                                          les manips :

                                          localhost log # eselect kernel list
                                          localhost log # eselect kernel set 5
                                          localhost log # eselect kernel list
                                          Available kernel symlink targets:
                                            [1]   linux-2.6.23-gentoo-r3
                                            [2]   linux-2.6.23-gentoo-r8
                                            [3]   linux-2.6.23-gentoo-r9
                                            [4]   linux-2.6.24-gentoo-r3
                                            [5]   linux-2.6.24-gentoo-r4 *
                                          localhost log #


                                          localhost log # ls -l /usr/src/linux
                                          lrwxrwxrwx 1 root root 22 Apr  6 17:00 /usr/src/linux -> linux-2.6.24-gentoo-r4
                                          localhost log #


                                          localhost log # cp /usr/src/linux-2.6.24-gentoo-r3/.config /usr/src/linux-2.6.24-gentoo-r4/
                                          localhost log # cd /usr/src/linux
                                          localhost linux # make && make modules_install
                                          localhost linux # cp arch/i386/boot/bzImage /boot/bzImage-2.6.24-gentoo-r4


                                          puis modif fichier /boot/grub/menu.list (mandriva) pour booter sur nouveau noyau gentoo !
                                          0
                                          • 1
                                          • 2
                                          • 3
                                          • 4