Go Back   Champions of Regnum > English > Technical Support > Linux

Linux Technical issues under Linux platform

Reply
 
Thread Tools Display Modes
Old 07-05-2009, 01:10 AM   #61
onemyndseye
Master
 
onemyndseye's Avatar
 
Join Date: Jul 2008
Location: South Central USA
Posts: 260
onemyndseye is on a distinguished road
Default

yes, but presents a security risk that is outside Debian/Ubuntu standards.... Although unlikely.. if the system was compromized the binarys could be replaced by something destructive. We wouldnt be running as root but could still easily wipe out ~/ for instance
__________________
RA/Syrtis Hunter LVL50: Elusis
RA/Syrtis Barba LVL50: Artemisia
RA/Syrtis Conju Lvl45: Nellas Miriel

Last edited by onemyndseye; 07-05-2009 at 01:31 AM.
onemyndseye no ha iniciado sesión   Reply With Quote
Old 07-05-2009, 04:07 AM   #62
ArcticWolf
Duke
 
ArcticWolf's Avatar
 
Join Date: Nov 2006
Location: 0x00CAFE
Posts: 3,366
ArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of light
Default

Quote:
Originally Posted by onemyndseye View Post
yes, but presents a security risk that is outside Debian/Ubuntu standards.... Although unlikely.. if the system was compromized the binarys could be replaced by something destructive. We wouldnt be running as root but could still easily wipe out ~/ for instance
Ouch, I didn't see that coming. I'm not a security expert at all, in fact, that's one of my weaknesses. I rather waste space or wait until a new package gets uploaded than run something with such a security breach.
__________________
I don't have a solution, but I admire the problem.
ArcticWolf no ha iniciado sesión   Reply With Quote
Old 07-05-2009, 05:01 AM   #63
surak
Legend
 
surak's Avatar
 
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
surak has a spectacular aura aboutsurak has a spectacular aura about
Default

Hmmm

The experimental server mantains a separate resource database in a file called test0.sdb and it doesn't touch data*.sdb from the official client. A similar technique could be used with a system-wide resource database and a per-user resource database which could hold the updated resources until the package is updated. I've considering this for some time, but I still didn't try it. But seeing how this improves, I'll may try in the near future

Just a thought :P
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta!
surak no ha iniciado sesión   Reply With Quote
Old 07-05-2009, 05:39 AM   #64
ArcticWolf
Duke
 
ArcticWolf's Avatar
 
Join Date: Nov 2006
Location: 0x00CAFE
Posts: 3,366
ArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of light
Default

So, you mean a master-resources database and an extra per-user database with all the changes? That's a nice workaround over the updater problem. You could use the versioning numbers to check the resources as you're doing now, then check the writing permissions over master-resources and see if you can write to it. If you can't, look for $HOME/.regnum/server/temp.sdb. And if doesn't exist then create a $HOME/.regnum/server/temp.sdb :P

We can make a regnum-updatedb script that would prompt to copy temp.sdb from the user's home folder. Such a change shouldn't pose a security threat. And we can copy it again to the user's folder each time we run the game, since it wouldn't be executable and checked by the game database engine.
__________________
I don't have a solution, but I admire the problem.
ArcticWolf no ha iniciado sesión   Reply With Quote
Old 07-06-2009, 10:29 AM   #65
onemyndseye
Master
 
onemyndseye's Avatar
 
Join Date: Jul 2008
Location: South Central USA
Posts: 260
onemyndseye is on a distinguished road
Default

Quote:
Originally Posted by ArcticWolf View Post
Ouch, I didn't see that coming. I'm not a security expert at all, in fact, that's one of my weaknesses. I rather waste space or wait until a new package gets uploaded than run something with such a security breach.

Yes... having a executable stored anywhere thats world writable is a big "no-no" This is WinXP's main problem actually


Quote:
Originally Posted by surak View Post
Hmmm

The experimental server mantains a separate resource database in a file called test0.sdb and it doesn't touch data*.sdb from the official client. A similar technique could be used with a system-wide resource database and a per-user resource database which could hold the updated resources until the package is updated. I've considering this for some time, but I still didn't try it. But seeing how this improves, I'll may try in the near future

Just a thought :P

Hi Surak

That certainly sounds like it could work.. please keep me informed on this.

In the meantime.. If I had the correct links to use to download the contents of the ./live folder I could save the users the extra 20meg download on initial run...

The only 2 binarys my packages includes is rolauncher which I am downloading from here:

