OK I give in. What linux installation document? I have checked the
/docs directory and all be danged if it is there anywhere. Oddly, there IS a windows document. what I would want with that from a linux install package I am not at all sure.
You should have a "unix.install.txt" file in the folder after you unzip/unrar the download from the Mystic website.
First off, version 1.12A31 is not offering me a 'DG' option. Only 'DD' and 'D3'.
cannot create /root/.dosemu/run
cannot open /root/.dosemu/boot.log for writing
Following the directions in the document leads to a couple of other
issue, however.
First off, version 1.12A31 is not offering me a 'DG' option. Only 'DD' and 'D3'.
Second, no matter which one of those I try, I get the following (paraphrased) errors:
cannot create /root/.dosemu/run
cannot open /root/.dosemu/boot.log for writing
I know I have to "sudo" to start mis, but why is it (still) trying to do things as "root" once it is running? ps reports that the 'mis' and 'mystic' processes belong to the non-root BBS activity user, so I am failing to understand why it is trying to spawn dosemu as the root user or, at least, trying to create directories and logs in the /root directory.
³ MP> cannot create /root/.dosemu/run
³ MP> cannot open /root/.dosemu/boot.log for writing
³ MP>
³
³ Hopefully someone else can give you a hand with this. I took a
different ³ approach to installing Mystic by installing it in my home folder to avoid ³ using root at all.
It is in my home folder also. I still have to start mis with "sudo
./mis" but the owner of the process is the BBS user, and the files
reside in that user home folder.
Trying it as root would cause too many issues. :)
Don't run MIS or MIS2 using sudo to set root.. run it as the actual root user by either logging in as root acct (if root is disabled you need to set a password to unlock the acct by tying sudo passwd root) or you need to change to superuser by using the command: sudo su
Here is another thing you can try.. first, login with the user account that you use for the BBS, then start dosemu as THAT account so it will create it's folders in your $HOME/user/.dosemu folder .. I know I had problems with it in the past but I _DID_ get it to work, but
unfortunatly now my BBS is running on the Pi and dosemu is not supported by the ARM/v7+ processor.. hopefully the devs wake up and realize that
the Pi is a rising force in the microPC world.
G00r00 designed it to run from sudo under the user, it should bind to the port (<1000) then switch back to that user. If using a port above 1000
you shouldn't have to do that. Remember to set ownership:
sudo chown -R name:name /msytic
The ARM does have DOSBox and it works (very slow on early units like A & B). Though I think doorparty is the way to go with the Pi.
Yea I'm aware of that, but it's 100% easier to have the BBS running as root because I don't know too many sysops that use a telnet port over
1000 .. it's just a matter of convenience for me to just have everything SUID0 to start it all from rc scripts at boot time.
I have the Pi 3 .. I wasn't even aware that dosbox was ported to any
Linux .. I'm all over that like white on rice! I'll have a look see at
it later today and see what I can come up with. I'll post results
On 10/27/16, Night Stalker said the following...
Don't run MIS or MIS2 using sudo to set root.. run it as the actual r user by either logging in as root acct (if root is disabled you need set a password to unlock the acct by tying sudo passwd root) or you n to change to superuser by using the command: sudo su
G00r00 designed it to run from sudo under the user, it should bind to the port (<1000) then switch back to that user. If using a port above 1000
you shouldn't have to do that. Remember to set ownership:
sudo chown -R name:name /msytic
bcw142 wrote to Night Stalker <=-
G00r00 designed it to run from sudo under the user, it should bind to
the port (<1000) then switch back to that user. If using a port above
1000 you shouldn't have to do that. Remember to set ownership:
sudo chown -R name:name /msytic
The ARM does have DOSBox and it works (very slow on early units like A
& B). Though I think doorparty is the way to go with the Pi.
The BBS may be have to run as root, but the folder owner should be the user account, mystic when drops to load an app/door changes to who-ever owns the folder.
As mentioned, it will NOT run as root. It will only use root until itbinds
to your ports, and then it will switch to the user who owns the executable. [snip]
I would not suggest that you run it all as root, that seems inherently risky to me and not necessary.
The DOSemu issue looks like an environment issue to me, specifically, the setting of $HOME. Another approach could be to use a wrapper script to set the environment variables. This could be done in one of 2 places:
Either when MIS is started (e.g. sudo /mystic/startmis - a script which sets $HOME and then loads mis/mis2), or when calling DOSemu to run a door.
Mike Powell wrote to Vk3jed <=-
Do you mean by adding a line such as this to one of the scripts?:
export HOME=/home/user
I have that set in other scripts so I will try it. How would one try
it directly when calling DOSemu to run the door?
Yeah, which makes me wonder why it was trying to call /root/.dosemu instead of /home/user/.dosemu. That directory exists and is owned by
the user.
Mike
---
þ SLMR 2.1a þ Isn't this where....
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 2 |
Nodes: | 8 (0 / 8) |
Uptime: | 67:44:28 |
Calls: | 2,119 |
Files: | 11,149 |
D/L today: |
45 files (9,960K bytes) |
Messages: | 950,556 |