package/pulseaudio: fix S50pulseaudio init script
PATCH 1/1 package/pulseaudio: fix S50pulseaudio init script
- fix the following start warnings:
W: [pulseaudio] main.c: Running in system mode, but --disallow-exit not set.
W: [pulseaudio] main.c: Running in system mode, but --disallow-module-loading not set.
N: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM mode.
N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time.
- fix the following stop error:
E: [pulseaudio] main.c: Failed to kill daemon: No such process
--- package/pulseaudio/S50pulseaudio | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
package/pulseaudio/S50pulseaudio +9 -2
@@ -7,12 +7,19 @@ start() { printf "Starting pulseaudio: " umask 077 - /usr/bin/pulseaudio --system --daemonize + /usr/bin/pulseaudio \ + --system \ + --daemonize \ + --disallow-module-loading \ + --disallow-exit \ + --exit-idle-time=-1 \ + --use-pid-file \ + --disable-shm echo "OK" } stop() { printf "Stopping pulseaudio: " - pulseaudio --kill + PULSE_RUNTIME_PATH=/var/run/pulse /usr/bin/pulseaudio --kill echo "OK" } restart() {
Signature · 1 line
2.20.1
Thomas Petazzoni
AppliedPATCH 1/1 package/pulseaudio: fix S50pulseaudio init script
Quoted 7 lines · On Wed, 13 Feb 2019 20:05:47 +0100 Peter Seiderer <[email protected]> wrote:
- fix the following start warnings:
W: [pulseaudio]
main.c: Running in system mode, but --disallow-exit not set.
W: [pulseaudio]main.c: Running in system mode, but --disallow-module-loading not set.
N: [pulseaudio]main.c: Running in system mode, forcibly disabling SHM mode.
N: [pulseaudio]main.c: Running in system mode, forcibly disabling exit idle time.
Quoted 8 lines
- fix the following stop error:
E: [pulseaudio]
main.c: Failed to kill daemon: No such processSigned-off-by Peter Seiderer <[email protected]>--- package/pulseaudio/S50pulseaudio | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/pulseaudio: fix S50pulseaudio init script
In reply to Peter SeidererQuoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Peter" == Peter Seiderer <[email protected]> writes:
- fix the following start warnings:
W: [pulseaudio]main.c: Running in system mode, but --disallow-exit not set.
W: [pulseaudio]main.c: Running in system mode, but --disallow-module-loading not set.
N: [pulseaudio]main.c: Running in system mode, forcibly disabling SHM mode.
N: [pulseaudio]main.c: Running in system mode, forcibly disabling exit idle time.
Quoted 5 lines
- fix the following stop error:
E: [pulseaudio]
main.c: Failed to kill daemon: No such processSigned-off-by Peter Seiderer <[email protected]>
Committed to 2018.11.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard