audio_settings crashed with IOError in store_audio_settings(): [Errno 13] Permission denied: '/usr/share/checkbox/pulseaudio_settings'

Bug #1041340 reported by jokrebel
76
This bug affects 17 people
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Undecided
Unassigned
checkbox (Ubuntu)
Fix Released
High
Daniel Manrique

Bug Description

Sorry for bad english.
I have no sound and no icon for speakers.
After aktivating "Audio-test" in "Systemüberprüfung" this Bugreport has been opend.

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: checkbox 0.14.4
ProcVersionSignature: Ubuntu 3.5.0-11.11-generic 3.5.2
Uname: Linux 3.5.0-11-generic i686
ApportVersion: 2.5.1-0ubuntu2
Architecture: i386
Date: Fri Aug 24 21:08:07 2012
ExecutablePath: /usr/lib/checkbox/bin/audio_settings
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
InterpreterPath: /usr/bin/python3.2mu
ProcCmdline: /usr/bin/python3 /usr/share/checkbox/scripts/audio_settings store --file=/usr/share/checkbox/pulseaudio_settings
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
PythonArgs: ['/usr/share/checkbox/scripts/audio_settings', 'store', '--file=/usr/share/checkbox/pulseaudio_settings']
SourcePackage: checkbox
Title: audio_settings crashed with IOError in store_audio_settings(): [Errno 13] Permission denied: '/usr/share/checkbox/pulseaudio_settings'
UpgradeStatus: Upgraded to quantal on 2012-06-11 (74 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Related branches

Revision history for this message
jokrebel (jokrebel) wrote :
tags: removed: need-duplicate-check
Changed in checkbox (Ubuntu):
importance: Undecided → Medium
Daniel Manrique (roadmr)
visibility: private → public
Revision history for this message
Daniel Manrique (roadmr) wrote :

The problem here is that the saving and restoring of the audio settings in jobs/audio.txt use $CHECKBOX_SHARE, which is usually /usr/share/checkbox/, and thus is non-writable by users. Instead, they should use $CHECKBOX_DATA.

Steps to reproduce:

- As a normal user, run:
audio_settings store --file=/usr/share/checkbox/pulseaudio_settings

audio_settings restore --file=/usr/share/checkbox/pulseaudio_settings

Expected result:

- Nothing on the first command
- Harmless output on the second command:
1
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> no
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> 6553
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> 0
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> no
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> 65537
Welcome to PulseAudio! Use "help" for usage information.

Actual result:

Trace as shown on the original report.

Changed in checkbox (Ubuntu):
status: New → Triaged
importance: Medium → High
Daniel Manrique (roadmr)
Changed in checkbox (Ubuntu):
assignee: nobody → Daniel Manrique (roadmr)
Daniel Manrique (roadmr)
Changed in checkbox (Ubuntu):
status: Triaged → Fix Committed
Jeff Lane  (bladernr)
Changed in checkbox (Ubuntu):
status: Fix Committed → Fix Released
Changed in checkbox:
status: New → Fix Released
Revision history for this message
Vivek Taparia (vivektaparia) wrote :

I heard the beeb but Ubuntu by default trys to file this as bug.

Revision history for this message
Sindile Bidla (sindile-bidla) wrote :

I am running an updated ubuntu 12.10 beta2 and the problem still occurs - running audio test

Revision history for this message
Fabio M. Panico (fbugnon) wrote :

I can confirm Sindile report on 12.10 beta2 using a macbook3,1 (black macbook)

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.