Bug 14675 - "security" option in .config affecting non-root ALSA users
Summary: "security" option in .config affecting non-root ALSA users
Status: RESOLVED UNREPRODUCIBLE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P1 low
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-23 20:10 UTC by Fabricio Rocha
Modified: 2009-12-15 19:40 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.31.6
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Fabricio Rocha 2009-11-23 20:10:46 UTC
Dearest ones, after compiling and installing the vanilla 2.6.31.6 kernel in my Acer Aspire One AOA150 / Debian Lenny system, the soundcard was ignored and shown as unavailable by GStreamer, gamix, aplay, etc. It has been working very fine with a vanilla 2.6.29 kernel and my user account was already part of group "audio".

I could notice that aplay -l would show the soundcard if I used the command in a root terminal, and nothing in a user terminal. Opening a sound file as root worked flawlessly. So I remembered that, just like I did when compiling the 2.6.29 kernel, the "security" option in .config was on. I decided to recompile 2.6.31.6 with the security flag off and reinstall it, and the sound started to work again.

In spite of the problem being solved, I thought that you might like to know that...

Thank you!
Comment 1 Randy Dunlap 2009-11-23 22:31:31 UTC
Hi,
Exactly which specific CONFIG_ option are you referring to, please?
Thanks.
Comment 2 Fabricio Rocha 2009-11-24 00:38:39 UTC
Thanks for asking, Randy. It is exactly the CONFIG_SECURITY option, according to what I see in menuconfig.


bugzilla-daemon@bugzilla.kernel.org escreveu:
> http://bugzilla.kernel.org/show_bug.cgi?id=14675
> 
> 
> Randy Dunlap <randy.dunlap@oracle.com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |randy.dunlap@oracle.com
> 
> 
> 
> 
> --- Comment #1 from Randy Dunlap <randy.dunlap@oracle.com>  2009-11-23
> 22:31:31 ---
> Hi,
> Exactly which specific CONFIG_ option are you referring to, please?
> Thanks.
>
Comment 3 Serge Hallyn 2009-11-24 04:24:11 UTC
Can you paste your .config after re-enabling the option that causes you
trouble (and verifying that there is in fact a problem)?
Comment 4 Fabricio Rocha 2009-11-24 16:14:33 UTC
Sorry, Serge, I was not able to reproduce the problem. I tried to recompile the kernel changing only the CONFIG_SECURITY option to enabled, and after boot the sound was working for my regular account. Maybe another option (which I might have changed in my multiple attempts to make 2.6.31 work perfectly) was causing the sound to work only for root, but I really can't figure out which one.

Thanks!


bugzilla-daemon@bugzilla.kernel.org escreveu:
> http://bugzilla.kernel.org/show_bug.cgi?id=14675
> 
> 
> 
> 
> 
> --- Comment #3 from Serge Hallyn <serge@hallyn.com>  2009-11-24 04:24:11 ---
> Can you paste your .config after re-enabling the option that causes you
> trouble (and verifying that there is in fact a problem)?
>

Note You need to log in before you can comment on or make changes to this bug.