Gentoo Archives: gentoo-user

From: Ian Zimmerman <itz@×××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: openrc functions or aliases [Was: Another openrc enigma: need firewalld]
Date: Tue, 13 Sep 2016 02:54:23
Message-Id: 20160913024920.12238.305316F9@matica.foolinux.mooo.com
In Reply to: Re: [gentoo-user] openrc functions or aliases [Was: Another openrc enigma: need firewalld] by Neil Bothwick
1 On 2016-09-12 23:30, Neil Bothwick wrote:
2
3 > > firewalld_depend()
4 > > {
5 > > after interface
6 > > before dhcp
7 > > program firewall-cmd
8 > > [ "$IFACE" != "lo" ] && need firewalld
9 > > }
10 > /usr/share/doc/openrc-0.21.7/guide.md.bz2
11
12 Thanks.
13
14 I am still confused, though. If "needs" declares a hard dependency,
15 shouldn't this cause the initscript (in this case net.*) to fail, rather
16 than print a misleading message?
17
18 Then the bug would be more severe, of course, but by the same token it
19 would probably have been fixed by now :)
20
21 --
22 Please *no* private Cc: on mailing lists and newsgroups
23 Why does the arrow on Hillary signs point to the right?

Replies