Control: tags -1 + pending Hi!
El 29/10/22 a las 10:33, Oleg A. Arkhangelsky escribió: > Package: ifupdown > Tags: patch > > Here is proposed patch. > > Since the unit type is oneshot, we can have multiple ExecStart statements. > > Note that we have to use '--ignore-errors'. Otherwise if we have real > hotplug interface that is not present at the moment of restart, `ifup` > returns non-zero and systemd unit fail. > > > diff --git a/debian/networking.service b/debian/networking.service > index 593172b..7ad246b 100644 > --- a/debian/networking.service > +++ b/debian/networking.service > @@ -16,6 +16,7 @@ WantedBy=network-online.target > Type=oneshot > EnvironmentFile=-/etc/default/networking > ExecStart=/sbin/ifup -a --read-environment > +ExecStart=/sbin/ifup -a --allow=hotplug --ignore-errors --read-environment > ExecStop=/sbin/ifdown -a --read-environment --exclude=lo > RemainAfterExit=true > TimeoutStartSec=5min > I applied the patch here: https://salsa.debian.org/debian/ifupdown/-/merge_requests/17 Thanks, -- Santiago
signature.asc
Description: PGP signature

