PulseAudio: no /run/pulseaudio-enable-autospawn

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Post Reply
User avatar
NeroR
Level 2
Level 2
Posts: 61
Joined: Fri Oct 26, 2018 4:32 pm

PulseAudio: no /run/pulseaudio-enable-autospawn

Post by NeroR »

I saw that I have a 01-enable-autospawn.conf in /etc/pulse/client.conf.d/ which is a link to /run/pulseaudio-enable-autospawn but I don't have such a file.
Is this correct?
I'm not sure if this could cause problems, but I don't think so. However, I'm not sure if it makes sense to have such a construct.

Code: Select all

user@host:/$ll /etc/pulse/client.conf.d/
total 8
drwxr-xr-x 2 root root 4096 Aug  5 18:08 ./
drwxr-xr-x 3 root root 4096 Aug 28 14:00 ../
lrwxrwxrwx 1 root root   32 Jul 15 11:52 01-enable-autospawn.conf -> /run/pulseaudio-enable-autospawn
user@host:/$
user@host:/$ll /run/pulseaudio-enable-autospawn
ls: cannot access '/run/pulseaudio-enable-autospawn': No such file or directory

P.S.: Linux Mint 20 Xfce (upgraded)
User avatar
MrEen
Level 22
Level 22
Posts: 15097
Joined: Mon Jun 12, 2017 8:39 pm

Re: PulseAudio: no /run/pulseaudio-enable-autospawn

Post by MrEen »

Hi again NeroR! :D

Were you one of the people using PulseEffects? Normally, /etc/pulse contains 4 files and no folders, so I'm betting that something like PulseEffects added that.

And I don't think you need to worry either way. The default pulseaudio config has it autospawning anyway, so I doubt /run/pulseaudio-enable-autospawn would ever be called.
User avatar
NeroR
Level 2
Level 2
Posts: 61
Joined: Fri Oct 26, 2018 4:32 pm

Re: PulseAudio: no /run/pulseaudio-enable-autospawn

Post by NeroR »

Hi MrEen!

PulseEffects? No, I never heard about it before. I didn't installed it – at least not knowingly.

