Public bug reported:
As reported in
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1617232/comments/2,
console-conf uses around 25MB of memory on an arm64 system, which is
excessive for an idle process on an embedded device. And console-conf
will be idle on a significant number of such systems, since some device
manufacturers will not pre-configure an account and the vast majority of
these devices will never have the end user log in on console to take
ownership.
To avoid this gratuitous memory usage, I suggest we change the systemd
unit to wrap the console-conf python program in a simple shell script
prompting the user to hit enter.
Strawman implementation to get us started - wording to be confirmed on
snapcraft list:
#!/bin/sh
set -e
echo -n 'Press enter to configure: '
read
exec console-conf "$@"
** Affects: snappy
Importance: Undecided
Status: New
** Affects: subiquity (Ubuntu)
Importance: High
Assignee: Michael Hudson-Doyle (mwhudson)
Status: Triaged
** Also affects: subiquity (Ubuntu)
Importance: Undecided
Status: New
** Changed in: subiquity (Ubuntu)
Assignee: (unassigned) => Michael Hudson-Doyle (mwhudson)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1618239
Title:
console-conf uses 20+MB memory at rest on embedded systems
To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1618239/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs