-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why is there an APK package that contains a systemd service (non-compatible with Alpine)? #616
Comments
The APK package contains a systemd service because the OpenTelemetry Collector releases are designed to be compatible with multiple Linux distributions, not just Alpine Linux. The use case for including a systemd service in the APK package is to provide a consistent way to manage the OpenTelemetry Collector service across different Linux distributions that use systemd for service management. The package includes a systemd service file, which is placed in the The For Alpine Linux, which uses OpenRC instead of systemd, you would need to create and manage an OpenRC service script manually, as the current package does not include OpenRC-specific scripts or configurations. |
@dosu what other linux distributions use APK packages? |
Alpine Linux is the primary Linux distribution that uses APK packages. APK (Alpine Package Keeper) is the package management system used by Alpine Linux. Other distributions that are based on Alpine Linux, such as postmarketOS, also use APK packages. However, APK is not commonly used outside of Alpine Linux and its derivatives. |
so then this perfectly explains my doubts that the released APK packages are useful in their current state 😄 |
In the collector SIG meeting on August 7th, we decided to drop the APK packages from the releases for now and file an issue for a proper implementation using open-rc files. |
Pinging @open-telemetry/collector-maintainers to get some more feedback on this since not many core people were in the SIG meeting |
What is the use case of the APK package releases containing a systemd service? From my understanding, Alpine Linux is not compatible with systemd services and would need a different service setup to work correctly using open-rc.
When installing the package on Alpine, I don't get any errors, files are copied correctly into the right places, but also the service is not started, so I guess it fails somewhat silently.
The text was updated successfully, but these errors were encountered: