[Bug 2055434] Re: [MIR] pemmican

Dave Jones 2055434 at bugs.launchpad.net
Mon Apr 8 10:01:07 UTC 2024


Team subscription added

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pemmican in Ubuntu.
Matching subscriptions: pemmican-bugs
https://bugs.launchpad.net/bugs/2055434

Title:
  [MIR] pemmican

Status in pemmican package in Ubuntu:
  Fix Committed

Bug description:
  [ Availability ]

  The package is already available in universe.

  [ Rationale ]

  The intent is to seed the package in the Ubuntu Server & Desktop for
  Raspberry Pi images. The purpose of the package is to warn about sub-
  standard or deficient power supplies on the Raspberry Pi 5 boards.

  [ Security ]

  The are no current CVEs for the project, but it is extremely new so
  this is no surprise. Canonical is the upstream for the project.

  There are no binaries in /sbin or /usr/sbin. The pemmican-server
  package installs an MOTD plugin (one-shot run on user login). The
  pemmican-desktop package installs two user (not system) services;
  pemmican-reset is a one-shot service equivalent to the MOTD plugin;
  pemmican-monitor is a simple-type service that monitors for
  overcurrent/undervolt events from udev, dispatching notifications via
  DBus.

  The package opens no listening ports, and has no externally accessible
  end-points.

  [ Quality Assurance ]

  The package works well right after install. There are no currently
  outstanding bugs for the package in Launchpad (again, it's new). The
  project contains a full coverage test suite, that is run during
  package build, and includes a DEP-8 test which also runs the test
  suite.

  The package includes a functioning d/watch file. Lintian overrides are
  not present, and lintian output is clean. The package relies on no
  demoted or obsolete packages, and has no python2 or GTK2 dependencies.
  The package will be installed by default on pre-installed Pi images,
  but does not use debconf.

  The packaging is fairly basic:
  https://git.launchpad.net/ubuntu/+source/pemmican/tree/debian/rules

  [ UI Standards ]

  The user interface is fairly minimal. On server images, it operates as
  an MOTD plugin, outputting a few lines of text in the event of reset
  due to brownout, or power supplies that fail to negotiate a 5A feed.
  On desktop images, it provides notifications by way of the DBus-based
  notification service (which appear as notifications at the top-center
  of the GNOME desktop).

  All text output by the application is localizable (via the standard
  gettext system), although no translations currently exist in the
  package. No desktop file is shipped because the application runs as a
  user-level systemd service on login.

  [ Dependencies ]

  All runtime dependencies of the project are in main.

  [ Standards Compliance ]

  The package follows up to date Debian policy (4.6.2) and debhelper
  compatibility (13). The packaging format is 3.0 quilt, and in most
  other respects the packaging is very simple.

  [ Maintenance / Owner ]

  The package will be maintained by the foundations team. The team is
  not yet subscribed to package bugs, but will be before promotion (as
  the upstream author, and a foundations team member, I'm currently
  subscribed to bugs, but I acknowledge the wider team will require a
  subscription).

  The package does not use static builds, nor vendored code. The package
  is not rust based.

  [ Background Information ]

  The project mirrors capabilities present in RaspiOS to notify the user
  of undervolt or overcurrent situations, resets caused by brownout, and
  power supplies that fail to negotiate the 5A that the Pi 5 requires
  for "full" operation (including USB/NVMe boot, and full provision of
  power to the USB ports). Unfortunately the RaspiOS implementation is
  tied to the wayfire panel in use on their desktop, so we could not
  directly re-use it.

  However, the logic involved is simple (check device-tree nodes on
  boot, monitor certain udev events), so this project re-implements it
  using the MOTD and DBus notification mechanisms instead (which should
  also operate reliably on all flavours of Ubuntu).

  Relevant links:

  * https://github.com/waveform80/pemmican (source code)
  * https://pemmican.readthedocs.io/ (docs)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pemmican/+bug/2055434/+subscriptions




More information about the foundations-bugs mailing list