Skip to content
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

Add chef-utils helper for the systemd version #9600

Open
tas50 opened this issue Apr 5, 2020 · 0 comments
Open

Add chef-utils helper for the systemd version #9600

tas50 opened this issue Apr 5, 2020 · 0 comments
Labels
Aspect: UX How users feel interacting with the project, focusing on function, ease-of-use and accessibility. Platform: Linux Triage: Feature Request Indicates an issue requesting new functionality.
Milestone

Comments

@tas50
Copy link
Contributor

tas50 commented Apr 5, 2020

systemd has evolved over the years and it's important to know what version you're on so you can use the right capabilities. It would be really nice to have a systemd_version helper that would output the version installed.

This can be determined via systemctl --version which has output like this:

Ubuntu 20.04:

systemd 245 (245.2-1ubuntu2)
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid

RHEL 7

systemd 219
+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN
@tas50 tas50 added the Status: Untriaged An issue that has yet to be triaged. label Apr 5, 2020
@lamont-granquist lamont-granquist removed the Status: Untriaged An issue that has yet to be triaged. label Jun 25, 2020
@tas50 tas50 added Aspect: UX How users feel interacting with the project, focusing on function, ease-of-use and accessibility. Platform: Linux Triage: Feature Request Indicates an issue requesting new functionality. labels May 5, 2021
@tas50 tas50 added this to the Q4 2021 milestone Sep 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Aspect: UX How users feel interacting with the project, focusing on function, ease-of-use and accessibility. Platform: Linux Triage: Feature Request Indicates an issue requesting new functionality.
Projects
None yet
Development

No branches or pull requests

2 participants