Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v1] package/pulseaudio: fix S50pulseaudio init script
@ 2019-02-13 19:05 Peter Seiderer
  2019-02-15 21:44 ` Thomas Petazzoni
  2019-02-22 10:04 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Seiderer @ 2019-02-13 19:05 UTC (permalink / raw)
  To: buildroot

- 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

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 package/pulseaudio/S50pulseaudio | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/package/pulseaudio/S50pulseaudio b/package/pulseaudio/S50pulseaudio
index c1d88626f4..ea343a716d 100755
--- a/package/pulseaudio/S50pulseaudio
+++ b/package/pulseaudio/S50pulseaudio
@@ -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() {
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH v1] package/pulseaudio: fix S50pulseaudio init script
  2019-02-13 19:05 [Buildroot] [PATCH v1] package/pulseaudio: fix S50pulseaudio init script Peter Seiderer
@ 2019-02-15 21:44 ` Thomas Petazzoni
  2019-02-22 10:04 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-02-15 21:44 UTC (permalink / raw)
  To: buildroot

On Wed, 13 Feb 2019 20:05:47 +0100
Peter Seiderer <ps.report@gmx.net> 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.
> 
> - fix the following stop error:
> 
>   E: [pulseaudio] main.c: Failed to kill daemon: No such process
> 
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
>  package/pulseaudio/S50pulseaudio | 11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH v1] package/pulseaudio: fix S50pulseaudio init script
  2019-02-13 19:05 [Buildroot] [PATCH v1] package/pulseaudio: fix S50pulseaudio init script Peter Seiderer
  2019-02-15 21:44 ` Thomas Petazzoni
@ 2019-02-22 10:04 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-02-22 10:04 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Seiderer <ps.report@gmx.net> 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.

 > - fix the following stop error:

 >   E: [pulseaudio] main.c: Failed to kill daemon: No such process

 > Signed-off-by: Peter Seiderer <ps.report@gmx.net>

Committed to 2018.11.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-02-22 10:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-13 19:05 [Buildroot] [PATCH v1] package/pulseaudio: fix S50pulseaudio init script Peter Seiderer
2019-02-15 21:44 ` Thomas Petazzoni
2019-02-22 10:04 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox