Gentoo 2007-rc3 .....

Résolu/Fermé
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 - 28 déc. 2007 à 13:39
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 - 4 avril 2009 à 20:41
Bonjour,

Pas de souci pour l'instant !

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

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


:-))
A voir également:

62 réponses

bien tout est dit dans le tuto, donc fais un look avec l ,sinon u et passe à la suite, pour ma part j'utilise plutot
etc-update, c'est moins bien mais plus simple car on voit les differences directes entre la mise à jour et les modifications personnelles, mais on a de toute façon un systeme similaire sur debian/ubuntu pendant les mises à jour non ? pour gentoo par contre on ne demande pas ( jusqu'a present) la remise à defaut de /etc/fstab heureusement ...
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
17 janv. 2008 à 19:25
j'essairai ! j'expérimente ...

:-))
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
22 janv. 2008 à 22:05
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
23 janv. 2008 à 12:28
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
27 janv. 2008 à 18:45
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
28 janv. 2008 à 09:19
Mise à jour du noyau

http://www.gentoo.org/doc/fr/kernel-upgrade.xml
https://wiki.gentoo.org/wiki/Kernel/Upgrade#install
http://gentoo-wiki.com/TIP_Upgrading_your_kernel
http://gentoo-wiki.com/HOWTO_Compile_a_Kernel_Manually#Compiling_the_kernel

TIP Utiliser les runlevels
http://fr.gentoo-wiki.com/TIP_Utiliser_les_runlevels

:-))
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
1 févr. 2008 à 21:08
bonjour,

mon problème :
pour faire la mise-à-jour je fais :
emerge sync
emerge -uDpv world
emerge -uDv world  ->>> ici installation de paquets gnome "failed"
emerge -pv depclean ->>>> je continue quand même jusqu'au bout
emerge -v depclean
revdep-rebuild -pv
revdep-rebuild -v
dispatch-conf


2ème tentative :
localhost redfox # emerge -uDpv world

These are the packages that would be merged, in order:

Calculating world dependencies -!!! Digest verification failed:
!!! /usr/portage/x11-wm/metacity/metacity-2.20.2.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 961
!!! Expected: 962
/
!!! Multiple versions within a single package slot have been
!!! pulled into the dependency graph:

('installed', '/', 'x11-wm/metacity-2.20.2', 'nomerge') pulled in by
('ebuild', '/', 'gnome-base/gnome-2.20.3', 'merge')

('ebuild', '/', 'x11-wm/metacity-2.20.1', 'merge') pulled in by
('installed', '/', 'dev-python/gnome-python-desktop-2.20.0', 'nomerge')
('ebuild', '/', 'gnome-base/control-center-2.20.3', 'merge')

It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man page
or refer to the Gentoo Handbook.

... done!
[ebuild U ] gnome-base/gnome-menus-2.20.3 [2.20.1] USE="python -debug" 0 kB
[ebuild UD] x11-wm/metacity-2.20.1 [2.20.2] USE="-debug -xinerama" 0 kB
[ebuild U ] gnome-extra/zenity-2.20.1 [2.20.0] USE="-debug -libnotify" 0 kB
.....
[ebuild U ] gnome-extra/gnome-games-2.20.3 [2.20.1] USE="X%* -artworkextra -debug -guile -opengl" 0 kB
[ebuild U ] gnome-extra/deskbar-applet-2.20.3 [2.20.1] USE="-debug -eds -spell" 0 kB
[ebuild U ] gnome-base/gnome-2.20.3 [2.20.1] USE="cups -accessibility -cdr -dvdr -esd -ldap -mono" 0 kB

Total: 31 packages (30 upgrades, 1 downgrade), Size of downloads: 0 kB
localhost redfox #

j'ai arrêté là les dégats pour la deuxième tentative !

localhost redfox # cat /var/log/emerge.log
1201891834: === (21 of 50) Compiling/Merging (gnome-base/gnome-menus-2.20.3::/usr/portage/gnome-base/gnome-menus/gnome-menus-2.20.3.ebuild)
1201891835: *** exiting unsuccessfully with status '1'.


-------------------------------------------------------------------------
localhost redfox # uname -r
2.6.23-gentoo-r3
localhost redfox #


localhost redfox # ls -l /usr/portage/sys-devel/automake-wrapper/automake-wrapper-*
-rw-r--r-- 1 portage portage 774 nov 3 2006 /usr/portage/sys-devel/automake-wrapper/automake-wrapper-1-r1.ebuild
-rw-r--r-- 1 portage portage 787 fév 14 2007 /usr/portage/sys-devel/automake-wrapper/automake-wrapper-2-r1.ebuild
-rw-r--r-- 1 portage portage 786 jan 20 2007 /usr/portage/sys-devel/automake-wrapper/automake-wrapper-3-r1.ebuild
localhost redfox #


