[Bug 1580018] Re: ubuntu-core image missing awk

2017-01-26 Thread Michael Vogt
Fixed with zyga updated snap-confine. ** Changed in: snapd (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580018 Title: ubuntu-core image missing a

[Bug 1580018] Re: ubuntu-core image missing awk

2016-07-01 Thread Zygmunt Krynicki
** Changed in: snap-confine Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580018 Title: ubuntu-core image missing awk To manage notifications about thi

[Bug 1580018] Re: ubuntu-core image missing awk

2016-06-30 Thread Zygmunt Krynicki
** Changed in: snap-confine Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580018 Title: ubuntu-core image missing awk To manage notifications about this bug go t

[Bug 1580018] Re: ubuntu-core image missing awk

2016-06-28 Thread Zygmunt Krynicki
** Changed in: snap-confine Milestone: None => 1.0.34 ** Changed in: snap-confine Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580018 Title: ubuntu

[Bug 1580018] Re: ubuntu-core image missing awk

2016-06-22 Thread Oliver Grawert
sure, but thats an extra hack we need to maintain and it might not work with all packages (there are some that change the binary name via the alternative or point to some non-bin path for an executable, not to forget that many packages also use it for config files in random places). so this requir

[Bug 1580018] Re: ubuntu-core image missing awk

2016-06-22 Thread John Lenton
Can't we nuke alternatives in core? In what situation is it useful to still have that in the core image? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580018 Title: ubuntu-core image missing awk T

[Bug 1580018] Re: ubuntu-core image missing awk

2016-06-22 Thread John Lenton
By "nuke the alternatives" I mean, as part of the image build process, iterate over the alternatives and just point the symlink to the alternative, instead of to /etc/alternatives/whatever. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubunt

[Bug 1580018] Re: ubuntu-core image missing awk

2016-06-22 Thread Oliver Grawert
well, only the individual ones i guess, if you mount the whole dir over the host one you might hide bits you dont want to hide ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580018 Title: ubuntu

[Bug 1580018] Re: ubuntu-core image missing awk

2016-06-22 Thread Zygmunt Krynicki
** Also affects: snap-confine Importance: Undecided Status: New ** Changed in: snap-confine Status: New => In Progress ** Changed in: snap-confine Assignee: (unassigned) => Zygmunt Krynicki (zyga) -- You received this bug notification because you are a member of Ubuntu Bug

[Bug 1580018] Re: ubuntu-core image missing awk

2016-06-22 Thread Zygmunt Krynicki
Hmm, so shall we bind-mount the core-snap /etc/alternatives over the already bind-mounted /etc from classic? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580018 Title: ubuntu-core image missing aw

[Bug 1580018] Re: ubuntu-core image missing awk

2016-06-22 Thread Kyle Fazzari
This just bit the nextcloud snap as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580018 Title: ubuntu-core image missing awk To manage notifications about this bug go to: https://bugs.launc

[Bug 1580018] Re: ubuntu-core image missing awk

2016-05-11 Thread John Lenton
** Changed in: snapd (Ubuntu) Status: Incomplete => Confirmed ** Changed in: snapd (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580018 Title: ub

[Bug 1580018] Re: ubuntu-core image missing awk

2016-05-11 Thread Zygmunt Krynicki
I'm discussing the changes to ubuntu-core-launcher that would hide /etc/alternatives from the classic system when snaps are running. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580018 Title: ubun

[Bug 1580018] Re: ubuntu-core image missing awk

2016-05-11 Thread John Lenton
It's because /etc isn't hidden; the snap sees the host's /etc. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580018 Title: ubuntu-core image missing awk To manage notifications about this bug go t

[Bug 1580018] Re: ubuntu-core image missing awk

2016-05-11 Thread Jamie Strandboge
This is odd-- the os snap I use specifies mawk as the alternative, but yours has gawk. $ snap list NameVersion Developer ... ubuntu-core 16.04+20160419.20-55 canonical $ ls -l /etc/alternatives/awk lrwxrwxrwx 1 root root 13 Apr 20 04:58 /etc/alternativ

[Bug 1580018] Re: ubuntu-core image missing awk

2016-05-10 Thread Michael Nelson
Thanks Jamie. My ubuntu-core was out of date, but updating doesn't change the symlinks which my snap'd app sees: michael@dev-xenial2:~/dev/todo.txt⟫ snap list Name Version Developer hello-world 6.0 canonical todo 2.1 ubuntu-core 16.04.0-24 canonical michael

[Bug 1580018] Re: ubuntu-core image missing awk

2016-05-10 Thread Jamie Strandboge
In 16.04+20160420.05-01: $ ls -l /usr/bin/awk lrwxrwxrwx 1 root root 21 Apr 20 04:58 /usr/bin/awk -> /etc/alternatives/awk $ ls -l /etc/alternatives/awk lrwxrwxrwx 1 root root 13 Apr 20 04:58 /etc/alternatives/awk -> /usr/bin/mawk After running 'snap refresh ubuntu-core' and getting 16.04+2016041

[Bug 1580018] Re: ubuntu-core image missing awk

2016-05-09 Thread Michael Nelson
** Description changed: - I'm trying to snap a tool which uses awk. I checked the default apparmor - profile for any snap, and it seems to indicate that awk is installed and - enabled by the profile, but when checking (via a test snap), - /usr/bin/awk symlinks to /etc/alternatives/awk symlinks to