Skip to content

Issues with OpenSMTPD on boot #575

Closed

Description

@zacoons

Describe the bug
network-online.target doesn't seem to work, OpenSMTPD reports smtpd: invalid virtual ip or interface: eth0 on boot, but it works when I start the service manually after SSH-ing into the machine.

To Reproduce

type            = process
command         = /usr/bin/smtpd -d
smooth-recovery = true
logfile         = /var/log/dinit/smtpd.log
depends-on      = network-online.target
before          = login.target

Expected behaviour
It should start the service after the network is fully initialized.

Additional context
Related Artix forum issue, they weren't very helpful: https://forum.artixlinux.org/index.php/topic,10220.0.html
I'm hoping you have some better ideas, but maybe the only solution is to apply a delay.

Activity

  1. Repository owner locked and limited conversation to collaborators on Aug 18, 2026
  2. converted this issue into a discussion #577 on Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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