32bit: http://download01.regnumonline.com.a...nux/rolauncher
64bit: http://download01.regnumonline.com.a...x64/rolauncher


if there are similar paths I could download the rest of the files for 64bit I think it would improve the package alot... Perhaps there is a filelist stored on this server that the launcher parses to know what to download? If not are they hard coded?.. I can obtain these URL's for myself using wireshark but I will not do so without your direct permission.



Re: update-regnumdb
-----------------------------------------

The more I think about this if I put something together I'll include it in a separate package perhaps called ' regnum-utils ' that can carry the gksudo etc depends... no reason for the main package to depend here and every user will not want or need this function... It should be set to a Reccomend of regnum-online
__________________
RA/Syrtis Hunter LVL50: Elusis
RA/Syrtis Barba LVL50: Artemisia
RA/Syrtis Conju Lvl45: Nellas Miriel

Last edited by onemyndseye; 07-06-2009 at 11:00 AM.
onemyndseye no ha iniciado sesión   Reply With Quote
Old 07-06-2009, 11:08 AM   #66
onemyndseye
Master
 
onemyndseye's Avatar
 
Join Date: Jul 2008
Location: South Central USA
Posts: 260
onemyndseye is on a distinguished road
Default

On a side note....

I had the chance to test my package against the offical installer on 6 different Ubuntu Jaunty machines with fresh installs this weekend...

The results?

My Package functioned better in 5/6 of the trials... 5 of the installs using the offical installer had problems such as corrupted textures (Black trees, black cloths, black water). In 100% of the Debian package installs there where no issues at all
__________________
RA/Syrtis Hunter LVL50: Elusis
RA/Syrtis Barba LVL50: Artemisia
RA/Syrtis Conju Lvl45: Nellas Miriel
onemyndseye no ha iniciado sesión   Reply With Quote
Old 07-07-2009, 01:35 PM   #67
Mrreality13
Apprentice
 
Join Date: Nov 2008
Location: in a NOMAM meeting atm
Posts: 82
Mrreality13 is an unknown quantity at this point
Default

ok i give up --has to be my linux pc will have to try again with a better one --best of luck with this awesome project
__________________
never approach a computer thinking"this will just take a minute"-- 59 barb- main//conj 50 parked//40 knight parked
Mrreality13 no ha iniciado sesión   Reply With Quote
Old 07-07-2009, 01:59 PM   #68
Acknor
Apprentice
 
Acknor's Avatar
 
Join Date: Dec 2008
Posts: 75
Acknor is on a distinguished road
Default

So, I have a friend who's just installed Ubuntu on his PC and has been playing Regnum on XP up until now. He's never used a Linux distro in the past. Would you suggest this method for him to install or is it still not quite ready to go?
Acknor no ha iniciado sesión   Reply With Quote
Old 07-07-2009, 02:34 PM   #69
onemyndseye
Master
 
onemyndseye's Avatar
 
Join Date: Jul 2008
Location: South Central USA
Posts: 260
onemyndseye is on a distinguished road
Default

If you are comfortable with adding the repo to your sources Id say its quite stable...

ive had no issues on about 12 different test machines now and several VM's just to test the install process and so far everything seems 100%.. there is a small issue in the /usr/bin/regnum-online where a "chmod" should be a "chown" but this fixed in the next update and shouldnt present any issue on 99.999% installs.

On a plus side, youd be helping support and test this install method

Should any issue's arise please refer to this thread and I'll help you work them out.

As a general rule, this package should always function better than NGD's current installer through no fault of NGD or InstallJammer (The software used to package the installer).. It is simply a broad approach to packaging/installing RO on many differnet Linux platforms whereas this package will always contain tweaks and fixups tailored for Debian/Ubuntu (And other distros when I have the time)
__________________
RA/Syrtis Hunter LVL50: Elusis
RA/Syrtis Barba LVL50: Artemisia
RA/Syrtis Conju Lvl45: Nellas Miriel

Last edited by onemyndseye; 07-07-2009 at 02:50 PM.
onemyndseye no ha iniciado sesión   Reply With Quote
Old 07-07-2009, 02:43 PM   #70
Acknor
Apprentice
 
Acknor's Avatar
 
Join Date: Dec 2008
Posts: 75
Acknor is on a distinguished road
Default

Okay, I'll help him through this method and let you know how it goes. I've just got my fingers crossed that he hasn't got an unsupported video card since I'm a bit of a Linux noob myself...
Acknor no ha iniciado sesión   Reply With Quote
Reply

Tags
linux instalador, linux installer


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:47 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved