Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 852587 - media-sound/pulseaudio-16.0: /etc/pulse/default.pa.d should be created on installation
Summary: media-sound/pulseaudio-16.0: /etc/pulse/default.pa.d should be created on ins...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Igor V. Kovalenko
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-06-16 15:43 UTC by Erik Quaeghebeur
Modified: 2022-06-18 00:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2022-06-16 15:43:48 UTC
Recently, the following error message started appearing in my logs:

pulseaudio[3704]: stat('/etc/pulse/default.pa.d'): Bestand of map bestaat niet

(Bestand of map bestaat niet = File or folder does not exist)

Elsewhere [*], people say that this means that that folder has not been created on installation of pulseaudio and that it should. I guess this also holds for Gentoo. (I do not understand why this started happening only now.)

[*] https://www.linuxquestions.org/questions/slackware-14/syslog-pulseaudio-message-missing-default-pa-d-4175700016/
Comment 1 Igor V. Kovalenko 2022-06-16 19:30:55 UTC
(In reply to Erik Quaeghebeur from comment #0)
> Recently, the following error message started appearing in my logs:
> 
> pulseaudio[3704]: stat('/etc/pulse/default.pa.d'): Bestand of map bestaat
> niet
> 
> (Bestand of map bestaat niet = File or folder does not exist)
> 
> Elsewhere [*], people say that this means that that folder has not been
> created on installation of pulseaudio and that it should. I guess this also
> holds for Gentoo. (I do not understand why this started happening only now.)
> 
> [*]
> https://www.linuxquestions.org/questions/slackware-14/syslog-pulseaudio-
> message-missing-default-pa-d-4175700016/

This is a warning message, should have started with version 15.0
Comment 2 Erik Quaeghebeur 2022-06-17 06:24:01 UTC
(In reply to Igor V. Kovalenko from comment #1)
> This is a warning message, should have started with version 15.0
I guess it is good to avoid it anyway, even if it is harmless in general. Is there some problem with just adding this directory upon install?
Comment 3 Joakim Tjernlund 2022-06-17 09:53:53 UTC
Would be nice if it is created, people may not know that config snippets are
possible for PA if it is not there.
Comment 4 Igor V. Kovalenko 2022-06-17 21:01:10 UTC
OK I do agree that it will be more clean to install included directories, added a PR now.
Comment 5 Larry the Git Cow gentoo-dev 2022-06-18 00:18:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ee9ff09cbcf71d1095c010fb0e1b6f20a7bd13c

commit 5ee9ff09cbcf71d1095c010fb0e1b6f20a7bd13c
Author:     Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
AuthorDate: 2022-06-17 23:37:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-18 00:18:16 +0000

    media-sound/pulseaudio-daemon: Add optional conf dirs to silence warning
    
    Daemon configuration scripts will try to load snippets from corresponding
    '.d' dirs. Install these dirs to silence a warning if they are missing.
    
    Closes: https://bugs.gentoo.org/852587
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild | 5 +++++
 1 file changed, 5 insertions(+)