Debian Bug report logs -
#939510
upower.service: Failed to set up user namespacing: Invalid argument
Reported by: Salvo Tomaselli <tiposchi@tiscali.it>
Date: Thu, 5 Sep 2019 17:51:02 UTC
Severity: important
Tags: patch
Merged with 939468
Found in version upower/0.99.11-1
Done: Elimar Riesebieter <riesebie@lxtec.de>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#939510; Package upower.
(Thu, 05 Sep 2019 17:51:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Salvo Tomaselli <tiposchi@tiscali.it>:
New Bug report received and forwarded. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>.
(Thu, 05 Sep 2019 17:51:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: upower
Version: 0.99.11-1
Severity: important
Tags: patch
Dear Maintainer,
upon reboot I could not access my graphical session because upowerd was failing
to be started by systemd.
And apparently without it running sddm only shows garbage on screen.
set 05 19:04:52 serenity systemd[1]: Stopped Daemon for power management.
set 05 19:04:52 serenity systemd[1]: Starting Daemon for power management...
set 05 19:04:52 serenity systemd[950]: upower.service: Failed to set up user namespacing: Invalid argument
set 05 19:04:52 serenity systemd[950]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: Invalid argument
set 05 19:04:52 serenity systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
set 05 19:04:52 serenity systemd[1]: upower.service: Failed with result 'exit-code'.
set 05 19:04:52 serenity systemd[1]: Failed to start Daemon for power management.
set 05 19:04:53 serenity systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
set 05 19:04:53 serenity systemd[1]: upower.service: Scheduled restart job, restart counter is at 2.
I have a long list of those.
Commenting the user namespace directive solves the issue for me.
Best
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.20.5 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages upower depends on:
ii dbus 1.12.16-1
ii libc6 2.28-10
ii libglib2.0-0 2.60.6-2
ii libgudev-1.0-0 232-2
ii libimobiledevice6 1.2.1~git20181030.92c5462-1
ii libplist3 2.0.1~git20190104.3f96731-1
ii libupower-glib3 0.99.11-1
ii libusb-1.0-0 2:1.0.23-1
ii udev 242-7
Versions of packages upower recommends:
ii policykit-1 0.105-26
upower suggests no packages.
-- no debconf information
[upower.service.patch (text/plain, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#939510; Package upower.
(Thu, 05 Sep 2019 18:54:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>.
(Thu, 05 Sep 2019 18:54:06 GMT) (full text, mbox, link).
Message #10 received at 939510@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: forcemerge -1 939468
Am 05.09.19 um 19:48 schrieb Salvo Tomaselli:
> Package: upower
> Version: 0.99.11-1
> Severity: important
> Tags: patch
>
> Dear Maintainer,
>
> upon reboot I could not access my graphical session because upowerd was failing
> to be started by systemd.
>
> And apparently without it running sddm only shows garbage on screen.
>
> set 05 19:04:52 serenity systemd[1]: Stopped Daemon for power management.
> set 05 19:04:52 serenity systemd[1]: Starting Daemon for power management...
> set 05 19:04:52 serenity systemd[950]: upower.service: Failed to set up user namespacing: Invalid argument
> set 05 19:04:52 serenity systemd[950]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: Invalid argument
> set 05 19:04:52 serenity systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
> set 05 19:04:52 serenity systemd[1]: upower.service: Failed with result 'exit-code'.
> set 05 19:04:52 serenity systemd[1]: Failed to start Daemon for power management.
> set 05 19:04:53 serenity systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
> set 05 19:04:53 serenity systemd[1]: upower.service: Scheduled restart job, restart counter is at 2.
>
> I have a long list of those.
>
> Commenting the user namespace directive solves the issue for me.
>
Duplicate of #939468
You are both using a custom kernel.
If I had to guess, I'd say that's the culprit.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
[signature.asc (application/pgp-signature, attachment)]
Merged 939468 939510
Request was from Michael Biebl <biebl@debian.org>
to 939510-submit@bugs.debian.org.
(Thu, 05 Sep 2019 18:54:07 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#939510; Package upower.
(Thu, 05 Sep 2019 19:21:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Elimar Riesebieter <riesebie@lxtec.de>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>.
(Thu, 05 Sep 2019 19:21:05 GMT) (full text, mbox, link).
Message #17 received at 939510@bugs.debian.org (full text, mbox, reply):
* Michael Biebl <biebl@debian.org> [2019-09-05 20:41 +0200]:
> Control: forcemerge -1 939468
>
> Am 05.09.19 um 19:48 schrieb Salvo Tomaselli:
> > Package: upower
> > Version: 0.99.11-1
> > Severity: important
> > Tags: patch
> >
> > Dear Maintainer,
> >
> > upon reboot I could not access my graphical session because upowerd was failing
> > to be started by systemd.
> >
> > And apparently without it running sddm only shows garbage on screen.
> >
> > set 05 19:04:52 serenity systemd[1]: Stopped Daemon for power management.
> > set 05 19:04:52 serenity systemd[1]: Starting Daemon for power management...
> > set 05 19:04:52 serenity systemd[950]: upower.service: Failed to set up user namespacing: Invalid argument
> > set 05 19:04:52 serenity systemd[950]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: Invalid argument
> > set 05 19:04:52 serenity systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
> > set 05 19:04:52 serenity systemd[1]: upower.service: Failed with result 'exit-code'.
> > set 05 19:04:52 serenity systemd[1]: Failed to start Daemon for power management.
> > set 05 19:04:53 serenity systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
> > set 05 19:04:53 serenity systemd[1]: upower.service: Scheduled restart job, restart counter is at 2.
> >
> > I have a long list of those.
> >
> > Commenting the user namespace directive solves the issue for me.
> >
>
>
> Duplicate of #939468
>
> You are both using a custom kernel.
> If I had to guess, I'd say that's the culprit.
0.99.10-1 runs fine, though. Which kernelconfig is necessary to run
0.99.11?
Elimar
--
Experience is something you don't get until
just after you need it!
Information forwarded
to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#939510; Package upower.
(Thu, 05 Sep 2019 19:39:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>.
(Thu, 05 Sep 2019 19:39:03 GMT) (full text, mbox, link).
Message #22 received at 939510@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Am 05.09.19 um 21:10 schrieb Elimar Riesebieter:
> * Michael Biebl <biebl@debian.org> [2019-09-05 20:41 +0200]:
>
>> Control: forcemerge -1 939468
>>
>> Am 05.09.19 um 19:48 schrieb Salvo Tomaselli:
>>> Package: upower
>>> Version: 0.99.11-1
>>> Severity: important
>>> Tags: patch
>>>
>>> Dear Maintainer,
>>>
>>> upon reboot I could not access my graphical session because upowerd was failing
>>> to be started by systemd.
>>>
>>> And apparently without it running sddm only shows garbage on screen.
>>>
>>> set 05 19:04:52 serenity systemd[1]: Stopped Daemon for power management.
>>> set 05 19:04:52 serenity systemd[1]: Starting Daemon for power management...
>>> set 05 19:04:52 serenity systemd[950]: upower.service: Failed to set up user namespacing: Invalid argument
>>> set 05 19:04:52 serenity systemd[950]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: Invalid argument
>>> set 05 19:04:52 serenity systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
>>> set 05 19:04:52 serenity systemd[1]: upower.service: Failed with result 'exit-code'.
>>> set 05 19:04:52 serenity systemd[1]: Failed to start Daemon for power management.
>>> set 05 19:04:53 serenity systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
>>> set 05 19:04:53 serenity systemd[1]: upower.service: Scheduled restart job, restart counter is at 2.
>>>
>>> I have a long list of those.
>>>
>>> Commenting the user namespace directive solves the issue for me.
>>>
>>
>>
>> Duplicate of #939468
>>
>> You are both using a custom kernel.
>> If I had to guess, I'd say that's the culprit.
>
> 0.99.10-1 runs fine, though. Which kernelconfig is necessary to run
> 0.99.11?
I'd start with what's documented in /usr/share/doc/systemd/README.gz
and if that is not sufficient, diff your config with the one from the
Debian kernel.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#939510; Package upower.
(Fri, 06 Sep 2019 11:21:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Elimar Riesebieter <riesebie@lxtec.de>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>.
(Fri, 06 Sep 2019 11:21:06 GMT) (full text, mbox, link).
Message #27 received at 939510@bugs.debian.org (full text, mbox, reply):
* Michael Biebl <biebl@debian.org> [2019-09-05 21:36 +0200]:
> Am 05.09.19 um 21:10 schrieb Elimar Riesebieter:
> > * Michael Biebl <biebl@debian.org> [2019-09-05 20:41 +0200]:
> >
> >> Control: forcemerge -1 939468
> >>
> >> Am 05.09.19 um 19:48 schrieb Salvo Tomaselli:
> >>> Package: upower
> >>> Version: 0.99.11-1
> >>> Severity: important
> >>> Tags: patch
> >>>
> >>> Dear Maintainer,
> >>>
> >>> upon reboot I could not access my graphical session because upowerd was failing
> >>> to be started by systemd.
> >>>
> >>> And apparently without it running sddm only shows garbage on screen.
> >>>
> >>> set 05 19:04:52 serenity systemd[1]: Stopped Daemon for power management.
> >>> set 05 19:04:52 serenity systemd[1]: Starting Daemon for power management...
> >>> set 05 19:04:52 serenity systemd[950]: upower.service: Failed to set up user namespacing: Invalid argument
> >>> set 05 19:04:52 serenity systemd[950]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: Invalid argument
> >>> set 05 19:04:52 serenity systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
> >>> set 05 19:04:52 serenity systemd[1]: upower.service: Failed with result 'exit-code'.
> >>> set 05 19:04:52 serenity systemd[1]: Failed to start Daemon for power management.
> >>> set 05 19:04:53 serenity systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
> >>> set 05 19:04:53 serenity systemd[1]: upower.service: Scheduled restart job, restart counter is at 2.
> >>>
> >>> I have a long list of those.
> >>>
> >>> Commenting the user namespace directive solves the issue for me.
> >>>
> >>
> >>
> >> Duplicate of #939468
> >>
> >> You are both using a custom kernel.
> >> If I had to guess, I'd say that's the culprit.
> >
> > 0.99.10-1 runs fine, though. Which kernelconfig is necessary to run
> > 0.99.11?
>
> I'd start with what's documented in /usr/share/doc/systemd/README.gz
> and if that is not sufficient, diff your config with the one from the
> Debian kernel.
CONFIG_USER_NS was not set. Thanks for the hint.
Elimar
--
The path to source is always uphill!
-unknown-
Information forwarded
to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#939510; Package upower.
(Thu, 12 Sep 2019 09:51:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Yves-Alexis Perez <corsac@corsac.net>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>.
(Thu, 12 Sep 2019 09:51:03 GMT) (full text, mbox, link).
Message #33 received at 939510@bugs.debian.org (full text, mbox, reply):
On Fri, 6 Sep 2019 13:13:01 +0200 Elimar Riesebieter <riesebie@lxtec.de>
wrote:
> * Michael Biebl <biebl@debian.org> [2019-09-05 21:36 +0200]:
>
> > Am 05.09.19 um 21:10 schrieb Elimar Riesebieter:
> > > * Michael Biebl <biebl@debian.org> [2019-09-05 20:41 +0200]:
> > >
> > >> Control: forcemerge -1 939468
> > >>
> > >> Am 05.09.19 um 19:48 schrieb Salvo Tomaselli:
> > >>> Package: upower
> > >>> Version: 0.99.11-1
> > >>> Severity: important
> > >>> Tags: patch
> > >>>
> > >>> Dear Maintainer,
> > >>>
> > >>> upon reboot I could not access my graphical session because upowerd
was failing
> > >>> to be started by systemd.
> > >>>
> > >>> And apparently without it running sddm only shows garbage on screen.
> > >>>
> > >>> set 05 19:04:52 serenity systemd[1]: Stopped Daemon for power
management.
> > >>> set 05 19:04:52 serenity systemd[1]: Starting Daemon for power
management...
> > >>> set 05 19:04:52 serenity systemd[950]: upower.service: Failed to set
up user namespacing: Invalid argument
> > >>> set 05 19:04:52 serenity systemd[950]: upower.service: Failed at step
USER spawning /usr/lib/upower/upowerd: Invalid argument
> > >>> set 05 19:04:52 serenity systemd[1]: upower.service: Main process
exited, code=exited, status=217/USER
> > >>> set 05 19:04:52 serenity systemd[1]: upower.service: Failed with
result 'exit-code'.
> > >>> set 05 19:04:52 serenity systemd[1]: Failed to start Daemon for power
management.
> > >>> set 05 19:04:53 serenity systemd[1]: upower.service: Service
RestartSec=100ms expired, scheduling restart.
> > >>> set 05 19:04:53 serenity systemd[1]: upower.service: Scheduled restart
job, restart counter is at 2.
> > >>>
> > >>> I have a long list of those.
> > >>>
> > >>> Commenting the user namespace directive solves the issue for me.
> > >>>
> > >>
> > >>
> > >> Duplicate of #939468
> > >>
> > >> You are both using a custom kernel.
> > >> If I had to guess, I'd say that's the culprit.
> > >
> > > 0.99.10-1 runs fine, though. Which kernelconfig is necessary to run
> > > 0.99.11?
> >
> > I'd start with what's documented in /usr/share/doc/systemd/README.gz
> > and if that is not sufficient, diff your config with the one from the
> > Debian kernel.
>
> CONFIG_USER_NS was not set. Thanks for the hint.
>
Hi Michael,
you might want to document that a bit, maybe in a NEWS.Debian. I have the same
issue here with a *Debian* kernel where user namespaces are disabled (with
sysctl user.max_user_namespaces = 0).
I'm definitely not a huge fan of user namespaces because of the attack surface
they enable, and I'm a bit surprised to see upower start using them in a point
release. I'll adjust the configuration but unfortunately that means enabling
them systemwide, not just for upower.
Regards,
--
Yves-Alexis
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 11 Oct 2019 07:24:55 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Tue Jul 16 02:17:57 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.