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

Debian support #45

Open
6 of 7 tasks
VorpalBlade opened this issue Jul 25, 2024 · 0 comments
Open
6 of 7 tasks

Debian support #45

VorpalBlade opened this issue Jul 25, 2024 · 0 comments
Assignees
Labels
A-konfigkoll Area: konfigkoll C-tracking Category: Tracking issue

Comments

@VorpalBlade
Copy link
Owner

VorpalBlade commented Jul 25, 2024

While the basics are in place it is mostly untested, and there are known issues with what is there. Here is a not complete list of things that would have to be done for this to work well on Debian. This is a tracking issue

  • Mtime disk cache (it is slow to scan the file system on Debian)
  • Extract and cache metadata from original .debs as well (since that is missing in the package database)
  • Early configs should support globs #61
  • Handling marked for install more sensibly (we will have to build our own graph probably):
  • Helpers for /etc/rc.d (Debian isn't fully systemdified)
    • Seems there is just one or two files actually used from init.d/rc.d. The rest is "masked" by natives systemd units. Maybe we can just ignore the exact number assignment (somehow)?
    • Resolution: Use ignore_path and forget about it.
  • Helpers for /etc/alternatives (that is going to be painful to deal with otherwise)
    • They are just symlinks, and /var/lib/dpkg/alternatives has an insane format. Punt on this and just do symlinks?
    • Resolution: Using Rune helper function now to slightly simplify this.
  • Figure out user handling (Debian doesn't make much use of systemd sysusers.d)
    • Resolution: Manually with rune helper functions is the best answer. Even how the postinst scripts do this isn't consistent, so no chance of parsing them.
@VorpalBlade VorpalBlade added the A-konfigkoll Area: konfigkoll label Jul 25, 2024
@VorpalBlade VorpalBlade self-assigned this Jul 25, 2024
@VorpalBlade VorpalBlade added the C-tracking Category: Tracking issue label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-konfigkoll Area: konfigkoll C-tracking Category: Tracking issue
Projects
None yet
Development

No branches or pull requests

1 participant