[Bug 1809994] Re: netplan reparses wifi when bridge member is listed before definition

2019-10-07 Thread Nanzikambe
This impacts bonded interfaces on a fresh install of Ubuntu 18.04.3 LTS

# cat /etc/netplan/50-cloud-init.yaml
network:
wifis:
wlx00:
   access-points:
   "guest":
   mode: ap
   password: "lol netplan"
   addresses: [192.168.42.0/24]
   optional: true
   match:
  macaddress: xx:xx:xx:xx:xx:xx
bonds:
bond0:
dhcp4: false
dhcp6: false
addresses: [192.168.0.2/24]
nameservers:
   # search: [lab, home]
   addresses: [8.8.8.8, 1.1.1.1]
interfaces:
- enp3s0
- enp5s0
parameters:
mode: broadcast
ethernets:
enp3s0: {}
enp5s0: {}
version: 2



# netplan --debug generate
DEBUG:command generate: running ['/lib/netplan/generate']
** (generate:1388): DEBUG: 17:40:48.166: Processing input file 
/etc/netplan/50-cloud-init.yaml..
** (generate:1388): DEBUG: 17:40:48.166: starting new processing pass
** (generate:1388): DEBUG: 17:40:48.166: wlx00: adding wifi AP 
'guest'
** (generate:1388): DEBUG: 17:40:48.166: recording missing yaml_node_t enp3s0
** (generate:1388): DEBUG: 17:40:48.166: recording missing yaml_node_t enp5s0
** (generate:1388): DEBUG: 17:40:48.166: starting new processing pass
** (generate:1388): DEBUG: 17:40:48.166: wlx00: adding wifi AP 
'guest'
/etc/netplan/50-cloud-init.yaml:12:16: Error in network definition: 
wlx00: Duplicate access point SSID 'guest'
   "guest":
   ^

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1809994

Title:
  netplan reparses wifi when bridge member is listed before definition

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1809994/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1689833] Re: OpenVPN server does not start properly on boot

2019-03-17 Thread Nanzikambe
Seems upstream kindly solved this bug, the solution is to:

In /etc/default/openvpn

AUTOSTART="none"

In /etc/network/interfaces

iface ethX inet static
  address XXX.XXX.XXX.XX
  netmask 255.255.255.0
  openvpn my_vpn_name

Where ethX is your interface (ex, eth0 for a regular interface, eth0:1
for an alias of an interface), my_vpn_name is the base filename without
the .conf suffix of your /etc/openvpn/my_vpn_name.conf file.

To explain, the above causes the script /etc/network/if-up.d/openvpn to
get executed, this in turn executes systemctl --no-block start
openvpn@my_vpn_name which starts the openvpn after the interface or
alias is brought up.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1689833

Title:
  OpenVPN server does not start properly on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1689833/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1689833] Re: OpenVPN server does not start properly on boot

2019-03-17 Thread Nanzikambe
Also affected by this bug, fresh Ubuntu Ubuntu 16.04.6 LTS minimal
server install + openvpn

/var/log/openvpn-.log:

Sun Mar 17 14:45:59 2019 us=746742 TCP/UDP: Socket bind failed on local address 
[AF_INET]XXX.XXX.XXX.131:1094: Cannot assign requested address
Sun Mar 17 14:45:59 2019 us=746750 Exiting due to fatal error

Where XXX.XXX.XXX.131 is an IP aliased to eth0 (aliased eth0:1) in
/etc/network/interfaces:

auto eth0:1
allow-hotplug eth0:1
iface eth0:1 inet static
  address XXX.XXX.XXX.131
  netmask 255.255.255.224

None of the workarounds listed in this bug or here
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ work -
occurs 100% every boot.

I can repeat this reliably on a fresh minimal install + openvpn + alias
on primary interface

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1689833

Title:
  OpenVPN server does not start properly on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1689833/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs