Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151452 - savage-bin-2.00e overwrites game configuration
Summary: savage-bin-2.00e overwrites game configuration
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL: http://forums.s2games.com/showthread....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-15 04:35 UTC by brad walker
Modified: 2006-12-27 22:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brad walker 2006-10-15 04:35:53 UTC
savage will overwrite my game configuration, every time it starts. i reconfigure and it saves my settings in ~/.savage/current.cfg. then it overwrites it again next time it starts.

another gentoo user has reported the same problem at the URL.

-------------------->8------------------->8------------------>8-------------------
squirrel ~ # emerge --info
Portage 2.1.2_pre3-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-beyond1pre1 i686)
=================================================================
System uname: 2.6.18-beyond1pre1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.5
Last Sync: Sun, 15 Oct 2006 10:50:02 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon-xp -ggdb -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=athlon-xp -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://mirror.usu.edu/mirrors/gentoo/ "
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib alsa apache2 arts audiofile avahi bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli crypt cscope cups curl dbus debug djvu dlloader doc dri dvd dvdr dvi eds elibc_glibc emacs emboss encode expat fam firefox fontconfig gd gdbm gif gnutls gpm gstreamer gtk hal input_devices_evdev input_devices_keyboard isdnlog java jbig jpeg kde kernel_linux lcd lcms ldap libcaca libg++ mad mikmod mmx mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pango pcre pdf perl php png ppds pppd python qt3 qt4 quicktime readline real reflection ruby samba sdl session spell spl sqlite sqlite3 sse ssl svg symlink tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nvidia vorbis win32codecs wmf xcomposite xinerama xml xorg xprint xscreensaver xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-17 09:23:49 UTC
Binary game... we can't fix it.
Comment 2 brad walker 2006-10-18 13:16:17 UTC
(In reply to comment #1)
> Binary game... we can't fix it.
> 

Not true. The forum thread at URL mentions it could be a problem with file permissions. Or it could involve the game's default configuration scripts. These could be remedied in the ebuild.

I enabled write for group games for "/opt/savage/game" and subdirectories, this alone didn't fix it. Then i copied the modified configuration file it saves into ~ and typed "exec current.cfg" in the game's console. This magic incantation seems to have solved the problem on my system.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-18 15:41:38 UTC
We cannot exec stuff from within the game via an ebuild.  If you have a solution that's workable from an ebuild, feel free to mention it and I'll do it.  Otherwise, I'm calling it upstream.
Comment 4 Charlie Gehlin 2006-12-25 02:42:22 UTC
New link to URL, as the old one doesn't work:
http://forums.s2games.com/showthread.php?t=1636&highlight=gentoo

This works for me. Wouldn't it be appropriate to add
'chmod -R g+w /opt/savage/game' to the post-install?

cheers!

/Charlie