[Pkg-utopia-maintainers] Bug#940933: upower.service fails to start; apparmor, hardening-runtime, or torbrowser conflict?

ithink314 ithink314 at gmail.com
Sun Sep 22 06:02:25 BST 2019


Package: upower
Version: 0.99.11-1
Severity: normal

Dear Maintainer,


   * What led up to the situation?
Relatively fresh install of Debian 10.1, upgraded to sid.
Installed apparmor profiles, and hardening-runtime 5+ hours later.
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Installed hardening-runtime on a different hardware, 386, with delay
of ~20 hours after installing apparmor-profiles.
   * What was the outcome of this action?
Saw upower entries in syslog start showing errors after hardening-runtime
was installed. (see logs copied at end)
Screensaver logins (a previous bug report) work OK since this.
   * What outcome did you expect instead?
upower (and screensaver) works without errors.

NOTE: apparmor is mentioned because a log entry mentioned torbrowser,
which had issues on the 386 related to apparmor:

Sep 21 15:11:26 machine dbus-daemon[565]: [system] Activating via systemd: 
service name='org.freedesktop.UPower' unit='upower.service' 
requested by ':1.179' (uid=1000 pid=1111 comm="./firefox.real --class Tor Browser -profile TorBro")



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages upower depends on:
ii  dbus               1.12.16-1
ii  libc6              2.29-1
ii  libglib2.0-0       2.60.6-2
ii  libgudev-1.0-0     233-1
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

syslog.6.gz:Sep 15 05:49:38 machine dbus-daemon[476]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.43' (uid=1000 pid=798 comm="xfsettingsd ")
syslog.6.gz:Sep 15 05:49:39 machine dbus-daemon[476]: [system] Successfully activated service 'org.freedesktop.UPower'
syslog.6.gz:Sep 15 13:12:15 machine systemd[1]: upower.service: Main process exited, code=killed, status=15/TERM
syslog.6.gz:Sep 15 13:12:15 machine systemd[1]: upower.service: Succeeded.
syslog.6.gz:Sep 15 14:09:47 machine systemd[1]: upower.service: Main process exited, code=killed, status=15/TERM
syslog.6.gz:Sep 15 14:09:47 machine systemd[1]: upower.service: Succeeded.
syslog.6.gz:Sep 15 14:11:09 machine dbus-daemon[525]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.90' (uid=1000 pid=822 comm="xfsettingsd ")
syslog.6.gz:Sep 15 14:11:10 machine dbus-daemon[525]: [system] Successfully activated service 'org.freedesktop.UPower'
syslog.6.gz:Sep 15 15:19:06 machine dbus-daemon[527]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.91' (uid=1000 pid=829 comm="xfsettingsd ")
syslog.6.gz:Sep 15 15:19:07 machine dbus-daemon[527]: [system] Successfully activated service 'org.freedesktop.UPower'
syslog.6.gz:Sep 16 19:06:27 machine systemd[1]: upower.service: Main process exited, code=killed, status=15/TERM
syslog.6.gz:Sep 16 19:06:27 machine systemd[1]: upower.service: Succeeded.
syslog.6.gz:Sep 16 19:07:07 machine dbus-daemon[527]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.2677' (uid=1000 pid=9619 comm="xfsettingsd ")
syslog.6.gz:Sep 16 19:07:09 machine dbus-daemon[527]: [system] Successfully activated service 'org.freedesktop.UPower'
syslog.6.gz:Sep 16 19:07:27 machine systemd[1]: upower.service: Main process exited, code=killed, status=15/TERM
syslog.6.gz:Sep 16 19:07:27 machine systemd[1]: upower.service: Succeeded.
syslog.6.gz:Sep 16 19:09:09 machine dbus-daemon[571]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.90' (uid=1000 pid=874 comm="xfsettingsd --display :0.0 --sm-client-id 2bb50908")
syslog.6.gz:Sep 16 19:09:11 machine dbus-daemon[571]: [system] Successfully activated service 'org.freedesktop.UPower'


