[Bug 1560942] Re: Support swap

2019-11-21 Thread John Lenton
** Changed in: snappy Status: In Progress => 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/1560942 Title: Support swap To manage notifications about this bug go to:

[Bug 1560942] Re: Support swap

2019-11-02 Thread Oliver Grawert via ubuntu-bugs
it is working via manual intervention after login like: https://forum.snapcraft.io/t/enabling-swap-on-ubuntu-core/5440 i.e. i implemented the OS side of it ... but we still do not have any "snap set system.swap=" option to steer it or set via a gadget configuration option in the yaml, this

[Bug 1560942] Re: Support swap

2019-10-29 Thread Zygmunt Krynicki
@ogra is this still in progress? If you are not actively working on this could you kindly please update the state of the bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560942 Title: Support

[Bug 1560942] Re: Support swap

2018-05-14 Thread Dan Kegel
May be fixed now? See https://forum.snapcraft.io/t/swap-on-core/5430/4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560942 Title: Support swap To manage notifications about this bug go to:

[Bug 1560942] Re: Support swap

2017-02-10 Thread Oliver Grawert
setting the snappy task back to in-progress. i kept it open for the work on the configure hook which is not done yet. the ubuntu-core-config change and core_support interface work are just infrastructure. the actual final implementation still needs to happen in the hook script. ** Changed in:

[Bug 1560942] Re: Support swap

2017-02-10 Thread Michael Vogt
** Changed in: snappy Status: Triaged => 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/1560942 Title: Support swap To manage notifications about this bug go to:

[Bug 1560942] Re: Support swap

2017-02-10 Thread Oliver Grawert
ubuntu-core-config (0.6.40+ppa41) xenial; urgency=medium * add /etc/default/swapfile, /etc/systemd/system/swapfile.service and /usr/bin/mkswapfile to be managed by the core configure hook. -- Oliver Grawert Fri, 10 Feb 2017 14:02:20 +0100 ** Changed in:

[Bug 1560942] Re: Support swap

2017-02-10 Thread Oliver Grawert
actually, scratch that, i'll add a systemd service so the interface only needs write access to a config file and can use the existing implementation to en/disable services we already have in place. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1560942] Re: Support swap

2017-02-10 Thread Oliver Grawert
@jdstrand: any suggestion for a file location here ? (we need to add swap file creation support to the core-support interface, so fallocate and swapon execution should be supported plus a writable path for a swapfile) -- You received this bug notification because you are a member of Ubuntu

[Bug 1560942] Re: Support swap

2017-02-10 Thread Oliver Grawert
@mark: so how about "snap set core system.swap=512" config: core: system: swap: 512 # size in MB|auto where "auto" would select a certain percentage of free diskspace (somewhere between 5 and 10%) if it is unset (the default to not scare SD card users away) there wont be swap. --

Re: [Bug 1560942] Re: Support swap

2017-02-09 Thread Mark Shuttleworth
Just to say, I think it makes sense that default swap behaviour should be a core config element. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560942 Title: Support swap To manage notifications

[Bug 1560942] Re: Support swap

2017-02-08 Thread Oliver Grawert
heh, no problem, i appreciate your cleanup work ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560942 Title: Support swap To manage notifications about this bug go to:

[Bug 1560942] Re: Support swap

2017-02-08 Thread Kyle Fazzari
Good point, thanks ogra. Sorry for the noise! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560942 Title: Support swap To manage notifications about this bug go to:

[Bug 1560942] Re: Support swap

2017-02-08 Thread Oliver Grawert
i guess it will either become a kernel cmdline option (that you set in the gadget indeed) to trigger a creation script in the initrd (if you need swap you perhaps want it really early because your system is low on ram ... i.e. before you clutter memory with userspace processes) ...or actually via

[Bug 1560942] Re: Support swap

2017-02-08 Thread Kyle Fazzari
Note that this was assigned to snapd as the mailing list discussion led me to believe this would be implemented via the gadget snap, which is something snapd would need to support no? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1560942] Re: Support swap

2017-02-08 Thread Oliver Grawert
** Changed in: snapd Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560942 Title: Support swap To manage notifications about this bug go to:

[Bug 1560942] Re: Support swap

2017-02-08 Thread Oliver Grawert
adding ubuntu-core-config (though it might perhaps better suit in initramfs-tools-ubuntu-core). in any case creating a swapfile and managing swapon/off is an image feature, unlikely to be handled by snapd. ** Also affects: ubuntu-core-config (Ubuntu) Importance: Undecided Status: New