Skip to content

dinitcheck not working for freebsd as intended #468

@anonymous-bugs

Description

@anonymous-bugs

According to man page of dinit
Dinit reads service descriptions from files located in a description directory, normally one of /etc/dinit.d, /run/dinit.d, /usr/local/lib/dinit.d and /lib/dinit.d for the system instance or dinit.d, $HOME/.config/dinit.d, /etc/dinit.d/user, lib/dinit.d/user and /usr/local/lib/dinit.d/user when run as a process

But dinitcheck only works when I'm in the dinit.d directory where boot and boot.d folder exist. Anywhere else I get this Issue

Checking service: boot...
Service 'boot', error reading dependencies from directory boot.d: No such file or directory
Performing secondary checks...
Secondary checks complete.
One or more errors/warnings issued.

When I'm in the boot.d directory. It succeeds

I'm using freebsd 14.1
Build instructions
1. meson setup -Ddinit-control-socket-path=/var/run/dinitctl
-Ddinit-sbindir=/usr/local/sbin build2
2. cd build2
3. ninja install

Expected behavior
Checking service: boot...
Performing secondary checks...
Secondary checks complete.
No problems found.

Can we add any verbose argument for dinitcheck for allowing us to check where is dinitcheck is searching and where its failing?

Thank you for your support

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions