Project

General

Profile

Actions

Bug #10830

closed

Helper files in pulseaudio-12.2 are not executable

Added by Gary Mills over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
-
Start date:
2019-04-19
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

In pulseaudio-12.2, a helper file is used to read the MATE configuration, in particular the settings in the Sound Preferences GUI, and pass them on to pulseaudio. The file is executed in a child process by pulsecore/start-child.c, with no indication that the execl() succeeded or failed.

I added some code to modules/gsettings/module-gsettings.c that verifies that the helper command is present and is executable. It produces this error message:

Apr 16 14:05:22 ryzen pulseaudio[3120]: [ID 295310 user.error] [(null)] module-gsettings.c: failed to access /usr/lib/amd64/pulse/gsettings-helper for execute: Permission denied

This code is in a new patch called 16-module-gsettings.patch . It goes in the patches directory and is applied automatically during the build.

The actual fix is a change to the manifest pulseaudio.p5m that sets the correct permissions on these files when the package is installed. This change is described in the attachment pulseaudio.p5m.diff .

Both the patch and the manifest change are attached to this report.


Files

pulseaudio.p5m.diff (1.43 KB) pulseaudio.p5m.diff Gary Mills, 2019-04-19 02:27 PM
16-module-gsettings.patch (1.31 KB) 16-module-gsettings.patch Gary Mills, 2019-04-19 02:27 PM
Actions #1

Updated by Alexander Pyhalov over 3 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF