Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #241771

Re: OpenSMTPD won't start as part of systemd

From Jonathan Dowland <jon+debian-user@dow.land>
Newsgroups linux.debian.user
Subject Re: OpenSMTPD won't start as part of systemd
Date 2021-10-29 10:50 +0200
Message-ID <DdvKi-25d-5@gated-at.bofh.it> (permalink)
References <DdkOS-3D1-17@gated-at.bofh.it> <Ddl8e-3K1-15@gated-at.bofh.it> <Ddplv-6cr-1@gated-at.bofh.it> <DdpYe-6LH-1@gated-at.bofh.it> <DdsMp-fH-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Oct 29, 2021 at 01:16:12AM -0400, Paul M. Foster wrote:
>A lot to examine...

If you've got journald installed and configured (likely) you can narrow
it down a little with journalctl. You want messages from the beginning
of the last boot up until the point that opensmtpd complained.

    journalctl -xb --until="YYYY-MM-DD HH:MM:SS"

>One thing stands out. There is an error of sorts in /etc/daemon.log:
>
>Oct 26 17:44:05 dudley systemd-udevd[271]: 
>/usr/lib/udev/rules.d/80-ifupdown.rules: 2 Unknown group 'netdev', 
>ignoring
>
>I "accidentally" deleted the "netdev" group a few days ago. I wonder 
>if that's the reason.

I suspect this is not related. From reading up-ifupdown.rules, it would
seem that the rule only triggers for interfaces marked allow-hotplug,
which implies defined in /etc/network/interfaces and we've established
that your interface is not defined in there.

However it's probably worth restoring the netdev group, just to be sure
(and to silence that warning). It does not have a stable GID but is
allocated from the system range, so do

    # addgroup --system netdev

In terms of your actual problem, if your Ethernet connection is
ever-present and relatively stable, you could consider defining it in
/etc/network/interfaces instead of relying on NetworkManager. I suspect
that would side-step the issue. You would do so by adding something like
this to /etc/network/interfaces

    auto en0
    iface en0 inet dhcp

(or static, if you prefer, see interfaces(5))


-- 
Please do not CC me for listmail.

👱🏻	Jonathan Dowland
✎	 jmtd@debian.org
🔗	https://jmtd.net

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

OpenSMTPD won't start as part of systemd "Paul M. Foster" <paulf@quillandmouse.com> - 2021-10-28 23:10 +0200
  Re: OpenSMTPD won't start as part of systemd Greg Wooledge <greg@wooledge.org> - 2021-10-28 23:30 +0200
    Re: OpenSMTPD won't start as part of systemd "Paul M. Foster" <paulf@quillandmouse.com> - 2021-10-29 04:00 +0200
      Re: OpenSMTPD won't start as part of systemd Greg Wooledge <greg@wooledge.org> - 2021-10-29 04:20 +0200
        Re: OpenSMTPD won't start as part of systemd "Paul M. Foster" <paulf@quillandmouse.com> - 2021-10-29 07:00 +0200
          Re: OpenSMTPD won't start as part of systemd john doe <johndoe65534@mail.com> - 2021-10-29 08:10 +0200
          Re: OpenSMTPD won't start as part of systemd Greg Wooledge <greg@wooledge.org> - 2021-10-29 14:10 +0200
            Re: OpenSMTPD won't start as part of systemd "Paul M. Foster" <paulf@quillandmouse.com> - 2021-10-29 15:20 +0200
              Re: OpenSMTPD won't start as part of systemd john doe <johndoe65534@mail.com> - 2021-10-29 16:40 +0200
      Re: OpenSMTPD won't start as part of systemd David Wright <deblis@lionunicorn.co.uk> - 2021-10-29 04:40 +0200
        Re: OpenSMTPD won't start as part of systemd "Paul M. Foster" <paulf@quillandmouse.com> - 2021-10-29 07:40 +0200
          Re: OpenSMTPD won't start as part of systemd john doe <johndoe65534@mail.com> - 2021-10-29 08:20 +0200
          Re: OpenSMTPD won't start as part of systemd Jonathan Dowland <jon+debian-user@dow.land> - 2021-10-29 10:50 +0200

csiph-web