| Summary: | games-fps/enemy-territory upgrade will wipe out /opt/enemy-territory/etmain/server.cfg | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | CJ Kucera <pez> |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
CJ Kucera
2006-05-09 08:37:19 UTC
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!
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 huh ? what directories are you going to add to CONFIG_PROTECT ? None. I added /opt/enemy-territory/etmain/*.cfg to CONFIG_PROTECT if USE=dedicated, not any directories. yeah, except that doesnt work ... 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. 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. Note added... I guess that makes this "fixed" as best as we can, then. |