El Mon, 5 de May 2014 a las 9:52 PM, Steve Langasek <vor...@debian.org> escribió:
On Mon, May 05, 2014 at 03:49:38AM -0007, Cameron Norman wrote:

 2) More than just init scripts source lsb init functions. Most
 notably: many of the ifupdown scripts. Using basename would give you
 problems because /etc/network/ifup.d/openvpn is different from
 /etc/init.d/openvpn, but I think the change to ${0#/etc/init.d/}
 will cover this. If $0 is the ifup thing, it will remain the full
 path, and initctl status will fail.

What version of openvpn is this in?  The version in unstable certainly
doesn't source /lib/lsb/init-functions from its ifupdown hook. If it did,
I'm not sure we should regard that as anything but a bug anyway.


Sorry, I just used the openvpn one as an example of a file in if-up.d that matched a init script. One that matches and sources /lib/lsb/init-functions is mountnfs.

Cheers,
--
Cameron

Reply via email to