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

Some services lack configuration files in /etc #476

Open
renich opened this issue Dec 27, 2024 · 1 comment
Open

Some services lack configuration files in /etc #476

renich opened this issue Dec 27, 2024 · 1 comment

Comments

@renich
Copy link
Contributor

renich commented Dec 27, 2024

I just installed: openssh-server and I noticed that /etc/openssh/sshd_config was missing. I found it at: /usr/share/defaults/etc/ssh/sshd_config and copied it in order to modify it a bit.

openssh-server was able to start without it's configuration file since, I assume, it has defaults defined. This was not the case with avahi-daemon.

In this case, avahi-daemon fails to start at boot time:

systemctl status avahi-daemon  
× avahi-daemon.service - Avahi mDNS/DNS-SD Stack
     Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Fri 2024-12-27 19:54:17 UTC; 22min ago
TriggeredBy: × avahi-daemon.socket
    Process: 547 ExecStart=/usr/sbin/avahi-daemon -s (code=exited, status=255/EXCEPTION)
   Main PID: 547 (code=exited, status=255/EXCEPTION)
        CPU: 1ms

Dec 27 19:54:17 sos.virt.casa.g02.org systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
Dec 27 19:54:17 sos.virt.casa.g02.org avahi-daemon[547]: Failed to open file '/etc/avahi/avahi-daemon.conf': No such file or directory
...

I know nothing, but it seems there might be a general omission while packaging or a bug.

@ikeycode
Copy link
Member

Somethings are correctly stateless. Some things are crapped out like avahi :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants