Avatar
🏃
achat android animaux anticor apple arnaque association biot bluesky bricolage canoe canyoning ccesoir chateau choisir-velo cinema citation citroen-c8 commission configuration consomacteur course courses courses-dobstacles cuisine cv-pro dawarich debian dell depannage dev docker don dsi désinformation economie facebook fedora firewall football garmin gohugo gravel hebergement home-assistant hugo humhub inondation internets iphone-ipad jeux justice kali linux livre loisirs mac marathon mastodon mecanique misere momes-dazur musee-loisirs nice-matin non-classe oracle padel petition peugeot-206 peugeot-307 peugeot-406 photos php politique postgresql pro proxmox randonnee randonnée raspberry redhat redis republique-numerique reseaux-sociaux sante-internets sante-loisirs securite-internets self-hosted ski ski de randonnée sortir soutien spam sport-biot-2 sports stockage theatre trail twitter/x twitter/x ubuntu velo velo-biot velo-sur-biot via-ferrata ville villes visites voyage vtt windows wordpress wordpress-fr xbox élections municipales 0189xxxxxx 10-km 10-miles 10km 12-km 140 2014 2kv 307 406 406-hdi 920 920xt 930 935 abus acpi actif azur adb adhesion adsl agay age air aix-en-provence alcatel allianz allianz-riviera alpe-dhuez alpes-maritimes alpilles alternateur amap amazon amp anaconda analyse analytics android animaux anote anthea anthea-fr antibes anticor antutu apache2 apn apple applepi-baker april arcep arfi arnaque aroooo aseb-am asics association assurantprotection.fr asterisk asus asus-zenfone atos atsemtex audit auron authentique-fr autoroute avis awesome-note awk awox baignade balade balade-fr barcelonnette barnier base-de-donnee bash basket-ball belt benchmark bento bentomedia betrail biellette bigreen bilan bilan professionnel bilan sportif bilan-fr bio biot biot-fr biot-vernir bitdefender bkl-l09 blacklist blender blockchain-fr blog blogger-com bluesky bonifacio bormes-les-mimosas bot brague braun breil-sur-roya brew bricolage brm brm200 bruxelles bueil bug c cadolive cagnes-sur-mer caille caisse-depargne calanques calencon calendrier camargue cannes cannes-fr canoe cantabrie canyon canyoning cap-dantibes cardio carlit carnaval-de-nice carnaval-de-nice-fr carros carroz casa castellane castellar cat catamaran caussols ccbot ccc cdisplay ceinture cevennes chamonix chateau chaussures cheiron choisir velo cinema circuit cisco citation citrix classement claudebot clignotant cloud cloud-act cloud-personnel cnews codegouv col connecté col de greoliere col-connecte col-de-la-madone col-de-turini colmars competition compression configuration connect consomacteur conspiracy watch convergence-azureenne coreos coronarivus coronavirus corse courmes course course-a-pied course-dobstacle course-dobstacles course-dorientation course-fr coursegoules courses-2 covid covid-19 cozy-cloud cozytouch cpu critique cross cuda cuenod curl cursor dansup dark-web data dataforseo dawarich dawarich.app day-journal debian decathlon decodex deletefacebook dell dello-sciliar-catinaccio delphi demi-yasso derby-de-la-meije developpement developper-tools-access diag diario diaro diaspora digikam digiposte distribution docker docteur-gsm-com dolceacqua dolomites domolites domotique don dourgne dsi duranus débats désinformation ecologie economie education el-capitan elasticsearch elk elm327 email endurain enphase ensol entreprises entretien epidemie escape-game escarene escroquerie espagne estrosi europe eurovelo evasion-fiscale evolution-a-faire exiftool export eze f-f-a facebook facture facture-deau-fr fakenews falicon fan fayence fedora fenix 7 ffa ffmpeg filebeat fillion fillon film-bon film-moyen filtre-a-gazole filtre-pollen fire firewall fittrackee folder foodwatch footing for forerunner forerunner-935 forerunner-945 forerunner-955 forgejo framasoft framasphere france culture france-3 france-soir fraude fraude-fiscale free free-mobile freebox frejus funchal gafams gaillac garageband garmin garmin-connect gavarnie gcc gelas geodes gilette git github glance gmail goaccess gohugo google google-analytic google-analytics google-search-console gopro gorbio gotify goudurix gouffre gourdon gourdon-fr gptbot gpx grafana grasse gravel graxx greoliere greolieres greolieres-les-neiges grub gréolières gtest guillon hadopi haproxy hautpoul hebergement high-trail-vanoise hintertux hipay hipay-com historique-des-dons holdup home-assistant homeassistant hommage honeywell honor hop howto htv huawei hugo huile-direction-assiste humhub ia ibm iconservicesagent ie ign ilonse imagento imageoptim imagneto immich imovie import impots indent injecteur inondation insee insta360 installation internet intimidation ipad ipad-argus iphone iphoto iptables isola-2000 issue italie itra itunes j2s jaime-courir java javascript jeedom jenkins jetpack jeux jeux-de-sophia jeux-de-sophia-antipolis joplin joseph journey jpegoptim juns jupyter justice kali karer-pass kayak kernel kibana kies-app kilometre-vertical kisskissbankbank kiwix klaxon kodi kokopelli korben la-brague la-capelette la-grave-de-peille la-poste la-quadrature-du-net la-vie lac-de-vens langage lantosque lapeyre laquadrature latemar lateral lautrec lcd le-monde leon les-cammazes les-visiteurs-du-soir let's encrypt lets-encrypt levens libreoffice libvirt lightmd linux liste livebox livre logement logiciel logstash loi-numerique lombricomposteur luberon lulu mac mac-os macjournal macos macos-high-sierra madere malade malware mamp mandelieu maps marathon marche mariadb markdown marseille mastodon matomo matomo-analytics matosdon matrix mazamet mcafee mecanique mediapart meduses meije meltdown memo menuiserie mercantour merci-michel mermaid meta metricbeat microsoft-teams migration misere mkdocs module mogrify mojave monsanto montagne-noire montagne-noire-fr montauroux motionpro mougins moulinet mouton msf mud-day mud-day-fr munin mysql mytf1 mytf1-fr mywellness myzone naiad naiad2020 natation natation-libre nature nautipolis neige netamo netatmo nextcloud nginx nice nice-fr nice-matin notes nsinvalidargumentexception ntfs nuxit nvidia objective-see obsolescence-programmee obstacle occ occasion odbii ok-google ollama olvid onedrive oopad open open-data open-sky open-source open-source-experience opencv opendata opensky opensky-a-valbonne opio oracle-linux orange origine-cycles orsiere osm france osmc oss-paris osx osxp osxp2024 osxp2025 outlook owncloud pac paca padel panorama panoramique paradisdiscount-com parc-du-paradou parc-naturel-dello-sciliar-catinaccio paris pascal paul paypal pdf peillon peinture petition peugeot peugeot-307 phare photo photon photos photovoltaique php phpnet phpnet-org pichauris pigeon pinterest pip piscine planning play-store plongee plu plugin pluviometrie pneu politique pollution polylang postfix postgresql ppri prejuges preparation print prix programmation prom-classic prometheus provence proxmox pssh publicite purge pyrenees python python3 qnap quartier qwant raid rameur-dinterieur rancheros randonnee randonnee-2 randonnees randonnée raspberry recette recette-fr redbysfr redhat redis redmi reparartion reparation reseau-sociaux resideo rest-api resultat reunion revue-de-presse rgpd rimplas rock64 root roquebilliere roubion rouret row rsyslog rt-france rubitrack rue89 saint-amancet-fr saint-avit saint-fereol saint-jeannet saint-vallier-de-thiey saintetic salade-nicoise-fr salle-serveur salon samsung san-remo sante sauter scop sd-card securite security.txt sed selection self-hosted semaine-de-la-critique semi semi-marathon semi-marathon-fr sentier seranon server-git serveur service-public siagne sidobre sierra signal sip ski ski de randonnée ski-de-randonnee skred skype slack smart-home smartphone smsc snap sommets sondage sondage-en-ligne sophia-antipolis soreze soreze-fr sortie-en-famille sospel soual spam spartan spartan-race spartan-race-fr spartian spectre sport sql sqlite ssd stable-diffusion stade station-meteo statistique statistiques stockage strava suisse suivi summary surf svn swap swarm syslog systemd tanneron tapform tarif tarn tarn-fr taxes telerama television temp temperature template templier tende tennis tennis-de-table tensorflow test testeur tests textwrangler theatre theoule-sur-mer thorenc thunderbird thunderbirds tignes tor tour-des-sangliers tour-du-sanglier tourisme tourrettes-sur-loup trail trail-de-la-vesubie transposh transvesubienne trashbusters travail travaux trial trifecta turbie tux tuxedo tuxedo-computer tuya twitter tyrol ubaye ubuntu ufc-que-choisir ultra uniq unknown unroot update urbain urban-trail urbanbiker utcam utelle utmb vae valbonne valeo vallee-des-merveilles valloire vallon-des-horts valmasque var vaucluse vaultwarden vauplane vegay velo velotaf vence ventoux veolia verdon vesubie vidange video villeneuve-loubet vim virtual-box virtualbox virus vma vmware vol voyage vpn vps vtc vtt wanderer wannacry webalizer wget whatsapp wifi wikimedia-foundation wikipedia wiko windows wine woocommerce wordfence wordpress x xbmc xbox yahoo-mail yolo zenfone zenpad zigbee
  • Pour fixer le problème des changements de permission sur /dev/null par systemd j’ai fait la commande suivante :

    # grep -riL "ExecStartPost" /usr/lib/systemd/system/*service | xargs grep "TTYPath=/dev/tty" | sed 's/:/ /g' | awk '{print $1}' | xargs sed -i '/^ExecStart.*/i ExecStartPost = -/usr/bin/xset -display :0 -dpms s off'
    
    # systemctl daemon-reload

    Pour tous les types TTY j’ai ajouté :

    ExecStartPost = -/usr/bin/xset -display :0 -dpms s off

    J’ai l’impression que le problème est fixé.

    systemd Created Wed, 28 Sep 2022 00:00:00 +0000
  • Voici le fichier que j’utilise dans /usr/lib/systemd/system/asterisk.service :

    [Unit]
    Description=Asterisk PBX and telephony daemon.
    After=network.target
    
    [Service]
    ExecReload=/usr/sbin/asterisk -rx "core reload"
    ExecStart=/usr/sbin/asterisk -mqf -C  /etc/asterisk/asterisk.conf
    ExecStop=/usr/sbin/asterisk -rx "core stop now"
    PIDFile=/var/run/asterisk/asterisk.pid
    Restart=on-failure
    RestartSec=10
    Type=simple
    TimeoutStartSec=300
    
    Environment=HOME=/var/lib/asterisk
    LimitCORE=infinity
    LimitNOFILE=65536
    WorkingDirectory=/var/lib/asterisk
    User=asterisk
    Group=asterisk
    PrivateTmp=false
    NoNewPrivileges=yes
    ProtectHome=no
    
    [Install]
    WantedBy=multi-user.target

    J’ai pas fini avec le fichier /etc/asterisk/modules.conf , j’ai quelques problèmes dans le build :

    ;
    ; Asterisk configuration file
    ;
    ; Module Loader configuration file
    ;
    
    [modules]
    autoload=yes
    ;
    ; Any modules that need to be loaded before the Asterisk core has been
    ; initialized (just after the logger initialization) can be loaded
    ; using 'preload'.  'preload' forces a module and the modules it
    ; is known to depend upon to be loaded earlier than they normally get
    ; loaded.
    ;
    ; NOTE: There is no good reason left to use 'preload' anymore.  It was
    ; historically required to preload realtime driver modules so you could
    ; map Asterisk core configuration files to Realtime storage.
    ; This is no longer needed.
    ;
    ;preload = your_special_module.so
    ;
    ; If you want Asterisk to fail if a module does not load, then use
    ; the "require" keyword. Asterisk will exit with a status code of 2
    ; if a required module does not load.
    ;
    ;require = chan_pjsip.so
    ;
    ; If you want you can combine with preload
    ; preload-require = your_special_module.so
    ;
    ;load = res_musiconhold.so
    ;
    ; Load one of: alsa, or console (portaudio).
    ; By default, load chan_console only (automatically).
    ;
    noload = chan_alsa.so
    ;noload = chan_console.so
    ;
    ; Do not load res_hep and kin unless you are using HEP monitoring
    ; http://sipcapture.org in your network.
    ;
    noload = res_hep.so
    noload = res_hep_pjsip.so
    noload = res_hep_rtcp.so
    ;
    ; Do not load chan_sip by default, it may conflict with res_pjsip.
    noload = chan_sip.so
    ;
    ; Load one of the voicemail modules as they are mutually exclusive.
    ; By default, load app_voicemail only (automatically).
    ;
    ;noload = app_voicemail.so
    noload = app_voicemail_imap.so
    noload = app_voicemail_odbc.so
    
    ; 
    noload = res_config_ldap.so
    noload = app_jack.so
    noload = res_config_pgsql.so
    noload = res_phoneprov.so
    noload = res_smdi.so
    noload = res_pjsip_phoneprov_provider.so
    noload = cdr_csv.so
    noload = cdr_sqlite3_custom.so
    noload = cdr_manager.so
    noload = cdr_pgsql.so
    noload = cdr_tds.so
    noload = cdr_odbc.so
    noload = cel_sqlite3_custom.so
    noload = cel_tds.so
    noload = app_alarmreceiver.so
    noload = cel_pgsql.so
    noload = res_pjsip_transport_websocket.so
    noload = res_config_sqlite3.so
    noload = res_config_pgsql.so
    noload = chan_oss.so
    noload = chan_alsa.so
    noload = app_minivm.so
    asterisk Created Wed, 27 Jul 2022 00:00:00 +0000
  • J’ai pu voir l’erreur suivante :

    Module yaml error: Unexpected key in data: static_context [line 9 col 3]

    Pour fixer le problème :

    # yum update libmodulemd
    rabbitmq_erlang                                                                                        315  B/s | 833  B     00:02    
    rabbitmq_erlang-source                                                                                 489  B/s | 819  B     00:01    
    Module yaml error: Unexpected key in data: static_context [line 9 col 3]
    Module yaml error: Unexpected key in data: static_context [line 9 col 3]
    Dépendances résolues.
    =======================================================================================================================================
     Paquet                         Architecture              Version                           Dépôt                                Taille
    =======================================================================================================================================
    Mise à jour:
     libmodulemd                    x86_64                    2.13.0-1.el8                      ol8_baseos_latest                    233 k
    
    Résumé de la transaction
    =======================================================================================================================================
    Mettre à niveau  1 Paquet
    
    Taille totale des téléchargements : 233 k
    Voulez-vous continuer ? [o/N] : o
    Téléchargement des paquets :
    libmodulemd-2.13.0-1.el8.x86_64.rpm                                                                    3.4 MB/s | 233 kB     00:00    
    ---------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                  3.2 MB/s | 233 kB     00:00     
    Test de la transaction
    La vérification de la transaction a réussi.
    Lancement de la transaction de test
    Transaction de test réussie.
    Exécution de la transaction
      Préparation           :                                                                                                          1/1 
      Mise à jour           : libmodulemd-2.13.0-1.el8.x86_64                                                                          1/2 
      Nettoyage de          : libmodulemd-2.9.4-2.el8.x86_64                                                                           2/2 
      Exécution du scriptlet: libmodulemd-2.9.4-2.el8.x86_64                                                                           2/2 
      Vérification de       : libmodulemd-2.13.0-1.el8.x86_64                                                                          1/2 
      Vérification de       : libmodulemd-2.9.4-2.el8.x86_64                                                                           2/2 
    
    Mis à niveau:
      libmodulemd-2.13.0-1.el8.x86_64                                                                                                      
    
    Terminé !

    Ma version de Oracle Linux 8.3 :

    oracle-linux Created Wed, 25 May 2022 00:00:00 +0000
  • J’ai essayé une migration avec Leapp mais sans succès, pourtant je pense bien avoir suivi la procédure.

    Etape 1 : Mise en place de la dernier version de la Oracle Linux 7.x :

     

    # sudo yum upgrade
    ... reboot ...
    # cat /etc/system-release
    Oracle Linux Server release 7.9
    # yum repolist
    Modules complémentaires chargés : ulninfo
    id du dépôt                                                             nom du dépôt                                                                                                                           statut
    ol7_UEKR5/x86_64                                                        Latest Unbreakable Enterprise Kernel Release 5 for Oracle Linux 7Server (x86_64)                                                          702
    ol7_latest/x86_64                                                       Oracle Linux 7Server Latest (x86_64)                                                                                                   24 259
    repolist: 24 961

    Etape 2 : Suppression des anciens Kernel :

    oracle-linux Created Fri, 13 May 2022 00:00:00 +0000
  • Ma version de VirtualBox: 6.1.18 et ma version de Windows : Windows 10 Entreprise OS Build 18363.1379 .

    J’ai du faire ceci :

    1-Lancer un prompt en Administrateur ;

    2-Lancer la commande :

    bcdedit /set hypervisorlaunchtype off

    3-Faire un reboot :

    shutdown -s -t 2

    Voici les logs de Virtual Box qui plantait:

    00:00:03.654980 Full Name: "Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz"
    00:00:03.654981 TLB 2/4M Instr/Uni: res0 0 entries
    00:00:03.654981 TLB 2/4M Data: res0 0 entries
    00:00:03.654982 TLB 4K Instr/Uni: res0 0 entries
    00:00:03.654982 TLB 4K Data: res0 0 entries
    00:00:03.654982 L1 Instr Cache Line Size: 0 bytes
    00:00:03.654983 L1 Instr Cache Lines Per Tag: 0
    00:00:03.654983 L1 Instr Cache Associativity: res0
    00:00:03.654983 L1 Instr Cache Size: 0 KB
    00:00:03.654983 L1 Data Cache Line Size: 0 bytes
    00:00:03.654984 L1 Data Cache Lines Per Tag: 0
    00:00:03.654984 L1 Data Cache Associativity: res0
    00:00:03.654984 L1 Data Cache Size: 0 KB
    00:00:03.654985 L2 TLB 2/4M Instr/Uni: off 0 entries
    00:00:03.654985 L2 TLB 2/4M Data: off 0 entries
    00:00:03.654985 L2 TLB 4K Instr/Uni: off 0 entries
    00:00:03.654986 L2 TLB 4K Data: off 0 entries
    00:00:03.654986 L2 Cache Line Size: 0 bytes
    00:00:03.654987 L2 Cache Lines Per Tag: 0
    00:00:03.654987 L2 Cache Associativity: off
    00:00:03.654987 L2 Cache Size: 0 KB
    00:00:03.654988 TS - Temperature Sensor = 0 (0)
    00:00:03.654989 FID - Frequency ID control = 0 (0)
    00:00:03.654990 VID - Voltage ID control = 0 (0)
    00:00:03.654990 TscInvariant - Invariant Time Stamp Counter = 1 (1)
    00:00:03.654991 CBP - Core Performance Boost = 0 (0)
    00:00:03.654992 EffFreqRO - Read-only Effective Frequency Interface = 0 (0)
    00:00:03.654992 ProcFdbkIf - Processor Feedback Interface = 0 (0)
    00:00:03.654993 ProcPwrRep - Core power reporting interface support = 0 (0)
    00:00:03.654994 Physical Address Width: 39 bits
    00:00:03.654994 Virtual Address Width: 48 bits
    00:00:03.654994 Guest Physical Address Width: 0 bits
    00:00:03.654995 Physical Core Count: 1
    00:00:03.654996
    00:00:03.654996 ******************** End of CPUID dump **********************
    0:00:03.655008 VMEmt: Halt method global1 (5)
    00:00:03.655098 VMEmt: HaltedGlobal1 config: cNsSpinBlockThresholdCfg=50000
    00:00:03.655176 Changing the VM state from 'CREATING' to 'CREATED'
    00:00:03.656076 Changing the VM state from 'CREATED' to 'POWERING_ON'
    00:00:03.656236 AIOMgr: Endpoints without assigned bandwidth groups:
    00:00:03.656252 AIOMgr: E:\LIVECD\OracleLinux-R8-U3-x86_64-dvd.iso
    00:00:03.656258 AIOMgr: E:\Oracle Linux 8.3\Oracle Linux 8.3.vdi
    00:00:03.656697 Changing the VM state from 'POWERING_ON' to 'RUNNING'
    00:00:03.656717 Console: Machine state changed to 'Running'
    00:00:03.658838 VMMDev: Guest Log: BIOS: VirtualBox 6.1.18
    00:00:03.659012 PCI: Setting up resources and interrupts
    00:00:03.664606 ERROR [COM]: aRC=VBOX_E_VM_ERROR (0x80bb0003) aIID={4680b2de-8690-11e9-b83d-5719e53cf1de} aComponent={DisplayWrap} aText={Could not take a screenshot (VERR_NOT_SUPPORTED)}, preserve=false aResultDetail=-37
    00:00:03.690437 PIT: mode=2 count=0x10000 (65536) - 18.20 Hz (ch=0)
    00:00:03.706765 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=720 h=400 bpp=0 cbLine=0x0 flags=0x0 origin=0,0
    00:00:03.709342 VMMDev: Guest Log: CPUID EDX: 0x178bfbff
    00:00:03.709485 PIIX3 ATA: Ctl#0: RESET, DevSel=0 AIOIf=0 CmdIf0=0x00 (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
    00:00:03.709529 PIIX3 ATA: Ctl#0: finished processing RESET
    00:00:03.712679 AHCI#0: Reset the HBA
    00:00:03.712694 VD#0: Cancelling all active requests
    00:00:03.712851 AHCI#0: Port 0 reset
    00:00:03.712929 VD#0: Cancelling all active requests
    00:00:03.713609 VMMDev: Guest Log: BIOS: AHCI 0-P#0: PCHS=16383/16/63 LCHS=1024/255/63 0x000000000a36f580 sectors
    00:00:03.717731 PIT: mode=2 count=0x48d3 (18643) - 64.00 Hz (ch=0)
    00:00:03.745810 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=000000000f300000 w=640 h=480 bpp=32 cbLine=0xA00 flags=0x0 origin=0,0
    00:00:04.157989 GUI: UIMachineViewScale::resendSizeHint: Restoring guest size-hint for screen 0 to 800x600
    00:00:04.158041 VMMDev: SetVideoModeHint: Got a video mode hint (800x600x32)@(0x0),(1;0) at 0
    00:00:04.161243 GUI: 2D video acceleration is disabled
    00:00:04.161314 GUI: HID LEDs sync is enabled
    00:00:06.200584 PIT: mode=2 count=0x10000 (65536) - 18.20 Hz (ch=0)
    00:00:06.200907 VMMDev: Guest Log: BIOS: Boot : bseqnr=1, bootseq=0023
    00:00:06.205053 VMMDev: Guest Log: BIOS: Booting from CD-ROM...
    00:00:06.212463 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=720 h=400 bpp=0 cbLine=0x0 flags=0x0 origin=0,0
    00:00:06.265354 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=000000000f300000 w=640 h=480 bpp=24 cbLine=0x780 flags=0x0 origin=0,0
    00:00:09.954650 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=720 h=400 bpp=0 cbLine=0x0 flags=0x0 origin=0,0
    00:00:10.635396 VMMDev: Guest Log: BIOS: KBD: unsupported int 16h function 03
    00:00:10.635672 VMMDev: Guest Log: BIOS: AX=0305 BX=0000 CX=0000 DX=0000
    00:00:10.636346 VMMDev: Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=81
    00:00:10.636666 VMMDev: Guest Log: int13_harddisk: function 02, unmapped device for ELDL=81
    00:00:10.637007 VMMDev: Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=82
    00:00:10.637332 VMMDev: Guest Log: int13_harddisk: function 02, unmapped device for ELDL=82
    00:00:10.637672 VMMDev: Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=83
    00:00:10.637991 VMMDev: Guest Log: int13_harddisk: function 02, unmapped device for ELDL=83
    00:00:10.638335 VMMDev: Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=84
    00:00:10.638654 VMMDev: Guest Log: int13_harddisk: function 02, unmapped device for ELDL=84
    00:00:10.638994 VMMDev: Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=85
    00:00:10.639343 VMMDev: Guest Log: int13_harddisk: function 02, unmapped device for ELDL=85
    00:00:10.639737 VMMDev: Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=86
    00:00:10.640057 VMMDev: Guest Log: int13_harddisk: function 02, unmapped device for ELDL=86
    00:00:10.640404 VMMDev: Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=87
    00:00:10.640723 VMMDev: Guest Log: int13_harddisk: function 02, unmapped device for ELDL=87
    00:00:10.641063 VMMDev: Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=88
    00:00:10.641385 VMMDev: Guest Log: int13_harddisk: function 02, unmapped device for ELDL=88
    00:00:10.641725 VMMDev: Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=89
    00:00:10.642044 VMMDev: Guest Log: int13_harddisk: function 02, unmapped device for ELDL=89
    00:00:10.642389 VMMDev: Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8a
    00:00:10.642709 VMMDev: Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8a
    00:00:10.643172 VMMDev: Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8b
    00:00:10.643494 VMMDev: Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8b
    00:00:10.643908 VMMDev: Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8c
    00:00:10.644298 VMMDev: Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8c
    00:00:10.644639 VMMDev: Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8d
    00:00:10.644956 VMMDev: Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8d
    00:00:10.645295 VMMDev: Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8e
    00:00:10.645612 VMMDev: Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8e
    00:00:10.645949 VMMDev: Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8f
    00:00:10.646291 VMMDev: Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8f
    00:00:10.981711 GIM: KVM: VCPU 0: Enabled system-time struct. at 0x000000004c401000 - u32TscScale=0xc587b80f i8TscShift=-1 uVersion=2 fFlags=0x1 uTsc=0x46ba43e2f uVirtNanoTS=0x1b496aa89 TscKHz=2592008
    00:00:10.981754 TM: Host/VM is not suitable for using TSC mode 'RealTscOffset', request to change TSC mode ignored
    00:00:11.616013 GIM: KVM: Enabled wall-clock struct. at 0x000000004c400000 - u32Sec=1615824502 u32Nano=683849407 uVersion=2
    00:00:11.665390 PIT: mode=2 count=0x4a9 (1193) - 1000.15 Hz (ch=0)
    00:00:11.776216 MsrExit/0: 0010:ffffffffabe64d98/LM: WRMSR 00000033, 20000000:00000000 -> VERR_CPUM_RAISE_GP_0!
    virtualbox Created Mon, 15 Mar 2021 00:00:00 +0000
  • Voici l’erreur que j’avais :

    # php -v
    PHP Warning:  PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/lib64/php/modules/redis.so (/usr/lib64/php/modules/redis.so: undefined symbol: zval_used_for_init), /usr/lib64/php/modules/redis.so.so (/usr/lib64/php/modules/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
    PHP 7.2.24 (cli) (built: Oct 22 2019 08:28:36) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies

    La procédure d’installation :

    # yum install glibc glibc-devel gcc-c++
    # yum install php-devel
    # yum install make
    # pecl install redis
    # yum install curl-devel
    # yum install php-json
    # pecl install phalcon

    Encore une erreur :

    Created Mon, 22 Feb 2021 00:00:00 +0000
  • Un petit exemple vaut mieux que de grands discours, voici le source en C :

    #include 
    #include 
    #include 
    #include <sys/time.h>
    #include <sys/types.h>
    #include 
    static long debut = 0;
    void* longue_pause(void* a){
            pid_t t = getpid();
            printf("pid = %d\n",(int)t);
            printf("thread longue_pause %d debut : %ld\n",(int)pthread_self(),time(0)-debut);
            sleep(10);
            printf("thread longue_pause %d fin : %ld\n",(int)pthread_self(),time(0)-debut);
    }
    void* petites_pauses(void* a){
    	int i = 0;
            pid_t t = getpid();
            printf("pid = %d\n",t);
            printf("thread petites_pauses %d debut : %ld \n",(int)pthread_self(), time(0)-debut);
            for(; i < 10 ;++i){
                    printf("thread petites_pauses %d en cours : %ld \n",(int)pthread_self(), time(0)-debut);
                    sleep(1);
            }
    }
    int main(){
            pthread_t longue;
            pthread_t petit1;
            pthread_t petit2;
            debut = time(0);
            pthread_create(&longue,NULL,longue_pause,NULL);
            pthread_create(&petit1,NULL,petites_pauses,NULL);
            pthread_create(&petit2,NULL,petites_pauses,NULL);
    	sleep(8);
    	printf("Debut join: %ld\n",time(0)-debut);
            pthread_join(longue,NULL);
            printf("fin long : %ld\n",time(0)-debut); 
            pthread_join(petit1,NULL);
    	printf("fin petit1 : %ld\n",time(0)-debut);	
            pthread_join(petit2,NULL);
    	printf("fin petit2 : %ld\n",time(0)-debut);
    }

    Pour la compilation :

    c developpement Created Wed, 17 Oct 2018 00:00:00 +0000
  • History of glibc and CVE for Oracle Linux 7.x ( 7.0 / 7.1 / 7.2 / 7.3 / 7.4 / 7.5 ) :

    So Redhat ( and Oracle Linux, because it’s fork )  uses branch GLIBC 2.17 instead GLIBC 2.27

    Question : What’s the current CVE on 2.17-222 ? It’s plan to merge with 2.27 ?

    Big gap on GLIBC between Redhat & Fédora :

    Thanks.

    Severity Advisory Summary Release Date RPM OS KSPLICE GLIB CVE
    Important ELSA-2018-4078 glibc security update 18/04/2018 glibc-2.17-222.ksplice1.el7.x86_64.rpm Oracle Linux 7.xx YES
    Moderate ELSA-2018-0805 glibc security, bug fix, and enhancement update 16/04/2018 glibc-2.17-222.el7.x86_64.rpm Oracle Linux 7.5 2.17-222 CVE-2014-9402 / CVE-2015-5180 / CVE-2017-12132 / CVE-2017-15670 / CVE-2017-15804 / CVE-2018-1000001
    01/02/2018 GNU C Library 2.27
    - ELBA-2017-3296 glibc bug fix update 30/11/2017 glibc-2.17-196.el7_4.2.x86_64.rpm Oracle Linux 7.xx
    Important ELSA-2017-3601 glibc security update 09/08/2017 glibc-2.17-196.ksplice1.el7.x86_64.rpm Oracle Linux 7.xx YES
    Moderate ELSA-2017-1916 glibc security, bug fix, and enhancement update 07/08/2017 glibc-2.17-196.el7.x86_64.rpm Oracle Linux 7.4 2.17-196 CVE-2014-9761 / CVE-2015-8776 / CVE-2015-8778 / CVE-2015-8779 / CVE-2015-8777
    02/08/2017 GNU C Library 2.26
    - ELBA-2017-3594 glibc bug fix update 17/07/2017 glibc-2.17-157.ksplice1.el7_3.5.x86_64.rpm Oracle Linux 7.xx YES
    - ELBA-2017-1752 glibc bug fix update 14/07/2017 glibc-2.17-157.el7_3.5.x86_64.rpm Oracle Linux 7.xx
    Important ELSA-2017-3582 glibc security update 20/06/2017 glibc-2.17-157.ksplice1.el7_3.4.x86_64.rpm Oracle Linux 7.xx YES CVE-2017-1000364
    Important ELSA-2017-1481 glibc security update 19/06/2017 glibc-2.17-157.el7_3.4.x86_64.rpm Oracle Linux 7.xx CVE-2017-1000366
    - ELBA-2017-3577 glibc bug fix update 30/05/2017 glibc-2.17-157.ksplice1.el7_3.2.x86_64.rpm Oracle Linux 7.xx YES
    - ELBA-2017-1302 glibc bug fix update 26/05/2017 glibc-2.17-157.el7_3.2.x86_64.rpm Oracle Linux 7.xx
    05/02/2017 GNU C Library 2.25
    - ELBA-2016-3649 glibc bug fix update 08/12/2016 glibc-2.17-157.ksplice1.el7_3.1.x86_64.rpm Oracle Linux 7.xx YES
    - ELBA-2016-2861 glibc bug fix update 06/12/2016 glibc-2.17-157.el7_3.1.x86_64.rpm Oracle Linux 7.xx
    Low ELSA-2016-2573 glibc security, bug fix, and enhancement update 09/11/2016 glibc-2.17-157.el7.x86_64.rpm Oracle Linux 7.3 2.17-157 CVE-2016-3075 / CVE-2015-7547 / CVE-2015-5229
    Low ELSA-2016-3638 glibc security update 09/11/2016 glibc-2.17-157.ksplice1.el7.x86_64.rpm Oracle Linux 7.xx YES 2.17-157 CVE-2016-3075
    05/08/2016 GNU C Library 2.24
    - ELBA-2016-1449 glibc bug fix update 02/08/2016 glibc-2.17-106.0.1.el7_2.8.x86_64.rpm Oracle Linux 7.xx
    - ELBA-2016-3590 glibc bug fix update 02/08/2016 glibc-2.17-106.0.1.ksplice1.el7_2.8.x86_64.rpm Oracle Linux 7.xx YES
    - ELBA-2016-3562 glibc bug fix update 17/05/2016 glibc-2.17-106.0.1.ksplice1.el7_2.6.x86_64.rpm Oracle Linux 7.xx YES
    - ELBA-2016-1030 glibc bug fix update 12/05/2016 glibc-2.17-106.0.1.el7_2.6.x86_64.rpm Oracle Linux 7.xx
    19/02/2016 GNU C Library 2.23
    Critical ELSA-2016-3515 glibc security update 16/02/2016 glibc-2.17-106.0.1.ksplice1.el7_2.4.x86_64.rpm Oracle Linux 7.xx YES
    Critical ELSA-2016-0176 glibc security and bug fix update 16/02/2016 glibc-2.17-106.0.1.el7_2.4.x86_64.rpm Oracle Linux 7.xx CVE-2015-7547 / CVE-2015-5229
    Important ELSA-2015-2172 glibc security update 25/11/2015 glibc-2.17-106.0.1.el7_2.1.x86_64.rpm Oracle Linux 7.xx 2.17-106 CVE-2015-5277
    Moderate ELSA-2015-2199 glibc security, bug fix, and enhancement update 24/11/2015 glibc-2.17-105.0.1.el7.x86_64.rpm Oracle Linux 7.2 2.17-105 CVE-2013-7423 / CVE-2015-1781 / CVE-2015-1472 / CVE-2015-1473
    14/08/2015 GNU C Library 2.22
    Moderate ELSA-2015-0327 glibc security and bug fix update 09/03/2015 glibc-2.17-78.0.1.el7.x86_64.rpm Oracle Linux 7.1 2.17-78 CVE-2014-6040 / CVE-2014-8121
    06/02/2015 GNU C Library 2.21
    Critical ELSA-2015-0092 glibc security update 27/01/2015 glibc-2.17-55.0.4.el7_0.5.x86_64.rpm Oracle Linux 7.xx CVE-2015-0235
    Moderate ELSA-2014-2023 glibc security and bug fix update 18/12/2014 glibc-2.17-55.0.4.el7_0.3.x86_64.rpm Oracle Linux 7.xx CVE-2014-7817
    Important ELSA-2014-1110 glibc security update 29/08/2014 glibc-2.17-55.0.4.el7_0.1.x86_64.rpm Oracle Linux 7.xx CVE-2014-5119 / CVE-2014-0475
    07/09/2014 GNU C Library 2.20
    - ELBA-2014-3051 glibc bug fix update 29/07/2014 glibc-2.17-55.0.4.el7.x86_64.rpm Oracle Linux 7.0 2.17-55
    08/02/2014 GNU C Library 2.19
    12/08/2013 GNU C Library 2.18
    25/02/2012 GNU C Library 2.17
    oracle-linux Created Tue, 19 Jun 2018 00:00:00 +0000
  • Je fais un petit article pour mettre mes configurations de Redis (de l’anglais REmote DIctionary Server qui peut-être traduit par « serveur de dictionnaire distant ») sous Linux, afin de partager et aussi de corriger si nécessaire. Redis est développé en C AINSI comme tous les bons logiciels, il fait partie des NoSQL ( https://fr.wikipedia.org/wiki/NoSQL ). Les plus intéressant à connaitre sont : REDIS, MongoDB ( https://www.mongodb.com/fr ) , CouchDB ( http://couchdb.apache.org ) .

    benchmark redis Created Wed, 06 Sep 2017 00:00:00 +0000
  • C’était une super édition avec beaucoup d’échanges ( Docker, Zabbix, PostgreSQL, Redhat, Fédora, RabbitMQ, …) , et superbe discours d’Axelle Lemaire en ouverture. Même si on préférerait voir des actes plutôt que des beaux discours ;) . Vivement le Libre dans l’éducation nationale, la police, la défense, … . Voir que même les ministères signent des contrats ailleurs qu’en France (en Irlande), ce n’est pas montrer le bon exemple. Lire cet article de l’APRIL : https://www.april.org/l-april-demande-la-publication-de-l-accord-de-securite-entre-microsoft-et-l-etat.

    linux oss-paris paris Created Thu, 17 Nov 2016 00:00:00 +0000