Outils pour utilisateurs

Outils du site


tech:notes_dinit

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
Prochaine révision
Révision précédente
tech:notes_dinit [2025/10/15 20:08] Jean-Baptistetech:notes_dinit [2025/10/20 23:06] (Version actuelle) Jean-Baptiste
Ligne 6: Ligne 6:
 Voir : Voir :
 * https://davmac.org/projects/dinit/ * https://davmac.org/projects/dinit/
 +* https://chimera-linux.org/docs/configuration/services
 * https://wiki.artixlinux.org/Main/Dinit * https://wiki.artixlinux.org/Main/Dinit
 +* https://itsfoss.community/t/the-dinit-init-system-in-artix-linux/12993
 * https://davmac.wordpress.com/2018/10/26/on-the-vagaries-of-init-systems/ * https://davmac.wordpress.com/2018/10/26/on-the-vagaries-of-init-systems/
 * https://github.com/davmac314/dinit/blob/master/doc/COMPARISON * https://github.com/davmac314/dinit/blob/master/doc/COMPARISON
 +* https://github.com/chimera-linux/dinit-chimera/blob/master/README.md
 +* https://github.com/RussPalms/dinit_dev/blob/master/doc/linux/DINIT-AS-INIT.md
  
 Voir aussi : Voir aussi :
-turnstile+https://wiki.artixlinux.org/Main/Turnstile 
 +* https://github.com/chimera-linux/dinit-dbus
  
  
Ligne 157: Ligne 162:
  
  
 +## Pb
 +
 +~~~
 +oct 17 17:44:45 vivabelo systemd[2332]: nerdctl-3249c67de5a1a127575835e672573bd05d1fd478bca842293869a7bc2a0a1539.scope: Consumed 2min 37.055s CPU time, 2.1G memory peak, 430M read from disk, 82.7M written to disk.
 +oct 17 17:44:45 vivabelo containerd-rootless.sh[2454]: time="2025-10-17T17:44:45.171069378+02:00" level=error msg="ttrpc: received message on inactive stream" stream=9
 +~~~
 +
 +## Pb
 +
 +### Err provided file is not a console
 +
 +~~~
 +Exited (137)
 +~~~
 +
 +~~~
 +1 errors:\nprovided file is not a console
 +~~~
 +
 +
 +Solution
 +~~~bash
 +apt-get install expect
 +~~~
 +
 +
 +''~/.config/dinit.d/kind''
 +~~~python
 +type = process
 +
 +# command = $HOME/bin/nerdctl start --attach kind-control-plane
 +command = unbuffer $HOME/bin/nerdctl start --attach kind-control-plane
 +
 +stop-command = $HOME/bin/nerdctl stop kind-control-plane
 +restart = false
 +logfile = /home/jibe/log/kind.log
 +stop-timeout = 120
 +~~~
 +
 +Préfixer la commande par ''unbuffer''
 +
 +
 +
 +Mais ne marche pas :
 +  * ''stdbuf -i0 -o0 -e0 command''
 +  * ''script --return --quiet --command "rancher exec -ti …" /dev/null''
  
  
tech/notes_dinit.1760551732.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki