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

[BUG] "dinit" init system incorrectly identified as just "init" #1245

Closed
JamiKettunen opened this issue Sep 3, 2024 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@JamiKettunen
Copy link
Contributor

Be sure to read the FAQ before submitting a new issue.

General description of bug:

  • What happened: dinit init system shown as just init without version in fastfetch -l none -s initsystem
  • What should happen: Init System: dinit 0.18.0 (I can get Init System: dinit without the version to show up if I append e.g. init=/bin/dinit to kernel cmdline)
  • Fastfetch version used: 2.23.0
  • Did it work in an older version: Don't remember it ever working since the introduction of the init system module in 2.14.0
  • Where did you get the binary: Chimera Linux apk repository package (I'm the package maintainer)
  • Does this issue still occur in the latest dev build? Yes (2.23.0 just released)

Often helpful information:

Screenshot:
image

Output of fastfetch -s initsystem --format json:

[
  {
    "type": "InitSystem",
    "result": {
      "name": "init",
      "exe": "/usr/bin/dinit",
      "version": "",
      "pid": 1
    }
  }
]

Output of fastfetch --list-features:

threads
vulkan
wayland
xcb-randr
xcb
xrandr
x11
drm
gio
dconf
dbus
imagemagick7
chafa
zlib
xfconf
egl
osmesa
opencl
libpulse
libddcutil
libelf
libzfs
System yyjson
linux/videodev2
linux/wireless
@JamiKettunen JamiKettunen added the bug Something isn't working label Sep 3, 2024
@JamiKettunen
Copy link
Contributor Author

@CarterLi Thanks for the quick patches :) seems it's trying to parse the version from the second output line instead of the first as fastfetch -l none -s initsystem now returns Init System: dinit supplemental-groups

@CarterLi
Copy link
Member

CarterLi commented Sep 3, 2024

Please try it again

@JamiKettunen
Copy link
Contributor Author

Working properly now, thanks again!
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants