[Bug 1309788] Re: ifup does not execute if-up.d scripts for manual interfaces
Launchpad Bug Tracker
1309788 at bugs.launchpad.net
Sun Jun 8 10:20:59 UTC 2014
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: ifupdown (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1309788
Title:
ifup does not execute if-up.d scripts for manual interfaces
Status in “ifupdown” package in Ubuntu:
Confirmed
Bug description:
When having an interfaces stanza:
auto myvpn
iface myvpn inet manual
openvpn myvpn
At least on ubuntu 13.10 (confirmed with ifupdown 0.7.44ubuntu3), doing a 'ifup -v myvpn' resulted in:
# ifup -v myvpn
Configuring interface myvpn=myvpn (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/ethtool
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/000resolvconf
run-parts: executing /etc/network/if-up.d/ethtool
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/openssh-server
run-parts: executing /etc/network/if-up.d/openvpn
* Starting virtual private network daemon(s)...
* Starting VPN 'myvpn'
run-parts: executing /etc/network/if-up.d/upstart
#
On ifupdown 0.7.47.2ubuntu4 (trusty):
# ifup -v myvpn
Configuring interface myvpn=myvpn (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/ethtool
ip link set dev myvpn up
Cannot find device "myvpn"
Failed to bring up myvpn.
#
IMHO the mentioned line (ip link set ...) seems to be called before
the if-up.d/* scripts. I cannot confirm if the origin of the issue is
the same change mentioned in the bug #1305271, since I don't have the
tools to rebuild the package without the mentioned line.
Information:
# lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
# apt-cache policy ifupdown
ifupdown:
Installed: 0.7.47.2ubuntu4
Candidate: 0.7.47.2ubuntu4
Version table:
*** 0.7.47.2ubuntu4 0
500 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ifupdown 0.7.47.2ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Sat Apr 19 00:49:42 2014
InstallationDate: Installed on 2014-04-18 (0 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
ProcEnviron:
LANGUAGE=en_US:en
TERM=cygwin
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ifupdown
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1309788/+subscriptions
More information about the foundations-bugs
mailing list