Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iwd native network management and the net service
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
crystall
n00b
n00b


Joined: 31 Aug 2004
Posts: 15

PostPosted: Wed Sep 18, 2019 8:48 am    Post subject: iwd native network management and the net service Reply with quote

Hello all,
I've recently changed the network setup of my machine to use iwd with native network management (i.e. w/o dhcpcd). One of the issue I noticed after finalizing the setup is that, on startup, some scripts would not start because no other script was providing the net service. I "solved" the problem by changing /etc/init.d/iwd to provide the net service like so:
Code:
depend() {
   need dbus
   provide net
   keyword -shutdown
}

Is this the right approach?
Back to top
View user's profile Send private message
shagrat
Apprentice
Apprentice


Joined: 10 Mar 2003
Posts: 219
Location: Norway

PostPosted: Wed Aug 05, 2020 6:12 pm    Post subject: Reply with quote

A better approach (with the same effect) that do not change the provided init script would be:

Code:
echo 'rc_provide="net"' > /etc/conf.d/iwd
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3686

PostPosted: Wed Aug 05, 2020 9:57 pm    Post subject: Reply with quote

bug 727218?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum