[Bug 1723094] Re: Live images should be able to turn off Snap updates

2018-10-05 Thread Samuele Pedroni
** Changed in: snapd 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/1723094 Title: Live images should be able to turn off Snap updates To manage

[Bug 1723094] Re: Live images should be able to turn off Snap updates

2018-03-22 Thread Launchpad Bug Tracker
This bug was fixed in the package casper - 1.391 --- casper (1.391) bionic; urgency=medium [ Jean-Baptiste Lallement ] * scripts/casper-bottom/55disable_snap_refresh: - Set refresh timer of snapd to 60 days on live session (LP: #1723094) [ Iain Lane ] * Modify the script

[Bug 1723094] Re: Live images should be able to turn off Snap updates

2018-03-22 Thread Iain Lane
I've uploaded, thanks for the contribution. I made a couple of changes as detailed in the changelog. After testing - it's quite irritating to test casper-bottom changes! - it still worked for me, but feel free to check yourself. ** Changed in: casper (Ubuntu Bionic) Status: Triaged => Fix

[Bug 1723094] Re: Live images should be able to turn off Snap updates

2018-03-22 Thread Jean-Baptiste Lallement
Thanks. For info I tested with a 3 weeks old ISO with out of date preinstalled snap packages on which I installed snapd 2.32 and casper with this patch and I verified that refresh.hold is set to 60d in the future and that no snap package is refreshed. -- You received this bug notification

[Bug 1723094] Re: Live images should be able to turn off Snap updates

2018-03-22 Thread Iain Lane
thanks, I'm testing and will sponsor ** Changed in: casper (Ubuntu Bionic) Assignee: Jean-Baptiste Lallement (jibel) => Iain Lane (laney) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1723094

[Bug 1723094] Re: Live images should be able to turn off Snap updates

2018-03-22 Thread Jean-Baptiste Lallement
Updated to inject the service file in /etc instead of /lib ** Patch removed: "casper_1.391.debdiff" https://bugs.launchpad.net/snapd/+bug/1723094/+attachment/5086742/+files/casper_1.391.debdiff ** Patch added: "casper_1.391.debdiff"

[Bug 1723094] Re: Live images should be able to turn off Snap updates

2018-03-22 Thread Ubuntu Foundations Team Bug Bot
The attachment "casper_1.391.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and

[Bug 1723094] Re: Live images should be able to turn off Snap updates

2018-03-22 Thread Samuele Pedroni
in a properly working snapd 2.32 60 days are computed from seed-time, which is when the snaps are installed at first boot (there are fallbacks based on other things but those are for corner cases, or preexisting installations) -- You received this bug notification because you are a member of

[Bug 1723094] Re: Live images should be able to turn off Snap updates

2018-03-22 Thread Jean-Baptiste Lallement
This patch adds a casper script to inject a systemd unit that sets refresh.hold to 60d in the future. ** Changed in: casper (Ubuntu) Assignee: (unassigned) => Jean-Baptiste Lallement (jibel) ** Changed in: casper (Ubuntu) Importance: Undecided => Medium ** Changed in: casper (Ubuntu)

[Bug 1723094] Re: Live images should be able to turn off Snap updates

2018-03-22 Thread Jean-Baptiste Lallement
** Patch added: "casper_1.391.debdiff" https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1723094/+attachment/5086742/+files/casper_1.391.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

Re: [Bug 1723094] Re: Live images should be able to turn off Snap updates

2018-03-21 Thread Iain Lane
On Wed, Mar 21, 2018 at 09:59:24AM -, Michael Hudson-Doyle wrote: > > It doesn't say what the maximum number of days is since - do you know? > > If it it since the last refresh, is that the date that the image was > > created? If so, what happens if your image is more than 60 days old? It > >

Re: [Bug 1723094] Re: Live images should be able to turn off Snap updates

2018-03-21 Thread Michael Hudson-Doyle
On 21 March 2018 at 22:23, Iain Lane wrote: > On Wed, Mar 21, 2018 at 08:13:23AM -, Michael Hudson-Doyle wrote: > > For the record, the plan for the live server installer is to run “snap > > set core refresh.hold=$(date --date=now+60days --iso-8601=seconds)” > >

Re: [Bug 1723094] Re: Live images should be able to turn off Snap updates

2018-03-21 Thread Iain Lane
On Wed, Mar 21, 2018 at 08:13:23AM -, Michael Hudson-Doyle wrote: > For the record, the plan for the live server installer is to run “snap > set core refresh.hold=$(date --date=now+60days --iso-8601=seconds)” > fairly early on. If people leave their live sessions going for 60 days, > so be it…

[Bug 1723094] Re: Live images should be able to turn off Snap updates

2018-03-21 Thread Michael Hudson-Doyle
For the record, the plan for the live server installer is to run “snap set core refresh.hold=$(date --date=now+60days --iso-8601=seconds)” fairly early on. If people leave their live sessions going for 60 days, so be it… -- You received this bug notification because you are a member of Ubuntu

[Bug 1723094] Re: Live images should be able to turn off Snap updates

2018-03-15 Thread Will Cooke
I think this is already being addressed, but for completeness, the issue is that the snap updates and then exhausts all available RAM causing the live session to crash. ** Changed in: snapd Status: Incomplete => Confirmed -- You received this bug notification because you are a member of

[Bug 1723094] Re: Live images should be able to turn off Snap updates

2018-01-30 Thread Zygmunt Krynicki
I think the only way to do that today is to disable the service and the (fallback) refresh timer. Is there a technical problem with the update or just a preference to not do this? ** Changed in: snapd Status: Triaged => Incomplete -- You received this bug notification because you are a

[Bug 1723094] Re: Live images should be able to turn off Snap updates

2017-12-22 Thread Michael Vogt
** Changed in: snapd Status: New => Triaged ** Changed in: snapd 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/1723094 Title: Live images should be able

[Bug 1723094] Re: Live images should be able to turn off Snap updates

2017-10-15 Thread Colin Watson
snapcraft handles building; this seems like more of a snapd thing. But is anything actually needed in snapd? Couldn't casper just do "systemctl disable snapd.refresh.service"? ** Project changed: snapcraft => snapd -- You received this bug notification because you are a member of Ubuntu Bugs,