Start-Date: 2019-09-21  07:16:12
Commandline: apt-get install apparmor-easyprof apparmor-notify apparmor-profiles apparmor-profiles-extra apparmor-utils
Install: python3-libapparmor:amd64 (2.13.3-5, automatic), apparmor-notify:amd64 (2.13.3-5), apparmor-profiles:amd64 (2.13.3-5), apparmor-easyprof:amd64 (2.13.3-5), libapparmor-perl:amd64 (2.13.3-5, automatic), apparmor-profiles-extra:amd64 (1.27), python3-apparmor:amd64 (2.13.3-5, automatic), apparmor-utils:amd64 (2.13.3-5)
End-Date: 2019-09-21  07:16:27

Start-Date: 2019-09-21  11:20:55
Commandline: apt-get install apt-transport-tor
Install: apt-transport-tor:amd64 (0.4)
End-Date: 2019-09-21  11:20:57

Start-Date: 2019-09-21  12:49:59
Commandline: apt-get install hardening-runtime
Install: hardening-runtime:amd64 (2)
End-Date: 2019-09-21  12:50:11


Sep 21 12:52:17 machine dbus-daemon[568]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.90' (uid=1000 pid=856 comm="xfsettingsd --display :0.0 --sm-client-id 2bb50908")
Sep 21 12:52:17 machine systemd[863]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 12:52:17 machine systemd[863]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device
Sep 21 12:52:17 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
Sep 21 12:52:17 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 12:52:17 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 12:52:17 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 1.
Sep 21 12:52:17 machine systemd[872]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 12:52:17 machine systemd[872]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device

  ...snip...

Sep 21 12:52:18 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
Sep 21 12:52:18 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 12:52:18 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 12:52:18 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 5.
Sep 21 12:52:18 machine systemd[1]: upower.service: Start request repeated too quickly.
Sep 21 12:52:18 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 12:52:42 machine dbus-daemon[568]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.96' (uid=1000 pid=930 comm="xfce4-power-manager --restart --sm-client-id 2c1ce")
Sep 21 12:52:42 machine systemd[1019]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 12:52:42 machine systemd[1019]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device
Sep 21 12:52:42 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
Sep 21 12:52:42 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 12:52:42 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 12:52:42 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 1.
Sep 21 12:52:42 machine systemd[1023]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 12:52:42 machine systemd[1023]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device

...snip...

Sep 21 12:52:43 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
Sep 21 12:52:43 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 12:52:43 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 12:52:43 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 5.
Sep 21 12:52:43 machine systemd[1]: upower.service: Start request repeated too quickly.
Sep 21 12:52:43 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 14:18:43 machine dbus-daemon[564]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.90' (uid=1000 pid=855 comm="xfsettingsd --display :0.0 --sm-client-id 2bb50908")
Sep 21 14:18:43 machine systemd[860]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 14:18:43 machine systemd[860]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device
Sep 21 14:18:43 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
Sep 21 14:18:43 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 14:18:43 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 14:18:43 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 1.
Sep 21 14:18:43 machine systemd[871]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 14:18:43 machine systemd[871]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device

...snip...

Sep 21 14:18:44 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
Sep 21 14:18:44 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 14:18:44 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 14:18:44 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 5.
Sep 21 14:18:44 machine systemd[1]: upower.service: Start request repeated too quickly.
Sep 21 14:18:44 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 14:19:08 machine dbus-daemon[564]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.95' (uid=1000 pid=929 comm="xfce4-power-manager --restart --sm-client-id 2c1ce")
Sep 21 14:19:08 machine systemd[1014]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 14:19:08 machine systemd[1014]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device
Sep 21 14:19:08 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
Sep 21 14:19:08 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 14:19:08 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 14:19:08 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 1.
Sep 21 14:19:08 machine systemd[1018]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 14:19:08 machine systemd[1018]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device
Sep 21 14:19:08 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER

...snip...

Sep 21 14:49:18 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 14:49:18 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 14:49:18 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 5.
Sep 21 14:49:18 machine systemd[1]: upower.service: Start request repeated too quickly.
Sep 21 14:49:18 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 14:49:42 machine dbus-daemon[565]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.96' (uid=1000 pid=929 comm="xfce4-power-manager --restart --sm-client-id 2c1ce")
Sep 21 14:49:42 machine systemd[1017]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 14:49:42 machine systemd[1017]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device
Sep 21 14:49:42 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
Sep 21 14:49:42 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 14:49:42 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 14:49:42 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 1.
Sep 21 14:49:42 machine systemd[1021]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 14:49:42 machine systemd[1021]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device
Sep 21 14:49:42 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
Sep 21 14:49:42 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 14:49:43 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 14:49:43 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 2.

...snip...

Sep 21 14:59:08 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 4.
Sep 21 14:59:08 machine systemd[1342]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 14:59:08 machine systemd[1342]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device
Sep 21 14:59:08 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
Sep 21 14:59:08 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 14:59:09 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 14:59:09 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 5.
Sep 21 14:59:09 machine systemd[1]: upower.service: Start request repeated too quickly.
Sep 21 14:59:09 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 15:03:10 machine dbus-daemon[565]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.177' (uid=1000 pid=1415 comm="upower -d ")
Sep 21 15:03:10 machine systemd[1418]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 15:03:10 machine systemd[1418]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device
Sep 21 15:03:10 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
Sep 21 15:03:10 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 15:03:10 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 15:03:10 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 1.

...snip....

Sep 21 15:03:11 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 4.
Sep 21 15:03:11 machine systemd[1435]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 15:03:11 machine systemd[1435]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device
Sep 21 15:03:11 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
Sep 21 15:03:11 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 15:03:11 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 15:03:11 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 5.
Sep 21 15:03:11 machine systemd[1]: upower.service: Start request repeated too quickly.
Sep 21 15:03:11 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 15:06:01 machine systemd[1477]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 15:06:01 machine systemd[1477]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device
Sep 21 15:06:01 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
Sep 21 15:06:01 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 15:06:01 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.

...snip...

Sep 21 15:06:02 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 15:06:02 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 15:06:02 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 4.
Sep 21 15:06:02 machine systemd[1494]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 15:06:02 machine systemd[1494]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device
Sep 21 15:06:02 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
Sep 21 15:06:02 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 15:06:02 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 15:06:02 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 5.
Sep 21 15:06:02 machine systemd[1]: upower.service: Start request repeated too quickly.
Sep 21 15:06:02 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 15:11:26 machine dbus-daemon[565]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.179' (uid=1000 pid=1111 comm="./firefox.real --class Tor Browser -profile TorBro")
Sep 21 15:11:26 machine systemd[1525]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 15:11:26 machine systemd[1525]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device
Sep 21 15:11:26 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
Sep 21 15:11:26 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 15:11:26 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 15:11:26 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 1.
Sep 21 15:11:26 machine systemd[1531]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 15:11:26 machine systemd[1531]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device

...snip....

Sep 21 15:11:27 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 4.
Sep 21 15:11:27 machine systemd[1545]: upower.service: Failed to set up user namespacing: No space left on device
Sep 21 15:11:27 machine systemd[1545]: upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: No space left on device
Sep 21 15:11:27 machine systemd[1]: upower.service: Main process exited, code=exited, status=217/USER
Sep 21 15:11:27 machine systemd[1]: upower.service: Failed with result 'exit-code'.
Sep 21 15:11:27 machine systemd[1]: upower.service: Service RestartSec=100ms expired, scheduling restart.
Sep 21 15:11:27 machine systemd[1]: upower.service: Scheduled restart job, restart counter is at 5.
Sep 21 15:11:27 machine systemd[1]: upower.service: Start request repeated too quickly.
Sep 21 15:11:27 machine systemd[1]: upower.service: Failed with result 'exit-code'.



More information about the Pkg-utopia-maintainers mailing list