Outils pour utilisateurs

Outils du site


software:applications:etcher

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
software:applications:etcher [2024/08/10 10:14] yoannsoftware:applications:etcher [2024/08/10 11:59] (Version actuelle) yoann
Ligne 25: Ligne 25:
 ===== Troubleshooting ===== ===== Troubleshooting =====
  
-Le lancement de l'application échoue avec le message :+Le lancement de l'application au format AppImage échoue avec le message :
  
 <file> <file>
-[10061:0810/104219.584309:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxi +./balenaEtcher-1.19.21-x64.AppImage  
-ng I'm aborting now. You need to make sure that /home/yoann/Applications/etcher-1.19/balenaEtcher-linux-x64/chrome-sandbox is owned by root and has mode 4755.+[15029:0810/122949.063556:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_balenaRAPfgU/usr/lib/balena-etcher/chrome-sandbox is owned by root and has mode 4755.
 Trappe pour point d'arrêt et de trace (core dumped) Trappe pour point d'arrêt et de trace (core dumped)
 </file> </file>
 +
 +Ce problème concerne l'exécution des AppImages utilisant Chrome Electron sur les systèmes récents.
 +
 +
 +==== Contourner le sandboxing ====
 +
 +On peut contourner le problème en choisissant de ne pas utiliser la fonctionnalité de sandboxing :
  
 <code bash> <code bash>
 ./balenaEtcher-1.19.21-x64.AppImage --no-sandbox ./balenaEtcher-1.19.21-x64.AppImage --no-sandbox
 </code> </code>
 +
 +Cette méthode abaisse le niveau de sécurité.
 +
 +==== Méthode recommandée ====
 +
 +Pour conserver la fonctionnalité bac à sable, décompresser l'archive ou l'AppImage (via l'option **%%--appimage-extract%%** ) et positionner le **sticky bit** sur l'exécutable **chrome-sandbox** :
 +
 +
 +Dans l'exemple ci-dessous on fait le choix d'utiliser le paquet .zip
 +
 +<code bash>
 +# Téléchargement de l'archive au format zip
 +cd ~/Téléchargements
 +wget "https://github.com/balena-io/etcher/releases/download/v1.19.21/balenaEtcher-linux-x64-1.19.21.zip"
 +
 +
 +# Décompression dans l'espace utilisateur
 +unzip ~/Téléchargements/balenaEtcher-linux-x64-1.19.21.zip -d ~/Applications/balenaEtcher-1.19
 +
 +# Modification des droits : positionnement du sticky bit
 +cd ~/Applications/balenaEtcher-1.19/balenaEtcher-linux-x64/
 +sudo chown root: chrome-sandbox
 +sudo chmod 4755 chrome-sandbox
 +</code>
 +
  
 sources : sources :
 +  * https://github.com/electron/electron/issues/17972
   * https://askubuntu.com/questions/1512287/obsidian-appimage-the-suid-sandbox-helper-binary-was-found-but-is-not-configu   * https://askubuntu.com/questions/1512287/obsidian-appimage-the-suid-sandbox-helper-binary-was-found-but-is-not-configu
   * https://rikigeek.net/2021/06/01/applications-appimage-en-mode-sandbox/   * https://rikigeek.net/2021/06/01/applications-appimage-en-mode-sandbox/
   * https://forum.ubuntu-fr.org/viewtopic.php?id=2085500   * https://forum.ubuntu-fr.org/viewtopic.php?id=2085500
 +
 +
 +===== Intégration au Bureau ======
 +
 +Ajouter le binaire dans le PATH de l'utilisateur :
 +<code bash>
 +cd ~/bin
 +ln -s /absolute/path/to/balenaEtcher-1.19/balenaEtcher-linux-x64/balena-etcher balena-etcher-1.19
 +</code>
 +
 +L'archive AppImage contient l’icône de l'application BalenaEtcher (disponible ci-dessous) et un exemple de fichier .desktop
 +
 +{{balena-etcher.png|icone BalenaEtcher 256x256}}
 +
 +
 +<code bash>
 +# copier l'icone
 +cp balena-etcher.png /usr/share/icons/hicolor/256x256/
 +</code>
 +
 +[[sysadmin:linux:creer_icone_bureau_linux|Créer un fichier .desktop pour l'application]] :
 +
 +<file txt balenaEtcher-1.19.desktop>
 +[Desktop Entry]
 +Version=1.5
 +Type=Application
 +Name=balenaEtcher
 +Comment=Balena Etcher 1.19
 +Exec=/absolute/path/to/balenaEtcher-1.19/balenaEtcher-linux-x64/balena-etcher %U
 +Icon=/usr/share/icons/hicolor/256x256/balena-etcher.png
 +Categories=Utility;
 +Keywords=usb usb-creator flash boot iso
 +Terminal=false
 +X-AppImage-Name=balena-etcher
 +X-AppImage-Version=1.19.21
 +X-AppImage-Arch=x86_64
 +</file>
 +
  
  
software/applications/etcher.1723284889.txt.gz · Dernière modification : 2024/08/10 10:14 de yoann