HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/bug/pulseaudio
#!/bin/bash


REPORTBUG_VERSION=$(dpkg-query -f '${source:Version}' -W reportbug)
HAVE_ATTACHMENTS=$(dpkg --compare-versions "$REPORTBUG_VERSION" ge "6.5.0" && echo yes || echo no)

function include_file() {
	while [ -n "$1" ] ; do
		if [ ! -f "$1" ] ; then
			# file doesn't exist, just note that fact
			echo "File '$1' does not exist" >&3
			echo >&3
		elif [ $HAVE_ATTACHMENTS = yes ] ; then
			echo "-- BEGIN ATTACHMENTS --" >&3
			echo $1 >&3
			echo "-- END ATTACHMENTS --" >&3
		else
			echo "${1}:" >&3
			cat "$1" >&3
			echo >&3
		fi
		shift
	done
}

function include_command() {
	desc=$(echo "$@" | sed -e 's/[^[:alnum:]:_-]\+/_/g')
	tmp=$(mktemp --tmpdir bug-pulseaudio-${desc}.XXXXXX)
	"$@" &>$tmp
	include_file $tmp
	# delete cruft if possible
	# for attachments we can't because it is not known when reportbug exits
	if [ $HAVE_ATTACHMENTS = no ] ; then
		rm $tmp
	fi
}

# to see if we have a systemwide pulseaudio
include_file /etc/default/pulseaudio

# pulseaudio configuration
include_file /etc/pulse/client.conf /etc/pulse/daemon.conf /etc/pulse/default.pa /etc/pulse/system.pa

# Get alsa devices if possible
if which aplay &>/dev/null ; then
	include_command aplay -L
fi

include_command pactl list
include_command pactl info