[Bug 1816404] Re: on_ac_power fails if the path contains a whitespace
Simon Quigley
tsimonq2 at ubuntu.com
Sat Apr 20 20:13:40 UTC 2019
- Previous message (by thread): [Bug 1825672] Re: W:Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/oneiric-security/main/source/Sources 404 Not Found [IP : 91.189.88.149 80] , W:Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/oneiric-security/restricted/source/Sources 404 Not Found [IP : 91.189.88.149 80] , W:Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/oneiric-security/universe/source/Sources 404 Not Found [IP : 91.189.88.149 80] , W:Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/source/Sources 404 Not Found [IP : 91.189.88.149 80] , W:Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/oneiric-security/main/binary-i386/Packages 404 Not Found [IP : 91.189.88.149 80] , W:Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/oneiric-security/restricted/binary-i386/Packages 404 Not Found [IP : 91.189.88.149 80] , W:Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/oneiric-security/universe/binary-i386/Packages 404 Not Found [IP : 91.189.88.149 80] , W:Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/binary-i386/Packages 404 Not Found [IP : 91.189.88.149 80] , W:Impossible de récupérer http://extras.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources 404 Not Found , W:Impossible de récupérer http://extras.ubuntu.com/ubuntu/dists/oneiric/main/binary-i386/Packages 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric/restricted/source/Sources 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric/universe/source/Sources 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/source/Sources 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric/main/binary-i386/Packages 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric/restricted/binary-i386/Packages 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric/universe/binary-i386/Packages 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/binary-i386/Packages 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/source/Sources 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/source/Sources 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/source/Sources 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/source/Sources 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/binary-i386/Packages 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/binary-i386/Packages 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/binary-i386/Packages 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/binary-i386/Packages 404 Not Found , E:Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
- Next message (by thread): [Bug 1816404] Re: on_ac_power fails if the path contains a whitespace
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Forwarded to Debian, to get their opinion on this.
Unsubscribing the Ubuntu Sponsors Team.
** Bug watch added: Debian Bug tracker #927668
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927668
** Also affects: powermgmt-base (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927668
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to powermgmt-base in Ubuntu.
https://bugs.launchpad.net/bugs/1816404
Title:
on_ac_power fails if the path contains a whitespace
Status in powermgmt-base package in Ubuntu:
Confirmed
Status in powermgmt-base package in Debian:
Unknown
Bug description:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
powermgmt-base: 1.33
on_ac_power fails if the path contains a whitespace, solution is
attached as patch.
before patch:
~# sh -x /usr/bin/on_ac_power; echo $?
+ set -e
+ OFF_LINE_P=no
+ [ -d /sys/class/power_supply/ ]
+ test -d /sys/class/power_supply/hid-S!N:A7E462F2A0494518B37F374DE00488AA Rev:PAACFS00-002-R003-battery
+ test -r /sys/class/power_supply/hid-S!N:A7E462F2A0494518B37F374DE00488AA Rev:PAACFS00-002-R003-battery/type
+ cat /sys/class/power_supply/hid-S!N:A7E462F2A0494518B37F374DE00488AA Rev:PAACFS00-002-R003-battery/type
cat: '/sys/class/power_supply/hid-S!N:A7E462F2A0494518B37F374DE00488AA': No such file or directory
cat: 'Rev:PAACFS00-002-R003-battery/type': No such file or directory
+ type=
1
after patch:
~# sh -x /usr/bin/on_ac_power; echo $?
+ set -e
+ OFF_LINE_P=no
+ [ -d /sys/class/power_supply/ ]
+ test -d /sys/class/power_supply/hid-S!N:A7E462F2A0494518B37F374DE00488AA Rev:PAACFS00-002-R003-battery
+ test -r /sys/class/power_supply/hid-S!N:A7E462F2A0494518B37F374DE00488AA Rev:PAACFS00-002-R003-battery/type
+ cat /sys/class/power_supply/hid-S!N:A7E462F2A0494518B37F374DE00488AA Rev:PAACFS00-002-R003-battery/type
+ type=Battery
+ [ no = yes ]
+ [ -d /proc/acpi/ac_adapter ]
+ [ -r /proc/pmu/info ]
+ [ -r /proc/apm ]
+ exit 255
255
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powermgmt-base/+bug/1816404/+subscriptions
- Previous message (by thread): [Bug 1825672] Re: W:Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/oneiric-security/main/source/Sources 404 Not Found [IP : 91.189.88.149 80] , W:Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/oneiric-security/restricted/source/Sources 404 Not Found [IP : 91.189.88.149 80] , W:Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/oneiric-security/universe/source/Sources 404 Not Found [IP : 91.189.88.149 80] , W:Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/source/Sources 404 Not Found [IP : 91.189.88.149 80] , W:Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/oneiric-security/main/binary-i386/Packages 404 Not Found [IP : 91.189.88.149 80] , W:Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/oneiric-security/restricted/binary-i386/Packages 404 Not Found [IP : 91.189.88.149 80] , W:Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/oneiric-security/universe/binary-i386/Packages 404 Not Found [IP : 91.189.88.149 80] , W:Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/binary-i386/Packages 404 Not Found [IP : 91.189.88.149 80] , W:Impossible de récupérer http://extras.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources 404 Not Found , W:Impossible de récupérer http://extras.ubuntu.com/ubuntu/dists/oneiric/main/binary-i386/Packages 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric/restricted/source/Sources 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric/universe/source/Sources 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/source/Sources 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric/main/binary-i386/Packages 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric/restricted/binary-i386/Packages 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric/universe/binary-i386/Packages 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/binary-i386/Packages 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/source/Sources 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/source/Sources 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/source/Sources 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/source/Sources 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/binary-i386/Packages 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/binary-i386/Packages 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/binary-i386/Packages 404 Not Found , W:Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/binary-i386/Packages 404 Not Found , E:Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
- Next message (by thread): [Bug 1816404] Re: on_ac_power fails if the path contains a whitespace
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the foundations-bugs
mailing list