localhost redfox # equery l -p automake
[ Searching for package 'automake' in all categories among: ]
* installed packages
[I--] [ ] sys-devel/automake-1.5 (1.5)
[I--] [ ] sys-devel/automake-1.7.9-r1 (1.7)
[I--] [ ] sys-devel/automake-1.8.5-r3 (1.8)
[I--] [ ] sys-devel/automake-1.9.6-r2 (1.9)
[I--] [ ] sys-devel/automake-1.10 (1.10)
[I--] [ ] sys-devel/automake-wrapper-3-r1 (0)
* Portage tree (/usr/portage)
[-P-] [ ] sys-devel/automake-1.4_p6 (1.4)
[-P-] [ ] sys-devel/automake-1.6.3 (1.6)
[-P-] [M~] sys-devel/automake-1.10.1 (1.10)
[-P-] [M ] sys-devel/automake-9999 (9999)
[-P-] [ ] sys-devel/automake-wrapper-1-r1 (0)
[-P-] [ ] sys-devel/automake-wrapper-2-r1 (0)
localhost redfox #

0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
1 févr. 2008 à 21:45
je vais attendre un petit peu ...comme suggéré ici :

Exemple de code 4.10 : Digest verification failure

>>> checking ebuild checksums
!!! Digest verification failed:

Ceci est le signe d'une erreur dans l'arbre de Portage et souvent il se peut qu'un développeur ait fait une erreur lors de l'envoi d'une mise à jour d'un paquet dans l'arbre. 

source : https://wiki.gentoo.org/wiki/Handbook:X86?part=2&chap=1
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
2 févr. 2008 à 11:16
bonjour,

toujours un problème de mise-à-jour avec gnome :

>>> Emerging (3 of 33) gnome-base/gnome-menus-2.20.3 to /
* gnome-menus-2.20.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking gnome-menus-2.20.3.tar.bz2 ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Could not find a Makefile in the kernel source directory.
* Please ensure that /usr/src/linux points to a complete set of Linux sources
*
* ERROR: gnome-base/gnome-menus-2.20.3 failed.
* Call stack:
* ebuild.sh, line 1717: Called dyn_setup
* ebuild.sh, line 768: Called qa_call 'pkg_setup'
* ebuild.sh, line 44: Called pkg_setup
* gnome-menus-2.20.3.ebuild, line 30: Called linux-info_pkg_setup
* linux-info.eclass, line 595: Called die
* The specific snippet of code:
* get_version || die "Unable to calculate Linux Kernel version"
* The die message:
* Unable to calculate Linux Kernel version
*
* 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/gnome-base/gnome-menus-2.20.3/temp/build.log'.
*

* Messages for package media-libs/gstreamer-0.10.14:

* Gstreamer has known problems with prelinking, as a workaround
* this ebuild adds the gstreamer plugins to the prelink mask
* path to stop them from being prelinked. It is imperative
* that you undo & redo prelinking after building this pack for
* this to take effect. Make sure the gstreamer lib path is indeed
* added to the PRELINK_PATH_MASK environment variable.
* For more information see https://bugs.gentoo.org/show_bug.cgi?id=81512

* Messages for package gnome-base/gnome-menus-2.20.3:

* Could not find a Makefile in the kernel source directory.
* Please ensure that /usr/src/linux points to a complete set of Linux sources
*
* ERROR: gnome-base/gnome-menus-2.20.3 failed.
* Call stack:
* ebuild.sh, line 1717: Called dyn_setup
* ebuild.sh, line 768: Called qa_call 'pkg_setup'
* ebuild.sh, line 44: Called pkg_setup
* gnome-menus-2.20.3.ebuild, line 30: Called linux-info_pkg_setup
* linux-info.eclass, line 595: Called die
* The specific snippet of code:
* get_version || die "Unable to calculate Linux Kernel version"
* The die message:
* Unable to calculate Linux Kernel version
*
* 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/gnome-base/gnome-menus-2.20.3/temp/build.log'.
*
* GNU info directory index is up-to-date.
localhost redfox #


....à suivre ...

:-))
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
3 févr. 2008 à 21:45
tout est rentré dans l'ordre ! il suffisait de patienter !

:-))
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
4 févr. 2008 à 10:22
bonjour,

j'ai installé le noyau r6 à partir du fichier .config de la r3
......et j'ai des soucis avec iptables (je collerai le message d'erreur ce soir, je suis au boulot là !).

je me colle donc ici de la doc à lire :
http://gentoo-wiki.com/HOWTO_Iptables_for_newbies#Kernel_Support
https://www.mail-archive.com/gentoo-user@gentoo.org/msg13842.html
https://www.mail-archive.com/gentoo-user@gentoo.org/msg06902.html
http://gentoo-wiki.com/HOWTO_Protect_SSHD_with_IP_Tables
http://securepoint.com/lists/html/NetFilter/2007-02/msg00096.html

:-))
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
4 févr. 2008 à 12:19
[SOLVED] Problem with iptables after kernel upgrade
https://forums.gentoo.org/viewtopic-t-460150-highlight-iptables+iptables.html

:-))
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
8 févr. 2008 à 13:51
de la doc ! encore de la doc ! toujours de la doc !

Documents/LinuxIPNetworking
http://kernelnewbies.org/Documents/LinuxIPNetworking

KernelHacking
http://kernelnewbies.org/KernelHacking
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
14 févr. 2008 à 12:48
0
lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 567
14 févr. 2008 à 13:03
et alors?!... ;-))
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
14 févr. 2008 à 13:12
et bien comme je m**de avec la r6 ça ira peut-être mieux avec la r8

Kernel security exploits: Upgrade ASAP

On stable systems, do this
# emerge =gentoo-sources-2.6.23-r8


:-))

0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
15 févr. 2008 à 22:34
passage à la version r8 :

comme indiquée dans la doc gentoo sauf que :

emerge =gentoo-sources-2.6.23-r8
eselect kernel list

[1] linux-2.6.23-gentoo-r3 *
[2] linux-2.6.23-gentoo-r8
eselect kernel set 2
eselect kernel list

[1] linux-2.6.23-gentoo-r3
[2] linux-2.6.23-gentoo-r8 *
cd /usr/src/linux
make menuconfig
make && make modules_install
cp arch/i386/boot/bzImage /boot/bzImage-2.6.23-gentoo-r8


modif fichier /boot/grub/menu.list de la mandriva pour booter sur r8

demarrage r8 ok sauf que :

pas de connection internet !

mes scripts iptables passent bien (pas de message d'ereur) sauf pour ssh, fail2ban, smtp :

# cat /var/log/messages | grep ERROR

Feb 15 21:41:43 localhost rc-scripts: ERROR: cannot start fail2ban as net.eth0 could not start
Feb 15 21:41:44 localhost rc-scripts: ERROR: cannot start sshd as net.eth0 could not start
Feb 15 21:55:10 localhost rc-scripts: ERROR: cannot start sshd as net.eth0 could not start
Feb 15 21:55:51 localhost rc-scripts: ERROR: cannot start sshd as net.eth0 could not start

localhost redfox # /etc/init.d/sshd start
* Starting eth0
* Bringing up eth0
* 192.168.1.2
* network interface eth0 does not exist
* Please verify hardware or kernel module (driver) [ !! ]
* ERROR: cannot start sshd as net.eth0 could not start
localhost redfox #


je vois pô ou j'ai fais erreur lors de la compilation du nouveau noyau ...si ce n'est que le chargement automatique des modules n'était pas activée. Confirmé par la commande lsmod qui ne renvoie rien ...bien sûr ! Est-ce ça ?


+ problème module alsa (non chargé) ....mais ça je sais pourquoi ! :-)


+ un truc récurrent avec les nouveaux noyaux (r6, r8) .... mais ça c'est secondaire :

# cat /var/log/messages | grep ERROR
Feb 15 18:14:09 localhost gdm[4511]: segfault at 0000004f eip b76db4e2 esp bfb4f860 error 6
Feb 15 21:30:07 localhost gdm[4518]: segfault at 0000004f eip b767a4e2 esp bfe56720 error 6
Feb 15 22:02:57 localhost gdm[5118]: segfault at 0000004f eip b771b4e2 esp bfee6680 error 6
localhost redfox #


merci.

:-))
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
16 févr. 2008 à 12:44
même résultat et mêmes erreurs avec le chargement des modules activé lors de la compilation de r8 !

je reprendrai plus tard ...pas trop de temps pour l'instant ....

je trouverai bien ...

:-))
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
16 févr. 2008 à 19:20
Ouffffffff !

en fait : pas mal d'oublis dans la configuration (make menuconfig) !

tout est pratiquement réglé ..... encore un petit truc à régler avec le module son ...et tout sera bon !

environ 1/4 d'heure pour compiler .....trop cool !


localhost redfox # uname -r
2.6.23-gentoo-r8
localhost redfox #


:-))
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
16 févr. 2008 à 22:13
et voilà ! tout est réglé !

passage à la r8 réussi ! :-)

..et, au passage, compilation du noyau en environ 10 mns avec un Intel(R) Celeron(R) CPU 2.80GHz ........ merci ccache

ha oui un peit truc pour me creuser la tête :

localhost redfox # cat /var/log/messages | grep error
Feb 16 21:34:01 localhost gdm[5313]: segfault at 0000004f eip b76c84e2 esp bfb6d740 error 6

..mais pas de problème apparent !

tchôôô !

:-))
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
16 févr. 2008 à 23:28
ha oui ! fail2ban plantait au start, suite au changement de noyau !

localhost redfox # /etc/init.d/fail2ban start
* Starting fail2ban ...
* Failed to start fail2ban [ !! ]
localhost redfox #


la solution ici : https://forums.gentoo.org/viewtopic-t-637289-highlight-.html?sid=53429fa001538ff62ca438439d040700

modifier le fichier /etc/conf.d/fail2ban ainsi :
FAIL2BAN_OPTIONS="-x"


localhost redfox # /etc/init.d/fail2ban start
* Starting fail2ban ... [ ok ]
localhost redfox #


tchôôô
0