amazon-linux-2023 icon indicating copy to clipboard operation
amazon-linux-2023 copied to clipboard

[Package Request] - runit

Open shanmugh opened this issue 6 months ago • 6 comments

What package is missing from Amazon Linux 2023? Please describe and include package name. runit

Is this an update to existing package or new package request? New package

Is this package available in Amazon Linux 2? If it is available via external sources such as EPEL, please specify. Available on amazon linux 2 from https://smarden.org/runit/

Any additional information you'd like to include. (use-cases, etc) It is needed for service running via chef recipes

shanmugh avatar Jul 01 '25 22:07 shanmugh

Is this really needed ? This seems to be a replacement for sysvinit which we also don't support on AL2023. The system is fully systemd-driven. Isn't this supported by chef ?

ozbenh avatar Jul 01 '25 23:07 ozbenh

It is needed for service running via chef recipes

I think, there is a bit of confusion and this should be read as "Chef installs some service (which wasn't named) that supports only (why???) runit". Chef is a configuration management system, thus it's likely the the issue is with something managed by Chef. It would be great if that service is named.

I also doubt that something strictly requires runit.

alexey-tsvetnov avatar Jul 01 '25 23:07 alexey-tsvetnov

For example, Void Linux distribution made a concise choice to use runit instead of systemd, thus all packages they build provide files for the integration with runit. My point is that it is a maintainers responsibility to provide integration with the system which meant to be the underlying platform. Distributions support one process/service manager for an obvious reason.

@shanmugh, please, tell us more information about the recipe, the service etc.

alexey-tsvetnov avatar Jul 01 '25 23:07 alexey-tsvetnov

I don't think this is something we should/will add. Multiple init-like systems is more likely to lead to problems than correct and consistent behaviour, which is what's provided by systemd on Amazon Linux.

stewartsmith avatar Jul 02 '25 00:07 stewartsmith

runit-systemd is a compatibility package that provides integration between runit and systemd. It's designed to allow runit services to work properly on systemd-based systems. I guess its available for on Debian/Ubuntu but not for AL2023

senips avatar Jul 02 '25 14:07 senips

It's also worth noting that runit doesn't appear to be packaged in Fedora and as such is also probably unavailable in other RedHat based distros, is it ? (Thinking RHEL and derivatives)

ozbenh avatar Jul 03 '25 09:07 ozbenh