Re: [dev] [quark] a monty-pythonesque journey with SYSTEMd

2023-05-31 Thread Страхиња Радић
On 23/05/29 11:37PM, Spenser Truex wrote:
> systemd

Just don't use it, it sucks. Use anything else for PID 1 and process 
supervision.

https://suckless.org/sucks/systemd/


signature.asc
Description: PGP signature


Re: [dev] [quark] a monty-pythonesque journey with SYSTEMd

2023-05-30 Thread Georg Lehner

Hello Spenser,

You could just install e.g. runit and use it to run quark.

With Debian it would be the 'runit-run' package.

Best Regards,

  Georg

On 5/30/23 04:37, Spenser Truex wrote:

My $10/yr VPS host Racknerd ungraciously requires that I'd make a support
ticket in order to get a custom ISO for my VPS. I think I'd rather
suffer and die. Fun awaits? Maybe I can collect a pile of .service files
for some suckless programs?

Quark has a slightly complex set of behaviours that make systemd not boot
it. I think systemd sockets and systemd chroot shenanegains are involved
here. It "starts" but causes systemd to hang on the systemctl start quark
command. The socket doesn't open -- quark seems to be blocked in some way.

Unbound has a similar issue, and it too has a chroot startup which is
explicitly defined in their systemD service file on debian, but the
unbound official recommendation is to use whatever magic code the program
can run to install itself. And they recommend deleting the socket-related
bits in the systemd service files directory. Despite this, I tried just
copying the unbound config but wasn't able to get it to work. SystemD
doesn't tell you why it doesn't work (please pay redhat instead for
help installing programs on your VPS!).

I hope to succeed on my quest for the Holy Grail in this desolate land.




Re: [dev] [quark] a monty-pythonesque journey with SYSTEMd

2023-05-29 Thread Spenser Truex
On 23/05/30 07:12AM, Marcel Plch wrote:

> Offtopic:
> equwal.com seems not to support https properly. My browser screams the
> following:
>
> Secure Connection Failed
>
> An error occurred during a connection to equwal.com.
> PR_CONNECT_RESET_ERROR
>
> Error code: PR_CONNECT_RESET_ERROR

Indeed, there's nothing there at the moment to respond on HTTP or HTTPS.

-- 
CAEE B377 FC82 BAF9 102C  D22F C5CE D003 1AA8 E281
Spenser Truexhttps://equwal.com (soon)



[dev] [quark] a monty-pythonesque journey with SYSTEMd

2023-05-29 Thread Spenser Truex
My $10/yr VPS host Racknerd ungraciously requires that I'd make a support
ticket in order to get a custom ISO for my VPS. I think I'd rather
suffer and die. Fun awaits? Maybe I can collect a pile of .service files
for some suckless programs?

Quark has a slightly complex set of behaviours that make systemd not boot
it. I think systemd sockets and systemd chroot shenanegains are involved
here. It "starts" but causes systemd to hang on the systemctl start quark
command. The socket doesn't open -- quark seems to be blocked in some way.

Unbound has a similar issue, and it too has a chroot startup which is
explicitly defined in their systemD service file on debian, but the
unbound official recommendation is to use whatever magic code the program
can run to install itself. And they recommend deleting the socket-related
bits in the systemd service files directory. Despite this, I tried just
copying the unbound config but wasn't able to get it to work. SystemD
doesn't tell you why it doesn't work (please pay redhat instead for
help installing programs on your VPS!).

I hope to succeed on my quest for the Holy Grail in this desolate land.
-- 
CAEE B377 FC82 BAF9 102C  D22F C5CE D003 1AA8 E281
Spenser Truexhttps://equwal.com


signature.asc
Description: PGP signature