pulseaudio error message contains unnecessarily offensive content

Bug #809426 reported by Eric Williams
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
New
Undecided
Unassigned

Bug Description

# Issue

- pulseaudio error message contains unnecessarily offensive content

- expletive used in error message does not add value

# Environment

- natty

- pulseaudio 1:0.9.22+stable-queue-24-g67d18-0ubuntu3.

The following error message from pulseaudio-0.9.22+stable-queue-24-g67d18/src/daemon/main.c should be changed to something that is less gratuitously offensive.

main.c-363- pa_log_warn("Failed to acquire org.pulseaudio.Server: %s: %s", error.name, error.message);
main.c-364- else
main.c:365: pa_log_warn("D-Bus name org.pulseaudio.Server already taken. Weird shit!");
main.c-366-

Example Patch:

--- main.c 2011-07-12 17:23:16.444454827 +0100
+++ main.c.new 2011-07-12 17:24:02.544454816 +0100
@@ -362,7 +362,7 @@ static pa_dbus_connection *register_dbus
     if (dbus_error_is_set(&error))
         pa_log_warn("Failed to acquire org.pulseaudio.Server: %s: %s", error.name, error.message);
     else
- pa_log_warn("D-Bus name org.pulseaudio.Server already taken. Weird shit!");
+ pa_log_warn("D-Bus name org.pulseaudio.Server already taken. My word, this is an extraordinary occurence I dare say!");

     /* PA cannot be started twice by the same user and hence we can
      * ignore mostly the case that org.pulseaudio.Server is already

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: pulseaudio 1:0.9.22+stable-queue-24-g67d18-0ubuntu3.1
ProcVersionSignature: Ubuntu 2.6.38-8.42-genusername 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 shm_open() failed: Permission denied
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269VB Analog [ALC269VB Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: eric 12692 F.... pulseaudio
 /dev/snd/pcmC0D0p: eric 12692 F...m pulseaudio
 /dev/snd/controlC1: eric 12692 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfe6fc000 irq 44'
   Mixer name : 'Realtek ALC269VB'
   Components : 'HDA:10ec0269,10280400,00100100'
   Controls : 18
   Simple ctrls : 12
Card1.Amixer.info:
 Card hw:1 'S3MPWC10'/'Salix Corp. Sandstrom S3MPWC10 at usb-0000:00:1d.7-6, high speed'
   Mixer name : 'USB Mixer'
   Components : 'USB0ac8:3420'
   Controls : 2
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'Mic',0
   Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
   Capture channels: Mono
   Limits: Capture 0 - 48
   Mono: Capture 38 [79%] [11.00dB] [on]
Date: Tue Jul 12 17:24:45 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: pulseaudio
UpgradeStatus: Upgraded to natty on 2011-05-23 (50 days ago)
dmi.bios.date: 12/06/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A03
dmi.board.name: 01TKCC
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 15
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA03:bd12/06/2010:svnDellInc.:pnOptiPlex380:pvr:rvnDellInc.:rn01TKCC:rvrA01:cvnDellInc.:ct15:cvr:
dmi.product.name: OptiPlex 380
dmi.sys.vendor: Dell Inc.

Revision history for this message
Eric Williams (eric-canonical) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.