Ansicht umschalten
Avatar von bash rules
  • bash rules

mehr als 1000 Beiträge seit 25.08.2000

Failed to create secure directory (/nonexistent/.config/pulse): No such file

Hallo Freunde moderner Linux Systeme

Das hier ist Debian seit der ersten Version mit systemd (9, 11 und jetzt 12)

Xfce. Immer mal wieder bringt mich der Screensaver zum lightdm Login Dialog. Nach Eingabe meiner Credentials sehe ich ich jedes mal dieses Pulseaudio Fehler:

Mar 04 07:35:30 g510 su[2402126]: (to nobody) root on none Mar 04 07:35:30 g510 su[2402126]: pam_unix(su:session): session opened for user nobody(uid=65534) by (uid=0) Mar 04 07:35:30 g510 systemd[1]: Created slice user-65534.slice - User Slice of UID 65534. Mar 04 07:35:30 g510 systemd[1]: Starting user-runtime-dir@65534.service - User Runtime Directory /run/user/65534... Mar 04 07:35:30 g510 systemd[1]: Finished user-runtime-dir@65534.service - User Runtime Directory /run/user/65534. Mar 04 07:35:30 g510 systemd[1]: Starting user@65534.service - User Manager for UID 65534... Mar 04 07:35:30 g510 systemd[2402175]: pam_unix(systemd-user:session): session opened for user nobody(uid=65534) by (uid=0) Mar 04 07:35:32 g510 systemd[2402175]: Queued start job for default target default.target. Mar 04 07:35:32 g510 systemd[2402175]: Created slice app.slice - User Application Slice. Mar 04 07:35:32 g510 systemd[2402175]: Created slice session.slice - User Core Session Slice. Mar 04 07:35:32 g510 systemd[2402175]: Reached target paths.target - Paths. Mar 04 07:35:32 g510 systemd[2402175]: Reached target timers.target - Timers. Mar 04 07:35:32 g510 systemd[2402175]: Starting dbus.socket - D-Bus User Message Bus Socket... Mar 04 07:35:32 g510 systemd[2402175]: Listening on dirmngr.socket - GnuPG network certificate management daemon. Mar 04 07:35:32 g510 systemd[2402175]: Listening on gcr-ssh-agent.socket - GCR ssh-agent wrapper. Mar 04 07:35:32 g510 systemd[2402175]: Listening on gpg-agent-browser.socket - GnuPG cryptographic agent and passphrase cache (access for web browsers). Mar 04 07:35:32 g510 systemd[2402175]: Listening on gpg-agent-extra.socket - GnuPG cryptographic agent and passphrase cache (restricted). Mar 04 07:35:32 g510 systemd[2402175]: Listening on gpg-agent-ssh.socket - GnuPG cryptographic agent (ssh-agent emulation). Mar 04 07:35:32 g510 systemd[2402175]: Listening on gpg-agent.socket - GnuPG cryptographic agent and passphrase cache. Mar 04 07:35:32 g510 systemd[2402175]: Listening on pulseaudio.socket - Sound System. Mar 04 07:35:32 g510 systemd[2402175]: Listening on dbus.socket - D-Bus User Message Bus Socket. Mar 04 07:35:32 g510 systemd[2402175]: Reached target sockets.target - Sockets. Mar 04 07:35:32 g510 systemd[2402175]: Reached target basic.target - Basic System. Mar 04 07:35:32 g510 systemd[1]: Started user@65534.service - User Manager for UID 65534. Mar 04 07:35:32 g510 systemd[2402175]: Starting pulseaudio.service - Sound Service... Mar 04 07:35:32 g510 systemd[1]: Started session-c143.scope - Session c143 of User nobody. Mar 04 07:35:32 g510 su[2402126]: pam_unix(su:session): session closed for user nobody Mar 04 07:35:32 g510 systemd[1]: session-c143.scope: Deactivated successfully. Mar 04 07:35:32 g510 su[2402224]: (to nobody) root on none Mar 04 07:35:32 g510 su[2402224]: pam_unix(su:session): session opened for user nobody(uid=65534) by (uid=0) Mar 04 07:35:32 g510 systemd[1]: Started session-c144.scope - Session c144 of User nobody. Mar 04 07:35:32 g510 su[2402224]: pam_unix(su:session): session closed for user nobody Mar 04 07:35:32 g510 su[2402235]: (to nobody) root on none Mar 04 07:35:32 g510 su[2402235]: pam_unix(su:session): session opened for user nobody(uid=65534) by (uid=0) Mar 04 07:35:32 g510 systemd[1]: session-c144.scope: Deactivated successfully. Mar 04 07:35:32 g510 systemd[1]: Started session-c145.scope - Session c145 of User nobody. Mar 04 07:35:33 g510 pulseaudio[2402207]: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory Mar 04 07:35:33 g510 systemd[2402175]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE Mar 04 07:35:33 g510 systemd[2402175]: pulseaudio.service: Failed with result 'exit-code'. Mar 04 07:35:33 g510 systemd[2402175]: Failed to start pulseaudio.service - Sound Service. Mar 04 07:35:33 g510 systemd[2402175]: Reached target default.target - Main User Target. Mar 04 07:35:33 g510 systemd[2402175]: Startup finished in 2.415s. Mar 04 07:35:33 g510 systemd[2402175]: pulseaudio.service: Scheduled restart job, restart counter is at 1. Mar 04 07:35:33 g510 systemd[2402175]: Stopped pulseaudio.service - Sound Service. Mar 04 07:35:33 g510 systemd[2402175]: Starting pulseaudio.service - Sound Service... Mar 04 07:35:34 g510 pulseaudio[2402288]: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory Mar 04 07:35:34 g510 systemd[2402175]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE Mar 04 07:35:34 g510 systemd[2402175]: pulseaudio.service: Failed with result 'exit-code'. Mar 04 07:35:34 g510 systemd[2402175]: Failed to start pulseaudio.service - Sound Service. Mar 04 07:35:34 g510 systemd[2402175]: pulseaudio.service: Scheduled restart job, restart counter is at 2. Mar 04 07:35:34 g510 systemd[2402175]: Stopped pulseaudio.service - Sound Service. Mar 04 07:35:34 g510 systemd[2402175]: Starting pulseaudio.service - Sound Service... Mar 04 07:35:34 g510 pulseaudio[2402325]: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory Mar 04 07:35:34 g510 systemd[2402175]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE Mar 04 07:35:34 g510 systemd[2402175]: pulseaudio.service: Failed with result 'exit-code'. Mar 04 07:35:34 g510 systemd[2402175]: Failed to start pulseaudio.service - Sound Service. Mar 04 07:35:34 g510 systemd[2402175]: pulseaudio.service: Scheduled restart job, restart counter is at 3. Mar 04 07:35:34 g510 systemd[2402175]: Stopped pulseaudio.service - Sound Service. Mar 04 07:35:34 g510 systemd[2402175]: Starting pulseaudio.service - Sound Service... Mar 04 07:35:35 g510 pulseaudio[2402359]: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory Mar 04 07:35:35 g510 systemd[2402175]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE Mar 04 07:35:35 g510 systemd[2402175]: pulseaudio.service: Failed with result 'exit-code'. Mar 04 07:35:35 g510 systemd[2402175]: Failed to start pulseaudio.service - Sound Service. Mar 04 07:35:35 g510 systemd[2402175]: pulseaudio.service: Scheduled restart job, restart counter is at 4. Mar 04 07:35:35 g510 systemd[2402175]: Stopped pulseaudio.service - Sound Service. Mar 04 07:35:35 g510 systemd[2402175]: Starting pulseaudio.service - Sound Service... Mar 04 07:35:35 g510 pulseaudio[2402393]: Failed to create secure directory (/nonexistent/.config/pulse): No such file or directory Mar 04 07:35:35 g510 systemd[2402175]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE Mar 04 07:35:35 g510 systemd[2402175]: pulseaudio.service: Failed with result 'exit-code'. Mar 04 07:35:35 g510 systemd[2402175]: Failed to start pulseaudio.service - Sound Service. Mar 04 07:35:35 g510 systemd[2402175]: pulseaudio.service: Scheduled restart job, restart counter is at 5. Mar 04 07:35:35 g510 systemd[2402175]: Stopped pulseaudio.service - Sound Service. Mar 04 07:35:35 g510 systemd[2402175]: pulseaudio.service: Start request repeated too quickly. Mar 04 07:35:35 g510 systemd[2402175]: pulseaudio.service: Failed with result 'exit-code'. Mar 04 07:35:35 g510 systemd[2402175]: Failed to start pulseaudio.service - Sound Service. Mar 04 07:35:35 g510 systemd[2402175]: pulseaudio.socket: Failed with result 'service-start-limit-hit'.

