Skip to content

[Bug]: Snap 913 can't access pulseaudio... #32

@lakester

Description

@lakester

What happened?

"pulse" device no longer available for either input or output.

What should have happened?

the opposite of what did happen.

Output of snap info audacity

name:      audacity
summary:   Audio software for multi-track recording and editing
publisher: Daniel Llewellyn (diddledani)
store-url: https://snapcraft.io/audacity
contact:   https://github.com/diddlesnaps/audacity/issues
license:   unset
description: |
  Audacity® is a free, easy-to-use, multi-track audio editor and recorder for Windows, Mac OS X,
  GNU/Linux and other operating systems. The interface is translated into many languages.
  
  You can use Audacity to:
  * Record live audio
  * Convert tapes and records into digital recordings or CDs
  * Edit WAV, AIFF, FLAC, MP2, MP3 or Ogg Vorbis sound files
  * Cut, copy, splice or mix sounds together
  * Change the speed or pitch of a recording
  * Apply a wide range of other effects to audio recordings
  
  Upstream Project: https://www.audacityteam.org/
  snapcraft.yaml Build Definition:
  https://github.com/diddlesnaps/audacity/blob/master/snap/snapcraft.yaml
commands:
  - audacity
snap-id:      KTe2wdAu5JKdRDUgYBuXXGjDXyzobvFI
tracking:     latest/stable
refresh-date: 3 days ago, at 09:30 PDT
channels:
  latest/stable:    3.0.4 2021-09-24 (913) 256MB -
  latest/candidate: 3.0.4 2021-09-24 (913) 256MB -
  latest/beta:      ↑                            
  latest/edge:      3.0.4 2021-09-26 (914) 256MB -
installed:          3.0.4            (913) 256MB -

Output of snap connections audacity

Interface               Plug                      Slot                              Notes
alsa                    audacity:alsa             :alsa                             manual
audio-playback          audacity:audio-playback   :audio-playback                   -
audio-record            audacity:audio-record     :audio-record                     manual
content[gtk-2-engines]  audacity:gtk-2-engines    gtk2-common-themes:gtk-2-engines  -
content[gtk-2-themes]   audacity:gtk-2-themes     gtk-common-themes:gtk-2-themes    -
content[icon-themes]    audacity:icon-themes      gtk-common-themes:icon-themes     -
content[sound-themes]   audacity:sound-themes     gtk-common-themes:sound-themes    -
desktop                 audacity:desktop          :desktop                          -
desktop-legacy          audacity:desktop-legacy   :desktop-legacy                   -
gsettings               audacity:gsettings        :gsettings                        -
home                    audacity:home             :home                             -
jack1                   audacity:jack1            :jack1                            manual
network                 audacity:network          :network                          -
network-bind            audacity:network-bind     :network-bind                     -
pulseaudio              audacity:pulseaudio       :pulseaudio                       manual
removable-media         audacity:removable-media  -                                 -
unity7                  audacity:unity7           :unity7                           -
wayland                 audacity:wayland          :wayland                          -
x11                     audacity:x11              :x11                              -

Output of snap version

snap    2.51.4
snapd   2.51.4
series  16
ubuntu  20.04
kernel  5.11.0-34-generic

Relevant log output

[465840.154883] audit: type=1326 audit(1632755020.329:59855): auid=1001 uid=1001 gid=1001 ses=3 subj=snap.audacity.audacity pid=490569 comm="audacity" exe="/snap/audacity/913/usr/bin/audacity" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7fa3d057a89d code=0x50000
[465840.171644] audit: type=1400 audit(1632755020.345:59856): apparmor="DENIED" operation="open" profile="snap.audacity.audacity" name="/etc/alsa/conf.d/" pid=490569 comm="audacity" requested_mask="r" denied_mask="r" fsuid=1001 ouid=0

and fwiw:
ls -lad /etc/alsa/conf.d
drwxr-xr-x 2 root root 4096 Jun 23 11:49 /etc/alsa/conf.d
and
ls -l /usr/share/alsa/alsa.conf.d/pulse.conf
-rw-r--r-- 1 root root 376 Oct 15  2020 /usr/share/alsa/alsa.conf.d/pulse.conf

Teminal output of app

audacity
ln: failed to create symbolic link '/home/saare/snap/audacity/913/.config/gtk-2.0/gtkfilechooser.ini': File exists
Testing for explicit PulseAudio choice...
Testing for ALSA permissions...
...and using ALSA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions