ifup does not execute if-up.d scripts for manual interfaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ifupdown (Ubuntu) |
Confirmed
|
High
|
Unassigned |
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/
run-parts: executing /etc/network/
run-parts --verbose /etc/network/
run-parts: executing /etc/network/
run-parts: executing /etc/network/
run-parts: executing /etc/network/
run-parts: executing /etc/network/
run-parts: executing /etc/network/
* Starting virtual private network daemon(s)...
* Starting VPN 'myvpn'
run-parts: executing /etc/network/
#
On ifupdown 0.7.47.2ubuntu4 (trusty):
# ifup -v myvpn
Configuring interface myvpn=myvpn (inet)
run-parts --verbose /etc/network/
run-parts: executing /etc/network/
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://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ifupdown 0.7.47.2ubuntu4
ProcVersionSign
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)
tags: | added: willy |
tags: |
added: wily removed: willy |
Changed in ifupdown (Ubuntu): | |
importance: | Undecided → High |
Status changed to 'Confirmed' because the bug affects multiple users.