Ticket #79 (closed defect)
Opened 2 years ago
Last modified 2 years ago
rc_need_ethX does not work (0.2.4)
Reported by: | Alon Bar-Lev <alon.barlev@gmail.com> | Owned by: | roy |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | init.d scripts | Version: | |
Keywords: | Cc: |
Description
Hay! you have bugzilla!
Great!
So my old issue... Also happens in sys-apps/openrc-0.2.4.
Following configuration, same for eth0, eth1.
my_name="bla"
rc_need_eth1="firewall"
config_eth1="dhcp"
dhcp_eth1="release nontp nonis nosendhost"
dhcpcd_eth1="-h ${my_name}"
mac_eth1="random-samekind"
Runlevel: graphic
firehol [ started ]
Runlevel: UNASSIGNED
net.eth0 [ inactive ]
net.eth1 [ started ]
firehol has:
depend() {
need localmount
after bootmisc
before net
provide firewall
}
In the past when I stopped firehol the network interface was also stopped.
In openrc it does not do this, although it should.
Thanks!
Change History
comment:336 Changed 2 years ago by roy
- Status changed from new to resolved
- Resolution set to fixed
comment:337 Changed 2 years ago by roy
You'll also need commits
and
http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commitdiff;h=687231aa4ecf846e4c4538212f04b08d43b9218b
to get the full fix I think.
comment:338 Changed 2 years ago by Alon Bar-Lev <alon.barlev@gmail.com>
- Status changed from resolved to closed
Thanks!
You gave me the one bit of info here I needed to fix - it's depending on a provided script. Anyway, this fixes.
http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commitdiff;h=54ae2a2da85ce40cd5b3665f5df3167d78889e37
However, that now opens a load of new dependency bugs I need to fix before the next release. But this one is fixed.