/nonexistent? Da scheint der Service pulseaudio.service wohl als user nobody zu laufen. Das su zu nobody in der ersten Zeile deutet auch darauf hin.

# grep nonexistent /etc/passwd nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin _apt:x:100:65534::/nonexistent:/usr/sbin/nologin messagebus:x:104:110::/nonexistent:/usr/sbin/nologin polkitd:x:998:998:polkit:/nonexistent:/usr/sbin/nologin

Z.Z. läuft pulseaudio als user pulse und das schon seit dem 19. Feb. Ich brauche also keinen zusätzlichen pulseaudio Prozess

# grep pulse /etc/passwd pulse:x:112:117:PulseAudio daemon,,,:/var/run/pulse:/usr/sbin/nologin # ps aux | grep pulse pulse 1100 1.1 0.1 393308 10080 ? S<sl Feb19 212:04 /usr/bin/pulseaudio --daemonize=no --system --realtime --log-target=journal bashrules 1762 0.0 0.0 392556 3636 ? Ssl Feb19 0:01 /usr/bin/pulseaudio --daemonize=no --log-target=journal bashrules 1979 0.1 0.2 415072 16596 ? Sl Feb19 23:57 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libpulseaudio-plugin.so 11 14680076 pulseaudio PulseAudio Plugin Adjust the audio volume of the PulseAudio sound system # systemctl status pulseaudio pulseaudio.service - PulseAudio system server Loaded: loaded (/etc/systemd/system/pulseaudio.service; enabled; preset: enabled) Active: active (running) since Sun 2023-02-19 21:09:40 PST; 1 week 5 days ago Main PID: 1100 (pulseaudio) Tasks: 3 (limit: 9375) Memory: 8.1M CPU: 3h 32min 4.498s CGroup: /system.slice/pulseaudio.service └─1100 /usr/bin/pulseaudio --daemonize=no --system --realtime --log-target=journal Feb 19 21:09:00 g510 pulseaudio[1100]: OK, so you are running PA in system mode. Please make sure that you actually do want to do that. Feb 19 21:09:00 g510 pulseaudio[1100]: Please read http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/ for an explanation why system mode is usually a bad idea. Feb 19 21:09:39 g510 pulseaudio[1100]: Failed to open cookie file '/var/run/pulse/.config/pulse/cookie': No such file or directory Feb 19 21:09:39 g510 pulseaudio[1100]: Failed to load authentication key '/var/run/pulse/.config/pulse/cookie': No such file or directory Feb 19 21:09:39 g510 pulseaudio[1100]: Failed to open cookie file '/var/run/pulse/.pulse-cookie': No such file or directory Feb 19 21:09:39 g510 pulseaudio[1100]: Failed to load authentication key '/var/run/pulse/.pulse-cookie': No such file or directory Feb 19 21:09:40 g510 systemd[1]: Started pulseaudio.service - PulseAudio system server. Feb 19 21:10:16 g510 pulseaudio[1100]: Authorization required, but no authorization protocol specified Feb 19 21:10:16 g510 pulseaudio[1100]: XOpenDisplay() failed Feb 19 21:10:16 g510 pulseaudio[1100]: Failed to load module "module-x11-publish" (argument: "display=:0.0 xauthority=/home/bashrules/.Xauthority"): initialization failed.

Der Vollstandigkeit halber: Diese Failed to open Verzeichnisse wurden wohl gleich dannach angelegt:

-rw------- 1 pulse pulse 256 Feb 19 21:09 /var/run/pulse/.config/pulse/cookie

Diese ganzen nobody uid 65534 services wie z.B. user@65534.service scheinen dafĂĽr verantwortlich zu sein. Wieso brauche ich die i.a.? Ich brauche die ganz bestimmt nicht fĂĽr pulseaudio. Wo werden diese Services gestartet und kann ich das unterbinden?

Bewerten
- +
Ansicht umschalten