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

avahi-alias-daemon fails with is-empty error when avahi-aliases is empty #32

Closed
scott-ainsworth opened this issue Nov 22, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@scott-ainsworth
Copy link
Owner

When the avahi-aliases file is empty, avahi-aliases-daemon attempts to commit the Avahi entry group anyway. The commit returns an is-empty status, which is interpreted as a failure. Instead, a warning should be logged and the daemon should continue to execute.

@scott-ainsworth scott-ainsworth added the bug Something isn't working label Nov 22, 2021
scott-ainsworth added a commit that referenced this issue Nov 22, 2021
Add function aliases_count() to obtain the number of aliases in
the aliases file.

Issue #32
scott-ainsworth added a commit that referenced this issue Nov 22, 2021
Log a warning if the aliases file is empty (vice aborting).

Issue #32
scott-ainsworth added a commit that referenced this issue Nov 22, 2021
Print a message when the aliases file is empty (vice showing
nothing at all).

Issue #32
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

1 participant