** 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:
https://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 would
@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 swa
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:
https
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: s
** 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:
https://bugs.la
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: ubuntu-core-config (Ubuntu)
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
@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
Bugs,
@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.
--
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 ab
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:
https://bugs.launchpad.ne
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:
https://bugs.launchpad.net/snap
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
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.
htt
** 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:
https://bugs.launchpad.net
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
*
17 matches
Mail list logo