root@c2:~# sudo snap refresh ufw --beta
ufw (beta) 0.36 from Canonical✓ refreshed
root@c2:~# ufw enable
Firewall is active and enabled on system startup
root@c2:~# ufw --version
ufw 0.36
Copyright 2008-2015 Canonical Ltd.
root@c2:~# snap info ufw
name: ufw
summary: ufw - Uncomplicated Firewall
publisher: Canonical✓
contact: https://bugs.launchpad.net/ufw/+filebug
license: GPL-3.0 AND GPL-2.0+
description: |
ufw is a program for managing a netfilter firewall and aims to
provide an easy to use experience
for the user.
commands:
- ufw.conntrack
- ufw.doc
- ufw.init
- ufw.ipset
- ufw
services:
ufw.srv: oneshot, enabled, inactive
snap-id: Jb8klqgs5djfejP5egB9Za8KYVK686Pe
tracking: beta
refresh-date: today at 20:03 UTC
channels:
stable: 0.36rc (120) 737kB -
candidate: 0.36 (270) 737kB -
beta: 0.36 (286) 737kB -
edge: 0.36+git (289) 737kB -
installed: 0.36 (286) 737kB -
On Sat, Dec 15, 2018 at 7:30 AM Jamie Strandboge <email address hidden> wrote:
> This is a bug in the snap where it was using '-s' instead of '-n' for
> string emptiness, which is obviously wrong. It worked by luck on non-
> LXD. Fixed in:
>
>
> https://git.launchpad.net/ufw/commit/?id=7947dc0f4ce8441dfaf6b79f0a436e7a6d93d85f
>
> I pushed this to master and release/0.36 which means that the edge and
> beta snaps will have this once the builds complete (ie, not before
> revision 226 of the snap). Due to a separate issue, you'll need to do an
> install of the snap. Eg:
>
> root@c1:~# snap remove ufw
> root@c1:~# snap install ufw --beta
>
> I plan to publish this fix to stable next week.
>
> ** Changed in: ufw
> Status: Confirmed => Fix Committed
>
> ** Changed in: ufw
> Importance: Medium => High
>
> ** Summary changed:
>
> - ERROR: problem running ufw-init Could not find
> /lib/ufw/ufw-init-functions (aborting)
> + ERROR: problem running ufw-init Could not find
> /lib/ufw/ufw-init-functions (aborting) with snap under LXD
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1808463
>
> Title:
> ERROR: problem running ufw-init Could not find /lib/ufw/ufw-init-
> functions (aborting) with snap under LXD
>
> Status in ufw:
> Fix Committed
>
> Bug description:
> On fresh 18.04 lxc, I run the following series of commands
> 1. apt purge ufw
> 2. snap install ufw
> 3. /snap/bin/ufw enable
> ERROR: problem running ufw-init
> Could not find /lib/ufw/ufw-init-functions (aborting)
>
> >find / -name ufw-init-functions
> /var/snap/ufw/120/lib/ufw/ufw-init-functions
> /snap/ufw/120/lib/ufw/ufw-init-functions
>
> >ufw --version
> ufw 0.36rc
>
> >snap version
> snap 2.36.2
> snapd 2.36.2
> series 16
> ubuntu 18.04
> kernel 4.15.0-42-generic
>
> >snap info ufw
> name: ufw
> summary: ufw - Uncomplicated Firewall
> publisher: Canonical✓
> contact: https://bugs.launchpad.net/ufw/+filebug
> license: unset
> description: |
> ufw is a program for managing a netfilter firewall and aims to provide
> an easy to use experience
> for the user.
> commands:
> - ufw.conntrack
> - ufw.doc
> - ufw.init
> - ufw.ipset
> - ufw
> services:
> ufw.srv: oneshot, enabled, inactive
> snap-id: Jb8klqgs5djfejP5egB9Za8KYVK686Pe
> tracking: stable
> refresh-date: today at 02:18 UTC
> channels:
> stable: 0.36rc (120) 737kB -
> candidate: 0.36rc (120) 737kB -
> beta: 0.36rc (95) 733kB -
> edge: 0.36rc (200) 737kB -
> installed: 0.36rc (120) 737kB -
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ufw/+bug/1808463/+subscriptions
>
Beta looks good to me. Thanks!
root@c2:~# sudo snap refresh ufw --beta /bugs.launchpad .net/ufw/ +filebug 5egB9Za8KYVK686 Pe
ufw (beta) 0.36 from Canonical✓ refreshed
root@c2:~# ufw enable
Firewall is active and enabled on system startup
root@c2:~# ufw --version
ufw 0.36
Copyright 2008-2015 Canonical Ltd.
root@c2:~# snap info ufw
name: ufw
summary: ufw - Uncomplicated Firewall
publisher: Canonical✓
contact: https:/
license: GPL-3.0 AND GPL-2.0+
description: |
ufw is a program for managing a netfilter firewall and aims to
provide an easy to use experience
for the user.
commands:
- ufw.conntrack
- ufw.doc
- ufw.init
- ufw.ipset
- ufw
services:
ufw.srv: oneshot, enabled, inactive
snap-id: Jb8klqgs5djfejP
tracking: beta
refresh-date: today at 20:03 UTC
channels:
stable: 0.36rc (120) 737kB -
candidate: 0.36 (270) 737kB -
beta: 0.36 (286) 737kB -
edge: 0.36+git (289) 737kB -
installed: 0.36 (286) 737kB -
On Sat, Dec 15, 2018 at 7:30 AM Jamie Strandboge <email address hidden> wrote:
> This is a bug in the snap where it was using '-s' instead of '-n' for /git.launchpad. net/ufw/ commit/ ?id=7947dc0f4ce 8441dfaf6b79f0a 436e7a6d93d85f ufw-init- functions (aborting) ufw-init- functions (aborting) with snap under LXD /bugs.launchpad .net/bugs/ 1808463 ufw-init- functions (aborting) ufw/120/ lib/ufw/ ufw-init- functions 120/lib/ ufw/ufw- init-functions /bugs.launchpad .net/ufw/ +filebug 5egB9Za8KYVK686 Pe /bugs.launchpad .net/ufw/ +bug/1808463/ +subscriptions
> string emptiness, which is obviously wrong. It worked by luck on non-
> LXD. Fixed in:
>
>
> https:/
>
> I pushed this to master and release/0.36 which means that the edge and
> beta snaps will have this once the builds complete (ie, not before
> revision 226 of the snap). Due to a separate issue, you'll need to do an
> install of the snap. Eg:
>
> root@c1:~# snap remove ufw
> root@c1:~# snap install ufw --beta
>
> I plan to publish this fix to stable next week.
>
> ** Changed in: ufw
> Status: Confirmed => Fix Committed
>
> ** Changed in: ufw
> Importance: Medium => High
>
> ** Summary changed:
>
> - ERROR: problem running ufw-init Could not find
> /lib/ufw/
> + ERROR: problem running ufw-init Could not find
> /lib/ufw/
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> ERROR: problem running ufw-init Could not find /lib/ufw/ufw-init-
> functions (aborting) with snap under LXD
>
> Status in ufw:
> Fix Committed
>
> Bug description:
> On fresh 18.04 lxc, I run the following series of commands
> 1. apt purge ufw
> 2. snap install ufw
> 3. /snap/bin/ufw enable
> ERROR: problem running ufw-init
> Could not find /lib/ufw/
>
> >find / -name ufw-init-functions
> /var/snap/
> /snap/ufw/
>
> >ufw --version
> ufw 0.36rc
>
> >snap version
> snap 2.36.2
> snapd 2.36.2
> series 16
> ubuntu 18.04
> kernel 4.15.0-42-generic
>
> >snap info ufw
> name: ufw
> summary: ufw - Uncomplicated Firewall
> publisher: Canonical✓
> contact: https:/
> license: unset
> description: |
> ufw is a program for managing a netfilter firewall and aims to provide
> an easy to use experience
> for the user.
> commands:
> - ufw.conntrack
> - ufw.doc
> - ufw.init
> - ufw.ipset
> - ufw
> services:
> ufw.srv: oneshot, enabled, inactive
> snap-id: Jb8klqgs5djfejP
> tracking: stable
> refresh-date: today at 02:18 UTC
> channels:
> stable: 0.36rc (120) 737kB -
> candidate: 0.36rc (120) 737kB -
> beta: 0.36rc (95) 733kB -
> edge: 0.36rc (200) 737kB -
> installed: 0.36rc (120) 737kB -
>
> To manage notifications about this bug go to:
> https:/
>