[Bug 1627190] [NEW] livecd-rootfs: .pyc files stripped from desktop ISO livefs, makes python startup slower
Steve Langasek
steve.langasek at canonical.com
Fri Sep 23 20:55:11 UTC 2016
Public bug reported:
It seems we've had code in livecd-rootfs for roughly forever to strip
.pyc files out of the squashfs included on desktop images. There is an
override to skip this for server and cloud images, but we discovered
this recently because the missing .pyc files on ubuntu-core images
causes very long start-up times for python apps on some armhf systems.
So the question is, is this still a sensible optimization on Ubuntu
Desktop images? It was done at a time when space was tight; that's much
less of a concern now than it was.
If this does still make sense for Desktop, we should probably at least
invert the logic to make this opt-in rather than opt-out so that new
image types on ARM don't get caught out with the problem.
** Affects: livecd-rootfs (Ubuntu)
Importance: Undecided
Assignee: Canonical Desktop Team (canonical-desktop-team)
Status: New
** Changed in: livecd-rootfs (Ubuntu)
Assignee: (unassigned) => Canonical Desktop Team (canonical-desktop-team)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1627190
Title:
livecd-rootfs: .pyc files stripped from desktop ISO livefs, makes
python startup slower
Status in livecd-rootfs package in Ubuntu:
New
Bug description:
It seems we've had code in livecd-rootfs for roughly forever to strip
.pyc files out of the squashfs included on desktop images. There is
an override to skip this for server and cloud images, but we
discovered this recently because the missing .pyc files on ubuntu-core
images causes very long start-up times for python apps on some armhf
systems.
So the question is, is this still a sensible optimization on Ubuntu
Desktop images? It was done at a time when space was tight; that's
much less of a concern now than it was.
If this does still make sense for Desktop, we should probably at least
invert the logic to make this opt-in rather than opt-out so that new
image types on ARM don't get caught out with the problem.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1627190/+subscriptions
More information about the foundations-bugs
mailing list