If NetworkManager and vpnc are in the default runlevel, the vpnc init script does not wait for NetworkManager to make a connection before running. Reproducible: Always Steps to Reproduce: 1. USE="dhcpcd" emerge networkmanager vpnc 2. rc-update add NetworkManager default 3. rc-update add vpnc default 4. Set up vpnc 5. Reboot Actual Results: vpnc fails to connect because there is no network connection until I log in to KDE. * Starting VPNC: vpnc ... /usr/sbin/vpnc: unknown host `**' * start-stop-daemon: failed to start `/usr/sbin/vpnc' [ !! ] * ERROR: vpnc failed to start Expected Results: Should wait for NetworkManager to make a connection as others do (nginx).
FYI, unless you are using a highly customized vpnc setup, you will likely find it easier to use net-misc/networkmanager-vpnc, which is the official networkmanager plugin for using vpnc.
(In reply to comment #1) > FYI, unless you are using a highly customized vpnc setup, you will likely > find it easier to use net-misc/networkmanager-vpnc, which is the official > networkmanager plugin for using vpnc. This combination has been very unstable for me on this computer which is why I use plain old dhcpcd (/etc/init.d/net.eth0 linked to net.lo) and vpnc.
(In reply to comment #2) > (In reply to comment #1) > > FYI, unless you are using a highly customized vpnc setup, you will likely > > find it easier to use net-misc/networkmanager-vpnc, which is the official > > networkmanager plugin for using vpnc. > > This combination has been very unstable for me on this computer which is why > I use plain old dhcpcd (/etc/init.d/net.eth0 linked to net.lo) and vpnc. Would that mean you are no longer interested in this bug report? I don't think you can properly handle network dependency issues in OpenRC when running NetworkManager. There are two notable interfaces that can be used to handle connection dependencies with NetworkManager and those are the D-Bus API and the dispatcher scripts in /etc/NetworkManager/dispatcher.d. The latter being more suitable for distribution quickfixes.
Yeah, no longer interested as I have decided not to use NetworkManager this way.
What is the status of this currently? Doesn't seem to be assigned to any concrete package :/ Also, what is the current status with an updated system?