If client.conf.d (it's the only directory in /etc/pulse) doesn't exits by default, I think it might be better to remove it.
Beside (only) the default files exists: client.conf, daemon.conf,default.pa and system.pa (plus own .bak files).

Basically it should not be a real problem but I don't like useless config files, especially pointing to nowhere.

----------

By looking to details ...

Code: Select all

$ ll -d /etc/pulse/client.conf.d
drwxr-xr-x 2 root root 4096 Sep  1 16:10 /etc/pulse/client.conf.d/
$
$
$ ll /etc/pulse/client.conf.d
total 8
drwxr-xr-x 2 root root 4096 Sep  1 16:10 ./
drwxr-xr-x 3 root root 4096 Sep  1 16:11 ../
lrwxrwxrwx 1 root root   32 Aug 13 12:53 01-enable-autospawn.conf -> /run/pulseaudio-enable-autospawn
$
$
$ dmesg -T | head -1
$
$
$ head /var/log/apt/term.log

Log started: 2020-09-01  16:10:56
(Reading database ... 352377 files and directories currently installed.)
Preparing to unpack .../00-libpulse-mainloop-glib0_1%3a13.99.1-1ubuntu3.6_amd64.deb ...
Unpacking libpulse-mainloop-glib0:amd64 (1:13.99.1-1ubuntu3.6) over (1:13.99.1-1ubuntu3.5) ...
Preparing to unpack .../01-libpulsedsp_1%3a13.99.1-1ubuntu3.6_amd64.deb ...
Unpacking libpulsedsp:amd64 (1:13.99.1-1ubuntu3.6) over (1:13.99.1-1ubuntu3.5) ...
Preparing to unpack .../02-pulseaudio-utils_1%3a13.99.1-1ubuntu3.6_amd64.deb ...
Unpacking pulseaudio-utils (1:13.99.1-1ubuntu3.6) over (1:13.99.1-1ubuntu3.5) ...
Preparing to unpack .../03-pulseaudio-module-bluetooth_1%3a13.99.1-1ubuntu3.6_amd64.deb ...
[Tue Sep  1 16:15:52 2020] microcode: microcode updated early to revision 0x32, date = 2019-08-28
$
$
$ cat /var/log/apt/history.log

Start-Date: 2020-09-01  16:10:56
Commandline: /usr/sbin/synaptic --hide-main-window --non-interactive --parent-window-id 65011726 -o Synaptic::closeZvt=true --set-selections-file /tmp/tmpowlrba8k
Requested-By: nero (1000)
Install: linux-modules-extra-5.4.0-45-generic:amd64 (5.4.0-45.49, automatic), linux-headers-5.4.0-45-generic:amd64 (5.4.0-45.49, automatic), linux-modules-5.4.0-45-generic:amd64 (5.4.0-45.49, automatic), linux-headers-5.4.0-45:amd64 (5.4.0-45.49, automatic), linux-image-5.4.0-45-generic:amd64 (5.4.0-45.49, automatic)
Upgrade: linux-headers-generic:amd64 (5.4.0.42.46, 5.4.0.45.49), linux-libc-dev:amd64 (5.4.0-42.46, 5.4.0-45.49), alsa-ucm-conf:amd64 (1.2.2-1ubuntu0.1, 1.2.2-1ubuntu0.2), libpulsedsp:amd64 (1:13.99.1-1ubuntu3.5, 1:13.99.1-1ubuntu3.6), grub-common:amd64 (2.04-1ubuntu26.2, 2.04-1ubuntu26.3), linux-image-generic:amd64 (5.4.0.42.46, 5.4.0.45.49), pulseaudio:amd64 (1:13.99.1-1ubuntu3.5, 1:13.99.1-1ubuntu3.6), libasound2-data:amd64 (1.2.2-2.1ubuntu1, 1.2.2-2.1ubuntu2), grub2-common:amd64 (2.04-1ubuntu26.2, 2.04-1ubuntu26.3), grub-efi-amd64-bin:amd64 (2.04-1ubuntu26.2, 2.04-1ubuntu26.3), libpulse0:amd64 (1:13.99.1-1ubuntu3.5, 1:13.99.1-1ubuntu3.6), libpulse-mainloop-glib0:amd64 (1:13.99.1-1ubuntu3.5, 1:13.99.1-1ubuntu3.6), grub-efi-amd64:amd64 (2.04-1ubuntu26.2, 2.04-1ubuntu26.3), libasound2:amd64 (1.2.2-2.1ubuntu1, 1.2.2-2.1ubuntu2), grub-efi-amd64-signed:amd64 (1.142.4+2.04-1ubuntu26.2, 1.142.5+2.04-1ubuntu26.3), pulseaudio-module-bluetooth:amd64 (1:13.99.1-1ubuntu3.5, 1:13.99.1-1ubuntu3.6), pulseaudio-utils:amd64 (1:13.99.1-1ubuntu3.5, 1:13.99.1-1ubuntu3.6), linux-generic:amd64 (5.4.0.42.46, 5.4.0.45.49), libatopology2:amd64 (1.2.2-2.1ubuntu1, 1.2.2-2.1ubuntu2)
End-Date: 2020-09-01  16:12:48
... I saw things, I wonder:
/etc/pulse/client.conf.d/ has actual timestamp, but not from the current boot. I've run an upgrade at this time (incl. kernel and actual alsa and pulseaudio components).
The link itself has the date from my upgrade to Linux Mint 20.
User avatar
MrEen
Level 22
Level 22
Posts: 15097
Joined: Mon Jun 12, 2017 8:39 pm

Re: PulseAudio: no /run/pulseaudio-enable-autospawn

Post by MrEen »

Do you use Qemu? I found this site that mentions creating a similar directory.

Also found where the support for those kind of directories was added 19 years ago here. That basically indicates to me that something you installed added that directory and it's contents. What did it, I can't say. For now, you could just rename the directory and see if something stops working properly. Give it a week or two, then delete it if nothing was amiss.
User avatar
NeroR
Level 2
Level 2
Posts: 61
Joined: Fri Oct 26, 2018 4:32 pm

Re: PulseAudio: no /run/pulseaudio-enable-autospawn

Post by NeroR »

No, I'm not using Qemu. It's just a normal, native installation (initially Mint 18 Xfce, upgraded to Mint 19 and then Ming 20 – if I remember correctly).

I will rename the directory by now and delete it later, if I can't see any impact.
User avatar
MrEen
Level 22
Level 22
Posts: 15097
Joined: Mon Jun 12, 2017 8:39 pm

Re: PulseAudio: no /run/pulseaudio-enable-autospawn

Post by MrEen »

You can probably delete it any time you like. Even if something acts up later, you can just reinstall that something, then you'll know what created the folder in the first place. :D
Post Reply

Return to “Sound, Multimedia, & Codecs”