mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ifupdown: Drop default dependencies of ifupdown.service
@ 2021-03-15 13:27 Uwe Kleine-König
  2021-03-30 18:07 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2021-03-15 13:27 UTC (permalink / raw)
  To: ptxdist

ifupdown can usually be started quite early. There might be some additional
dependencies (e.g. on devices or kernel modules) but these are not formalized
with the default dependencies either. So in this case you have to overwrite
the service for your device anyhow.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 projectroot/usr/lib/systemd/system/ifupdown.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/projectroot/usr/lib/systemd/system/ifupdown.service b/projectroot/usr/lib/systemd/system/ifupdown.service
index f9dd5b473b63..4531ef44326c 100644
--- a/projectroot/usr/lib/systemd/system/ifupdown.service
+++ b/projectroot/usr/lib/systemd/system/ifupdown.service
@@ -1,6 +1,7 @@
 [Unit]
 Description=Handle network interface with ifup/ifdown
 Before=network.target
+DefaultDependencies=no
 
 [Service]
 Type=oneshot
-- 
2.29.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] ifupdown: Drop default dependencies of ifupdown.service
  2021-03-15 13:27 [ptxdist] [PATCH] ifupdown: Drop default dependencies of ifupdown.service Uwe Kleine-König
@ 2021-03-30 18:07 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2021-03-30 18:07 UTC (permalink / raw)
  To: ptxdist; +Cc: u.kleine-koenig

Thanks, applied as ecb610674bb85b65d3d27f57f71a5cb9f7aef10a.

Michael

[sent from post-receive hook]

On Tue, 30 Mar 2021 20:07:53 +0200, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> wrote:
> ifupdown can usually be started quite early. There might be some additional
> dependencies (e.g. on devices or kernel modules) but these are not formalized
> with the default dependencies either. So in this case you have to overwrite
> the service for your device anyhow.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> Message-Id: <20210315132728.22554-1-u.kleine-koenig@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/projectroot/usr/lib/systemd/system/ifupdown.service b/projectroot/usr/lib/systemd/system/ifupdown.service
> index f9dd5b473b63..4531ef44326c 100644
> --- a/projectroot/usr/lib/systemd/system/ifupdown.service
> +++ b/projectroot/usr/lib/systemd/system/ifupdown.service
> @@ -1,6 +1,7 @@
>  [Unit]
>  Description=Handle network interface with ifup/ifdown
>  Before=network.target
> +DefaultDependencies=no
>  
>  [Service]
>  Type=oneshot

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-30 18:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-15 13:27 [ptxdist] [PATCH] ifupdown: Drop default dependencies of ifupdown.service Uwe Kleine-König
2021-03-30 18:07 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox