[Bug 1981109] Re: server image pulls in ModemManager via fwupd, consumes 25MiB RAM in every container
Steve Langasek
1981109 at bugs.launchpad.net
Mon Jul 25 20:02:52 UTC 2022
fwupd it happens pulls in not only ModemManager but also udisks2, so
there are two daemons running in every container as a result of fwupd's
presence.
Having discussed with the CPC team, it doesn't make sense to include
fwupd in any cloud or container images, unless there's a particular
partner image that's used on baremetal and exposes devices for firmware
updates.
So since fwupd is only a recommends of ubuntu-server, we can and should
just remove this package during the image build.
Leaving the ubuntu-meta task open because we probably do want to
refactor the seeds so that such removals are not necessary during the
image build.
** Also affects: livecd-rootfs (Ubuntu)
Importance: Undecided
Status: New
** Changed in: livecd-rootfs (Ubuntu)
Importance: Undecided => High
** Changed in: livecd-rootfs (Ubuntu)
Status: New => Triaged
--
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/1981109
Title:
server image pulls in ModemManager via fwupd, consumes 25MiB RAM in
every container
Status in fwupd package in Ubuntu:
Invalid
Status in livecd-rootfs package in Ubuntu:
Triaged
Status in modemmanager package in Ubuntu:
Triaged
Status in ubuntu-meta package in Ubuntu:
New
Bug description:
Looking at memory utilization in a pristine Ubuntu lxd container (top
-o RES), I see that ModemManager is running, which I was surprised to
see is present at all in the stock image.
Tracking this I find that fwupd depends on libmm-glib0, which in turn
Recommends: modemmanager.
Libraries in general should not recommend daemons, so it's possible
this should be fixed by libmm-glib0 dropping this Recommends. It
certainly doesn't seem to be a deliberate decision by the Server Team
to have modemmanager installed and running by default on all systems.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1981109/+subscriptions
More information about the foundations-bugs
mailing list