[Bug 1776465] Re: Importing parted causes Permission denied errors on stderr on cosmic

Colin Watson 1776465 at bugs.launchpad.net
Mon Jun 26 22:44:23 UTC 2023


This was a parted bug, fixed there some time ago:

parted (3.3-4) unstable; urgency=medium

  * gptsync.patch: Silence stderr output from dmidecode, since only stdout
    is considered anyway (fixes
    https://github.com/martijnvanbrummelen/nwipe/issues/111; thanks, louib).

 -- Colin Watson <cjwatson at debian.org>  Sat, 08 Feb 2020 09:56:05 +0000

** Bug watch added: github.com/martijnvanbrummelen/nwipe/issues #111
   https://github.com/martijnvanbrummelen/nwipe/issues/111

** Package changed: pyparted (Ubuntu) => parted (Ubuntu)

** Changed in: parted (Ubuntu)
       Status: New => Fix Released

** Changed in: parted (Ubuntu)
     Assignee: (unassigned) => Colin Watson (cjwatson)

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

Title:
  Importing parted causes Permission denied errors on stderr on cosmic

Status in parted package in Ubuntu:
  Fix Released

Bug description:
  On cosmic amd64 or i386, as seen in autopkgtest environments,
  executing `python3 -c "import parted"` as a non-privileged user causes
  printing out the following two errors to stderr:

  /sys/firmware/dmi/tables/smbios_entry_point: Permission denied
  /dev/mem: Permission denied

  I have not yet checked if this actually causes any real side-effects,
  but it does cause some autopkgtest failures due to ADT considering
  stderr output an error.

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




More information about the foundations-bugs mailing list