Blog: 2023-12-27: Difference between revisions

From razwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:


Maybe I should be using virsh to launch qemu, and that would give me an easy way to manage the status?
Maybe I should be using virsh to launch qemu, and that would give me an easy way to manage the status?

Yet more pid discussion https://superuser.com/questions/238412/write-a-pid-file-manually-from-bash-script

I think for now I'm just going to put the pidfile in ~/.ronin, we'll see how far that gets me.

Also while I work on making ronin more user friendly, I should document its basic functionality so that I can compare the qemu implementation with a podman one (which I might call roman).

---

Ok I'm doing some shell scripting so let me get shellcheck linting in emacs.

Ok cool just installing flycheck and enabling flycheck-global-mode made it work! Unfortunately it also made a lot of noise in my init.el with even stuff I don't care for, have to configure elisp linter to make it less noisy.

Latest revision as of 21:10, 27 December 2023

Ok struggling with basic pid kinda stuff for a `ronin status`

https://serverfault.com/questions/159334/what-permissions-are-needed-to-write-a-pid-file-in-var-run

means I can't do a pid in /var/run I guess, unless I create it during the apt install... I guess...

More discussion of alternate pid file locations: https://superuser.com/questions/454449/linux-alternative-places-where-to-store-pid-file-instead-of-var-run

Maybe I should be using virsh to launch qemu, and that would give me an easy way to manage the status?

Yet more pid discussion https://superuser.com/questions/238412/write-a-pid-file-manually-from-bash-script

I think for now I'm just going to put the pidfile in ~/.ronin, we'll see how far that gets me.

Also while I work on making ronin more user friendly, I should document its basic functionality so that I can compare the qemu implementation with a podman one (which I might call roman).

---

Ok I'm doing some shell scripting so let me get shellcheck linting in emacs.

Ok cool just installing flycheck and enabling flycheck-global-mode made it work! Unfortunately it also made a lot of noise in my init.el with even stuff I don't care for, have to configure elisp linter to make it less noisy.