[Touch-packages] [Bug 1763584] Re: ureadahead service fails with error Error while tracing: No such file or directory

2024-01-06 Thread Max Gaukler
The ureadahead package is no longer available on Ubuntu 20 or 22.
Just uninstall it:
sudo apt-get -qy remove ureadahead

On a standard release upgrade, it should be removed automatically;
however I have experienced one case where it was not removed for
whatever reason.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ureadahead in Ubuntu.
https://bugs.launchpad.net/bugs/1763584

Title:
  ureadahead service fails with error Error while tracing: No such file
  or directory

Status in ureadahead package in Ubuntu:
  Confirmed

Bug description:
  I'm reporting this as duplicate of #1176536 to provide more info.

  dmig@dmig-Inspiron-5379:~$ systemctl status ureadahead.service 
  ● ureadahead.service - Read required files in advance
 Loaded: loaded (/lib/systemd/system/ureadahead.service; enabled; vendor 
preset: enabled)
 Active: failed (Result: exit-code) since Fri 2018-04-13 13:09:41 +07; 
10min ago
   Main PID: 379 (code=exited, status=5)

  Apr 13 13:09:41 dmig-Inspiron-5379 ureadahead[379]: ureadahead: Error while 
tracing: No such file or directory
  Apr 13 13:09:41 dmig-Inspiron-5379 ureadahead[379]: Counted 8 CPUs

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: ureadahead 0.100.0-20
  Uname: Linux 4.16.2-041602-generic x86_64
  ApportVersion: 2.20.9-0ubuntu4
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Apr 13 13:13:26 2018
  InstallationDate: Installed on 2018-03-27 (16 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180327)
  SourcePackage: ureadahead
  UpgradeStatus: No upgrade log present (probably fresh install)

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1973359] Re: on_ac_power says false, but real answer is true

2023-05-22 Thread Max Gaukler
*** This bug is a duplicate of bug 1980991 ***
https://bugs.launchpad.net/bugs/1980991

Closing as duplicate of
https://bugs.launchpad.net/ubuntu/+source/powermgmt-base/+bug/1980991
which is slightly newer but contains further discussion and even a
suggested fix.

** This bug has been marked a duplicate of bug 1980991
   /usr/sbin/on_ac_power incorrectly reporting ac power status

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to powermgmt-base in Ubuntu.
https://bugs.launchpad.net/bugs/1973359

Title:
  on_ac_power says false, but real answer is true

Status in powermgmt-base package in Ubuntu:
  Confirmed

Bug description:
  On a Dell 7000 Micro (Intel 12700T), plugged into mains power,
  on_ac_power reports false.

  As the micro computer is plugged into mains power, I had expected it
  instead to report true.

  /sys/class/power_supply$ ls
  ucsi-source-psy-USBC000:001

  /sys/class/power_supply/ucsi-source-psy-USBC000:001$ cat type
  USB

  /sys/class/power_supply/ucsi-source-psy-USBC000:001$ cat online
  0

  The initial logic in /usr/bin/on_ac_power goes:
  if [ -d /sys/class/power_supply/ ]; then
  for FN in /sys/class/power_supply/*; do
  if test -d "${FN}" && test -r "${FN}/type"; then
  type="$(cat "${FN}/type")"
  case "${type}" in
  Mains|USB*|BrickID|Wireless)
  if [ -r "${FN}/online" ]; then
  online="$(cat "${FN}/online")"
  [ "$online" = 1 ] && exit 0
  [ "$online" = 0 ] && OFF_LINE_P=yes
  fi;;
  esac
  fi
  done
  [ "${OFF_LINE_P}" = "yes" ] && exit 1
  fi

  Due the adapter being of type USB and the online status being 0,
  OFF_LINE_P is set to "yes" and the script exits with status code 1.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: powermgmt-base 1.36
  Uname: Linux 5.17.0-051700-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  Date: Fri May 13 11:50:59 2022
  Dependencies:
   
  InstallationDate: Installed on 2022-04-22 (21 days ago)
  InstallationMedia: Ubuntu-Server 22.04 LTS "Jammy Jellyfish" - Release amd64 
(20220421)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: powermgmt-base
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powermgmt-base/+bug/1973359/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp