init.d: log_warning_msg "PulseAudio configured for per-user sessions" -- missing a newline at the end

Bug #884996 reported by Martin-Éric Racine
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The init script's log_warning_msg "PulseAudio configured for per-user sessions" is missing a newline at the end, which makes the init script messages of the next daemon to be started start being written in mid-line, rather than at the start of the next line.

Either that, or whatever LSB init function that processes log_warning_msg messages from init scripts doesn't return the cursor to the start of the next line.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: pulseaudio 1:1.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.1.0-2.2-generic 3.1.0
Uname: Linux 3.1.0-2-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: meracine 1666 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xefebc000 irq 44'
   Mixer name : 'SigmaTel STAC9200'
   Components : 'HDA:83847690,10280201,00102201 HDA:14f12c06,14f1000f,00100000'
   Controls : 12
   Simple ctrls : 7
Date: Wed Nov 2 01:10:39 2011
ProcEnviron:
 LANGUAGE=fi:en
 PATH=(custom, user)
 LANG=fi_FI.UTF-8
 SHELL=/bin/bash
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/20/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A01
dmi.board.name: 000007
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA01:bd06/20/2007:svnDellInc.:pnLatitudeD430:pvr:rvnDellInc.:rn000007:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude D430
dmi.sys.vendor: Dell Inc.
modified.conffile..etc.init.d.pulseaudio: [modified]
mtime.conffile..etc.init.d.pulseaudio: 2011-11-02T01:10:24

Revision history for this message
Martin-Éric Racine (q-funk) wrote :
Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Is any information missing before this bug can be acted upon and resolved?

Revision history for this message
David Henningsson (diwic) wrote :

a quick "grep -r log_warning_msg /etc/init.d/*" shows that none of the log_warning_msgs have newlines, so this is probably not a PulseAudio problem.

I'm making a wild guess and reassigning.

affects: pulseaudio (Ubuntu) → sysvinit (Ubuntu)
Revision history for this message
Steve Langasek (vorlon) wrote :

In what context does this message appear? i.e., is this at boot time or interactive, what is the kernel commandline, what plymouth theme do you have configured?

This is likely to be a terminal configuration issue rather than with the implementation of log_warning_msg, since the latter *does* output a newline.

Changed in sysvinit (Ubuntu):
status: New → Incomplete
Revision history for this message
Martin-Éric Racine (q-funk) wrote :

During boot time.

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Basically, you see it during boot if PulseAudio is configured for per-session use (as per default), whenever Plymouth is disabled. You'll also see whenever the kernel switches virtual console, such as when X is shut down prior to rebooting a host.

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

It looks like this.

Changed in sysvinit (Ubuntu):
status: Incomplete → Confirmed
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.