The issue is on my workstation which might have all kind of config history.
On a fresh focal system it looks like "default off, start works"

root@f:~# systemctl status rtkit-daemon
● rtkit-daemon.service - RealtimeKit Scheduling Policy Service
     Loaded: loaded (/lib/systemd/system/rtkit-daemon.service; disabled; vendor 
preset: enabled)
     Active: inactive (dead)

root@f:~# systemctl start rtkit-daemon.service
root@f:~# systemctl status rtkit-daemon
● rtkit-daemon.service - RealtimeKit Scheduling Policy Service
     Loaded: loaded (/lib/systemd/system/rtkit-daemon.service; disabled; vendor 
preset: enabled)
     Active: active (running) since Wed 2020-04-08 06:12:27 UTC; 1s ago
   Main PID: 76699 (rtkit-daemon)
      Tasks: 3 (limit: 38284)
     Memory: 684.0K
     CGroup: /system.slice/rtkit-daemon.service
             └─76699 /usr/libexec/rtkit-daemon

Apr 08 06:12:27 f systemd[1]: Starting RealtimeKit Scheduling Policy Service...
Apr 08 06:12:27 f systemd[1]: Started RealtimeKit Scheduling Policy Service.
Apr 08 06:12:27 f rtkit-daemon[76699]: Successfully called chroot.
Apr 08 06:12:27 f rtkit-daemon[76699]: Successfully dropped privileges.
Apr 08 06:12:27 f rtkit-daemon[76699]: Successfully limited resources.
Apr 08 06:12:27 f rtkit-daemon[76699]: Running.
Apr 08 06:12:27 f rtkit-daemon[76699]: Canary thread running.
Apr 08 06:12:27 f rtkit-daemon[76699]: Watchdog thread running.

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

Title:
  rtkit fails to start in focal "pthread_create failed: Resource
  temporarily unavailable"

Status in rtkit package in Ubuntu:
  New

Bug description:
  I was debugging something else and found rtkit broken on my system.

  Apr 08 06:09:22 Keschdeichel rtkit-daemon[1726502]: Successfully called 
chroot.
  Apr 08 06:09:22 Keschdeichel rtkit-daemon[1726502]: Successfully dropped 
privileges.
  Apr 08 06:09:22 Keschdeichel rtkit-daemon[1726502]: Successfully limited 
resources.
  Apr 08 06:09:22 Keschdeichel rtkit-daemon[1726502]: pthread_create failed: 
Resource temporarily unavailable
  Apr 08 06:09:22 Keschdeichel rtkit-daemon[1726502]: Canary thread running.
  Apr 08 06:09:22 Keschdeichel rtkit-daemon[1726502]: Exiting canary thread.
  Apr 08 06:09:22 Keschdeichel rtkit-daemon[1726502]: Demoting known real-time 
threads.
  Apr 08 06:09:22 Keschdeichel rtkit-daemon[1726502]: Demoted 0 threads

  That state is reproducible through restarts.
  I haven't looked any further yet.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: rtkit 0.12-4
  ProcVersionSignature: Ubuntu 5.3.0-45.37~18.04.1-generic 5.3.18
  Uname: Linux 5.3.0-45-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu24
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Apr  8 07:59:58 2020
  InstallationDate: Installed on 2018-10-12 (543 days ago)
  InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 
(20180725)
  SourcePackage: rtkit
  UpgradeStatus: Upgraded to focal on 2020-04-03 (4 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtkit/+bug/1871543/+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

Reply via email to