Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97877 - Rezound tries to use global config file for user specific settings
Summary: Rezound tries to use global config file for user specific settings
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2005-07-04 02:08 UTC by Håkan Wikström
Modified: 2006-10-01 21:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
diff with my changes to the ebuild (rezound-0.12.0_beta-r1.diff,487 bytes, patch)
2005-07-04 02:16 UTC, Håkan Wikström
Details | Diff
keybindfile.patch (keybindfile.patch,1.09 KB, patch)
2005-07-04 02:17 UTC, Håkan Wikström
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Håkan Wikström 2005-07-04 02:08:27 UTC
Using the rezound-0.12.0_beta ebuild, on every start you get an ugly error message:

using path '/usr/share/rezound' for share data directory
error - Error reading user macro store -- bool CPath::touch(bool, bool)
const -- error touching path name '/usr/share/rezound/key_bindings.dat'
-- Permission denied

This is of course wrong - user specific settings shouldn't go in /usr/share. A
quick search made it clear that the bug was resolved in the Debian package, so I
used the Debian patch and updated the ebuild and it works as expected now - no
error messages and no other errors in operation.

Reproducible: Always
Steps to Reproduce:
1. emerge rezound
2. start rezound
3. view the error message - both in the console and in a popup window




I didn't write this patch, I only updated the existing ebuild and incorporated
the Debian patch. Information about the Debian bug can be found here:
http://www.archivum.info/debian-bugs-closed@lists.debian.org/2005-06/msg00542.html
Comment 1 Håkan Wikström 2005-07-04 02:16:06 UTC
Created attachment 62582 [details, diff]
diff with my changes to the ebuild

Here comes the diff for the ebuild.
Comment 2 Håkan Wikström 2005-07-04 02:17:23 UTC
Created attachment 62583 [details, diff]
keybindfile.patch

And here's the patch that makes it all work.
Comment 3 mail 2006-03-02 14:42:34 UTC
I recently emerged media-sound/rezound-0.12.0_beta and got the same error. Is the patch already applied to the official ebuild? Anyway, I "solved" the problem by

$ touch /usr/share/rezound/key_bindings.dat

as root. Since then, everything worked fine, user settings are stored in ~/.rezound as they should.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-01 21:50:22 UTC
Not sure if it's even a problem with latest version in portage, but this has to be fixed upstream anyway.