First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 132795
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: CJ Kucera <pez@apocalyptech.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 132795 depends on: Show dependency tree
Bug 132795 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-09 08:37 0000
The server.cfg in /opt/enemy-territory/etmain is, as far as I know, the usual
place to put things like rcon passwords, and configuration of the various
parameters you want on your server.

During the recent upgrade to 2.60b, we discovered that server.cfg (and the
other .cfg files in there) aren't under CONFIG_PROTECT, so the upgrade wiped
out a bunch of stuff which we had to recreate from an older backup.  I know
that you can specify commandline options in /etc/conf.d/et-ded, but that's very
cumbersome if you're changing more than a few vars.

Anyway, IMO, server.cfg at least should be under CONFIG_PROTECT, and it would
make sense to just do it to *.cfg in that dir.

------- Comment #1 From Chris Gianelloni (RETIRED) 2006-05-09 12:06:09 0000 -------
Honestly, this is *exactly* why there is the "${dir}/etwolf-homedir" creation
during the ebuild phase.  You're supposed to put your server configs there,
where they won't be written over.

That being said, you're the second person I've heard this from today, so I'm
going to add the standard directories to CONFIG_PROTECT, even though it really
is the administrator's job to extend CONFIG_PROTECT to match their
installation.  This is  FIXED in CVS with no revision bump.  Enjoy!

------- Comment #2 From CJ Kucera 2006-05-09 12:12:01 0000 -------
Ah, I had thought that the et-homedir stuff was just so that the server has
somewhere to write temporary files and logs, etc.  Maybe it'd be worth it to
have some einfo lines in the postinstall to encourage users to put their stuff
there?  I suppose it's a moot point since you've already added the
CONFIG_PROTECT stuff anyway.

Regardless, thanks!

-CJ

------- Comment #3 From SpanKY 2006-05-09 17:18:27 0000 -------
huh ?  what directories are you going to add to CONFIG_PROTECT ?

------- Comment #4 From Chris Gianelloni (RETIRED) 2006-05-10 07:54:51 0000 -------
None.  I added /opt/enemy-territory/etmain/*.cfg to CONFIG_PROTECT if
USE=dedicated, not any directories.

------- Comment #5 From SpanKY 2006-05-10 20:07:25 0000 -------
yeah, except that doesnt work ...

------- Comment #6 From CJ Kucera 2006-05-10 22:46:53 0000 -------
If CONFIG_PROTECT doesn't work out, I'd think it'd just be enough to mention
where to put server files in the postinstall.  I'd have had my stuff in the
et-homedir if I had known that's where it should have gone in the first place.

------- Comment #7 From Chris Gianelloni (RETIRED) 2006-05-11 04:41:06 0000 -------
Bleh... so it doesn't do just files?  I guess I'll have to look into what
webapp-config does, then, since I could have sworn it can protect single files.

------- Comment #8 From Chris Gianelloni (RETIRED) 2006-05-12 11:02:21 0000 -------
Note added... I guess that makes this "fixed" as best as we can, then.

First Last Prev Next    No search results available      Search page      Enter new bug