symbolic links not supported for ~/.pulse or / and ~/.config/pulse directories
pulseaudio 12.2
$ ln -sv /home/user/.data/.pulse /home/user/.pulse
'/home/user/.pulse' -> '/home/user/.data/.pulse'
$ pulseaudio -D
E: [pulseaudio] main.c: Daemon startup failed.
I am pretty sure that it worked fine in previous versions of pulseaudio.
What strace shows:
16690 stat("/home/user", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
16690 getuid() = 1000
16690 access("/home/user/.pulse", F_OK) = 0
16690 umask(077) = 077
16690 mkdir("/home/user/.pulse", 0700) = -1 EEXIST (File exists)
16690 umask(077) = 077
16690 openat(AT_FDCWD, "/home/user/.pulse", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = -1 ELOOP (Too many levels of symbolic links)
"Too many levels of symbolic links" is also logged just before pulseaudio exit.
I am not sure why O_NOFOLLOW
is used here?