Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-11156

pulseaudio should not be started when users login via SSH

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • rhel-8.1.0
    • systemd
    • Normal
    • sst_cs_plumbers
    • ssg_core_services
    • False
    • Hide

      None

      Show
      None
    • If docs needed, set a value

      Description of problem:
      pulseaudio should not be triggered when a user logs in via SSH.
      It seems to make no sense, so "KISS" alone would be a reason to request that.
      Additionally, it leads to issues like bz1885553, where this happened:
      a) user logins via SSH
      b) pulseaudio started
      c) bluetooth packages installed, triggered by pulseaudio in a way leading to a systemd crash
      Let's just cut off the whole chain in preventing the first thing which seems to serve no purpose at all for SSH logins from remote: prevent pulseaudio from being run.

      Version-Release number of selected component (if applicable):
      All rhel8 versions affected, it seems

      How reproducible:
      always

      Steps to Reproduce:

      • Login as user via SSH (also happens for Xorg/Wayland, but might make sense then)

      user@<uid>.service executes
      this spawns "systemd --user"

      Actual results:
      1. "systemd --user" sets up pulseaudio.socket (listening on /run/user/<uid>/pulse/native) as part of reaching sockets.target
      this is because pulseaudio.socket is installed (/usr/lib/systemd/user/sockets.target.wants/pulseaudio.socket)

      2. "systemd --user" sets up pulseaudio.service as part of reaching default.target
      this is because pulseaudio.service is installed (/etc/systemd/user/default.target.wants/pulseaudio.service)

      2.) is then in our other scenarios leading to issues.

      Expected results:
      Pulseaudio should not be triggered when a user logs in via SSH.

            systemd-maint systemd maint mailing list
            rhn-support-chorn Christian Horn
            systemd maint mailing list systemd maint mailing list
            Frantisek Sumsal Frantisek Sumsal
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: