• BBS platforms

    From Nightfox@21:1/137 to All on Tuesday, September 13, 2022 10:46:56
    For sysops, I'm just curious what platforms & operating system you run your BBS in?

    When I started my current BBS in 2007, I ran it in Windows for many years (sometimes on native hardware, and sometimes in a Windows VM). About 4 months ago, I decided to move my BBS setup to run in Linux (I've been running Linux as the host OS on my BBS PC since 2015 but had been running my BBS in a Windows VM on it). I'm using Synchronet, which is cross-platform, so I basically just had to move my comfiguration over to the Linux host OS and then update my DOS door configurations to make sure they'd run with DOSEMU in Linux. I did have a couple of Win32-native doors, which I lost, unfortunately (Tournament Trivia, Ashrella: Test of Time), but I was able to move at least one set of trivia questions to a DOS trivia door.

    TradeWars 2002 initially wasn't running in Linux (DOSEMU 1.x was the default supported by Synchronet), but this past weekend I was able to get DOSEMU2 working with Synchronet, and now TradeWars 2002 is able to run again.

    I feel like my BBS PC setup is more efficient now, as everything is running in Linux and I don't really need to run a Windows VM on it now (I also run Plex Media Server and a Minecraft server on it, and I'm also running PiHole on it as a network-wide ad blocker).

    I think it's pretty cool what you can do these days with Linux, a free OS, and the free software available for it.


    Sorry for the long-winded post..

    Nightfox
    --- SBBSecho 3.15-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From ogg@21:2/147 to Nightfox on Tuesday, September 13, 2022 13:35:42

    On 13 Sep 2022, Nightfox said the following...

    For sysops, I'm just curious what platforms & operating system you run your BBS in?

    When I started my current BBS in 2007, I ran it in Windows for many years (sometimes on native hardware, and sometimes in a Windows VM). About 4 months ago, I decided to move my BBS setup to run in Linux (I've been running Linux as the host OS on my BBS PC since 2015 but had been
    running my BBS in a Windows VM on it). I'm using Synchronet, which is cross-platform, so I basically just had to move my comfiguration over to the Linux host OS and then update my DOS door configurations to make
    sure they'd run with DOSEMU in Linux. I did have a couple of
    Win32-native doors, which I lost, unfortunately (Tournament Trivia, Ashrella: Test of Time), but I was able to move at least one set of
    trivia questions to a DOS trivia door.

    I'm running Mystic on Ubuntu. Due to some python issues, I'm considering moving to another distro. I'm curious as to what others are running on as well.

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... If you choose not to decide, you still have made a choice

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From Nightfox@21:1/137 to ogg on Tuesday, September 13, 2022 12:01:26
    Re: Re: BBS platforms
    By: ogg to Nightfox on Tue Sep 13 2022 01:35 pm

    I'm running Mystic on Ubuntu. Due to some python issues, I'm considering moving to another distro. I'm curious as to what others are running on as well.

    I'm currently running my BBS (Synchronet) on Linux Mint. I've heard Linux Mint is based on Ubuntu and Debian.

    What Python issues are you running ito?

    Nightfox
    --- SBBSecho 3.15-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From nristen@21:1/161 to Nightfox on Tuesday, September 13, 2022 22:30:16
    For sysops, I'm just curious what platforms & operating system you run your BBS in?

    In 1995 I ran Mustang BBS. This was in an apartment so I could only have up
    to two phone lines. 1 line was dedicated for the BBS. The 2nd line was connected to the BBS at night. I stopped running a bbs about a year later
    when I started connecting to the internet.

    Several years ago I started the bbs up again using Mystic on a Raspberry Pi
    3B. I took the BBS down while moving accross the country and while I was having a new house built. Afterwards, I setup Mystic again this time on a $3/month VPS.

    nristen (Karl Harris)
    bbs: bbs.theharrisclan.net SSH/2222
    gemini: gemini.ctrl-c.club/~nristen

    --- Mystic BBS v1.12 A46 2020/03/07 (Linux/64)
    * Origin: The Search BBS bbs.theharrisclan.net (34123/2222) (21:1/161)
  • From Warpslide@21:3/110.1 to Nightfox on Tuesday, September 13, 2022 17:53:50
    *** Quoting Nightfox from a message to All ***

    For sysops, I'm just curious what platforms & operating system you
    run your BBS in?

    I started out with Mystic on an Intel NUC running Windows 10 (32bit), then I switched to Mystic on a Raspberry Pi, I'm now running Telegard under a
    Windows 10 (32bit) VM.

    This Telegard BBS is a point for a Linux VM on the same box running
    husky/hpt.

    I'm using Synchronet, which is cross-platform, so I basically just had
    to move my comfiguration over to the Linux host OS and then update
    my DOS door configurations to make sure they'd run with DOSEMU in Linux.

    I used to run my own doors on Windows, but now I just use BBSLink that
    way it works whether I'm using Windows, Linux or whatever and I get to play with other people.


    Jay

    ... Gaining weight is a piece of cake

    --- Telegard v3.09.g2-sp4/mL
    * Origin: Northern Realms | tg.nrbbs.net | 289-424-5180 (21:3/110.1)
  • From ogg@21:2/147 to Nightfox on Tuesday, September 13, 2022 17:54:22
    I'm currently running my BBS (Synchronet) on Linux Mint. I've heard
    Linux Mint is based on Ubuntu and Debian.

    What Python issues are you running ito?

    I've got one python2 mod that requires some python modules be installed via pip2 install -r requirements.txt. When I run the mod via Mystic, I get an error message that the mods aren't installed. More details are in the discussion on Mystic BBS dev forum.

    The reason for changing distros is that on the Mystic wiki, there's a comment that the default python2 that comes with Ubuntu does not play nice with the embedded python in Mystic. The fix, according to the wiki, is to recompile python with some specific modules. I have not been able to find a file for one of the modules (libreadline-gplv2-dev) that will install.

    I'm open to other solutions if you've got any to offer!

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... I don't have the time for a hobby. I have a computer.

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From Bucko@21:4/131 to Nightfox on Tuesday, September 13, 2022 18:54:44
    On 13 Sep 2022, Nightfox said the following...

    For sysops, I'm just curious what platforms & operating system you run your BBS in?

    Back in the 80's and 90's I ran a Commodore BBS, Image BBS to be exact. Then went to an Amiga BBS Excelsior! (Ran this on a Amiga A3000), went to WildCat! v5 on WIndows 95 when it was released. Took the BBS down in 97.

    Got back into it in 2018, wanted to run Mystic in a Windows VM on a Linux Mint base, but was to stupid to understand Mint at the time. I run 5 boards now, 1 Commodore 64 board on a PC with Vice Emulation (although I do have the real hardware to run it why should I kill the hardware?), an Amiga C-Net BBS on a WIndows 10 machine with WinUAE emulation. A SynchroNet in Win 10 also, and Mystic in Win10 plus a Synchro Door Server also in Windows 10. All of these machines are Virtual Machines in Proxmox.. Everything else I have is all Debian now.. Except for my main daily driver which if it weren't for a driver issue would be on debian, but is instead on Win 11..

    AL

    ... There are three kinds of people: Those who can count, and those who can't

    --- Mystic BBS v1.12 A48 2022/07/15 (Windows/32)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)
  • From nugax@21:1/167 to Nightfox on Tuesday, September 13, 2022 17:52:37
    On 13 Sep 22 10:46:56, Nightfox wrote:
    For sysops Im just curious what platforms & operating system you run your BBS in?

    When I started my current BBS in 2007 I ran it in Windows for many years (sometimes on native hardware and sometimes in a Windows VM). About 4 months ago I decided to move my BBS setup to run in Linux (Ive been running Linux as the host OS on my BBS PC since 2015 but had been running my BBS in a Windows VM on it). Im using Synchronet which is cross-platform so I basically just had to move my comfiguration over to the Linux host OS and then update my DOS door configurations to make sure theyd run with DOSEMU in Linux. I did have a couple of Win32-native doors which I lost unfortunately (Tournament Trivia Ashrella: Test of Time) but I was able to move at least one set of trivia questions to a DOS trivia door.

    TradeWars 2002 initially wasnt running in Linux (DOSEMU 1.x was the default supported by Synchronet) but this past weekend I was able to get DOSEMU2 working with Synchronet and now TradeWars 2002 is able to run again.

    I feel like my BBS PC setup is more efficient now as everything is running in Linux and I dont really need to run a Windows VM on it now (I also run Plex Media Server and a Minecraft server on it and Im also running PiHole on it as a network-wide ad blocker).

    I think its pretty cool what you can do these days with Linux a free OS and the free software available for it.


    Sorry for the long-winded post..

    Nightfox
    --- SBBSecho 3.15-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)


    I am writing CyberBBS - which at this point will only support Linux, Pi, and maybe FreeBSD.

    -Nugax [CyberBBS]


    --- CyberBBS v1.0.8 2022/09/13 [LMDE 4/x86_64]
    * Origin: CyberBBS WHQ | http://www.cyberbbs.com (21:1/167)
  • From Nightfox@21:1/137 to ogg on Tuesday, September 13, 2022 16:31:27
    Re: Re: BBS platforms
    By: ogg to Nightfox on Tue Sep 13 2022 05:54 pm

    What Python issues are you running ito?

    I've got one python2 mod that requires some python modules be installed via pip2 install -r requirements.txt. When I run the mod via Mystic, I get an error message that the mods aren't installed. More details are in the discussion on Mystic BBS dev forum.

    I don't know much about Mystic at all, but I'm pretty sure you can have multiple Python versions installed at the same time, each with their own set of modules etc.. I'd wonder if Mystic is using the wrong one.

    Nightfox
    --- SBBSecho 3.15-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From ogg@21:2/147 to Nightfox on Tuesday, September 13, 2022 19:19:39
    I don't know much about Mystic at all, but I'm pretty sure you can have multiple Python versions installed at the same time, each with their own set of modules etc.. I'd wonder if Mystic is using the wrong one.
    At this point, I suspect its the interface between python and the embedded python in Mystic. It's only a guess however.

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... Just another prisoner of gravity!

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From nugax@21:1/167 to ogg on Tuesday, September 13, 2022 20:00:22
    On 13 Sep 22 17:54:22, ogg wrote:
    Im currently running my BBS (Synchronet) on Linux Mint. Ive heard Linux Mint is based on Ubuntu and Debian.

    What Python issues are you running ito?

    Ive got one python2 mod that requires some python modules be installed via pip2 install -r requirements.txt. When I run the mod via Mystic I get an error message that the mods arent installed. More details are in the discussion on Mystic BBS dev forum.

    The reason for changing distros is that on the Mystic wiki theres a comment that the default python2 that comes with Ubuntu does not play nice with the embedded python in Mystic. The fix according to the wiki is to recompile python with some specific modules. I have not been able to find a file for one of the modules (libreadline-gplv2-dev) that will install.

    Im open to other solutions if youve got any to offer!

    ogg

    Sysop Altair IV BBS
    Lufkin TX
    fsxnet: 21:2/147

    ... I dont have the time for a hobby. I have a computer.

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)



    -Nugax [CyberBBS]


    --- CyberBBS v1.0.8 2022/09/13 [LMDE 4/x86_64]
    * Origin: CyberBBS WHQ | http://www.cyberbbs.com (21:1/167)
  • From paulie420@21:2/150 to Nightfox on Tuesday, September 13, 2022 16:56:02
    For sysops, I'm just curious what platforms & operating system you run your BBS in?

    Back in the 90s, I ran my first bbS on a 286 machine w/ DOS - my parents were upset that since I had a new hobby, I needed both a phone line AND the full use of my computer to doso. After that machine, I ended up getting a 386 & 486 - and settled on using the 386 as my daily driver and the 486 w/ Desqview to run the bbS. :P They could never understand why I wanted to doso. :P

    When I came back to bbSing, I used a Raspberry Pi 3 - and then a 4 - to run 2o for a couple years. It worked well, but I had some issues w/ local door games running Linux on the ARM hardware. Both ran Raspberry Pi OS, which is a Linux Debian flavor.

    Since I wanted to do that easier, I've since switched 2o to my server machine in a ProxMox VM. It runs x86 architecture, so its a bit easier to run those local doors. Also, with a PBS (Proxmox Backup Server) I can easily backup all my services/VMs much more easily. I think I'll live here for a while. I settled on Ubuntu Server.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From esc@21:4/173 to Nightfox on Tuesday, September 13, 2022 23:21:40
    For sysops, I'm just curious what platforms & operating system you run your BBS in?

    I use linux - Ubuntu Server, to be exact. The reason I use Ubuntu Server is that I like the Debian 'apt' construct, upgrades, systemd (gasp!), etc., but I prefer the frequency at which Ubuntu is updated.

    I run this all in a DigitalOcean VM. Additionally, I run another VM with 32 bit Windows 7, and use that to host MajorBBS, TBBS, and GameSRV.

    The Win7 box is /barely/ able to connect to the internet, really the only things that can reach it are my RDP connection and my other BBS :)

    the Linux host OS and then update my DOS door configurations to make
    sure they'd run with DOSEMU in Linux. I did have a couple of

    DOSEMU works great, but not perfectly. There are some games, typically ones with a "roguelike" aspect to them like LORD2 and LORE, which for some reason don't work well for me in DigitalOcean VMs on DOSEMU. I can't reproduce the issue locally in DOSEMU but at the end of the day I simply decided to use the Win7 VM instead.

    The issues this creates, I'm sure you can imagine, is now I have to maintain two systems and ensure they are up, and if I ever decide to do any sort of InterBBS gaming, it will be a bit of a struggle...but on the positive side, my BBS hosting VM doesn't use any real CPU running games. Most of them are pretty lightweight but for some reason LORD versions prior to 4.0 really peg the CPU. *shrug*

    TradeWars 2002 initially wasn't running in Linux (DOSEMU 1.x was the default supported by Synchronet), but this past weekend I was able to
    get DOSEMU2 working with Synchronet, and now TradeWars 2002 is able to
    run again.

    Yep, this was super exciting for me with DOSEMU2.

    Interestingly, I was also able to get TWGS to work with VNC on a headless VM. Now it runs on Win7, but at the time I was proud of myself, hehe.

    I think it's pretty cool what you can do these days with Linux, a free
    OS, and the free software available for it.

    Indeed. I use linux as my daily driver as well, and one of my work computers is a linux box. I recently ditched Windows 11 and aside from some game compatibility am happy with my decision.

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From esc@21:4/173 to ogg on Tuesday, September 13, 2022 23:22:20
    I'm running Mystic on Ubuntu. Due to some python issues, I'm considering moving to another distro. I'm curious as to what others are running on
    as well.

    What are your python issues? Hit me up on Discord if you see me in any servers and maybe I can help.

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From esc@21:4/173 to ogg on Tuesday, September 13, 2022 23:25:42
    I've got one python2 mod that requires some python modules be installed via pip2 install -r requirements.txt. When I run the mod via Mystic, I get an error message that the mods aren't installed. More details are
    in the discussion on Mystic BBS dev forum.

    I /think/ I know what's happening here. When you launch 'mis', are you doing it as root and then mis drops setuid to the user which owns it?

    I've run into funny issues with the whole 'root to user' thing. I launch mis as a regular user and that has fixed a slew of issues.

    Give that a shot, if you need to bind to low ports as a user, there are ways to do that. I bet this clears things up for you.

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From esc@21:4/173 to Nightfox on Tuesday, September 13, 2022 23:26:52
    I don't know much about Mystic at all, but I'm pretty sure you can have multiple Python versions installed at the same time, each with their own set of modules etc.. I'd wonder if Mystic is using the wrong one.

    Unfortunately not on linux, and nobody quite understands why.

    Maybe the real "fix" here is to migrate everything to modern python and drop all my python2 scripts. :/

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From Nightfox@21:1/137 to paulie420 on Wednesday, September 14, 2022 08:56:39
    Re: Re: BBS platforms
    By: paulie420 to Nightfox on Tue Sep 13 2022 04:56 pm

    Back in the 90s, I ran my first bbS on a 286 machine w/ DOS - my parents were upset that since I had a new hobby, I needed both a phone line AND the full use of my computer to do so. After that machine, I ended up getting a 386 & 486 - and settled on using the 386 as my daily driver and the 486 w/ Desqview to run the bbS. :P They could never understand why I wanted to do so. :P

    :) If it was your computer, why were they upset you needed full use of your computer?
    A couple years after I got my first PC (with a modem), my parents decided to get a 2nd phone line for my computer so I could use my modem any time and not tie up the phone line (and also because they said a couple times the modem was answering our phone :P). I'm grateful they were willing to get a 2nd phone line for me.. I started setting up a BBS pretty much right a way (that was 1994). At the time, I had a 386SX-16.

    When I came back to bbSing, I used a Raspberry Pi 3 - and then a 4 - to run 2o for a couple years. It worked well, but I had some issues w/ local door games running Linux on the ARM hardware. Both ran Raspberry Pi OS, which is a Linux Debian flavor.

    That's cool. For my current BBS, I was running it on a PC with Windows, and I moved it to Linux about 5 months ago.

    Nightfox
    --- SBBSecho 3.15-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From Nightfox@21:1/137 to esc on Wednesday, September 14, 2022 09:03:19
    Re: Re: BBS platforms
    By: esc to Nightfox on Tue Sep 13 2022 11:21 pm

    I use linux - Ubuntu Server, to be exact. The reason I use Ubuntu Server is that I like the Debian 'apt' construct, upgrades, systemd (gasp!), etc., but I prefer the frequency at which Ubuntu is updated.

    Interesting.. I'm running my BBS on Linux Mint - which has apt and uses systemd. Mint seems to be updated fairly frequently. Mint is based on Ubuntu and Debian, so it shares a lot of things with those distros.

    DOSEMU works great, but not perfectly. There are some games, typically ones with a "roguelike" aspect to them like LORD2 and LORE, which for some reason don't work well for me in DigitalOcean VMs on DOSEMU. I can't reproduce the issue locally in DOSEMU but at the end of the day I simply decided to use the Win7 VM instead.

    I don't have LORE installed, though LORD2 seems to at least run in DOSEMU.

    Most of them are pretty lightweight but for some reason LORD versions prior to 4.0 really peg the CPU. *shrug*

    I hadn't paid a whole lot of attentino, but it seemed that a DOS VM did seem to use a significant percentage of the CPU, even in Windows. DOSEMU in Linux seems to use a significant percentage of the CPU sometimes.

    Interestingly, I was also able to get TWGS to work with VNC on a headless VM. Now it runs on Win7, but at the time I was proud of myself, hehe.

    When I was using DOSEMU1, I set up TWGS in a Windows VM and used that since I wasn't yet able to run TW2002 in DOSEMU. But one of the reasons I moved my BBS from Windows to the Linux host OS was so I could stop running a Windows VM on that machine, so I was a little frustrated.. I'm glad I was able to get DOSEMU2 working with Synchronet and that TW2002 runs with it. Now I feel like I don't really need that Windows VM anymore. But I do think it's a bummer I can no longer run Ashrella: Test of Time, which was a Win32 BBS door.

    Nightfox
    --- SBBSecho 3.15-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From Nightfox@21:1/137 to esc on Wednesday, September 14, 2022 09:03:57
    Re: Re: BBS platforms
    By: esc to Nightfox on Tue Sep 13 2022 11:26 pm

    I don't know much about Mystic at all, but I'm pretty sure you can
    have multiple Python versions installed at the same time, each with
    their own set of modules etc.. I'd wonder if Mystic is using the
    wrong one.

    Unfortunately not on linux, and nobody quite understands why.

    Hmm.. That's odd. :/

    Nightfox
    --- SBBSecho 3.15-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From esc@21:4/173 to Nightfox on Wednesday, September 14, 2022 11:58:04
    Interesting.. I'm running my BBS on Linux Mint - which has apt and uses systemd. Mint seems to be updated fairly frequently. Mint is based on Ubuntu and Debian, so it shares a lot of things with those distros.

    Nice. Yeah, the reasons I don't use any other debian/ubuntu derivative are twofold:

    1 - I don't actually need any sort of GUI, it's just headless
    2 - Some of these distros inject their own package logic which can be troublesome at times

    But on the whole I think mint has a pretty good track record.

    I don't have LORE installed, though LORD2 seems to at least run in
    DOSEMU.

    For me it would run, but there were some graphical artifacts, and it would get confused if I pressed the arrow keys to move around too quickly. It's a strange issue. But the graphical artifacts were super annoying and the arrow key thing made gameplay difficult if not impossible at some points.

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From esc@21:4/173 to Nightfox on Wednesday, September 14, 2022 12:00:10
    When I was using DOSEMU1, I set up TWGS in a Windows VM and used that since I wasn't yet able to run TW2002 in DOSEMU. But one of the reasons
    I moved my BBS from Windows to the Linux host OS was so I could stop running a Windows VM on that machine, so I was a little frustrated..
    I'm glad I was able to get DOSEMU2 working with Synchronet and that
    TW2002 runs with it. Now I feel like I don't really need that Windows
    VM anymore. But I do think it's a bummer I can no longer run Ashrella: Test of Time, which was a Win32 BBS door.

    For what it's worth, you can totally run TWGS on your linux box without a Windows VM. If this is of interest to you, let me know and I can help you get things configured :)

    Also, when you say Ashrella, do you mean Ambroshia? If yes, I can also help here. Ambroshia has a linux port which needs a bit of massaging to get to work but runs perfectly once the initial setup is done.

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From Nightfox@21:1/137 to esc on Wednesday, September 14, 2022 12:27:45
    Re: Re: BBS platforms
    By: esc to Nightfox on Wed Sep 14 2022 12:00 pm

    For what it's worth, you can totally run TWGS on your linux box without a Windows VM. If this is of interest to you, let me know and I can help you get things configured :)

    I had thought about trying to run it with Wine - Is that how you run it? Right now though I think I'll just stick with the DOS TW2002.

    Also, when you say Ashrella, do you mean Ambroshia? If yes, I can also help here. Ambroshia has a linux port which needs a bit of massaging to get to work but runs perfectly once the initial setup is done.

    Ah, yes, I meant Ambroshia. I thought I had seen a Linux port, but what I found was some really old source code that wouldn't build on my current Linux setup. If you can help, I'd like to get it set up though.

    Nightfox
    --- SBBSecho 3.15-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From ogg@21:2/147 to esc on Wednesday, September 14, 2022 16:29:04
    I /think/ I know what's happening here. When you launch 'mis', are you doing it as root and then mis drops setuid to the user which owns it?

    I've run into funny issues with the whole 'root to user' thing. I launch mis as a regular user and that has fixed a slew of issues.

    I launch 'mis' as a regular user and don't have this issue with other python2 mods. Thanks for the tip though!

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... DOS=HIGH? I knew it was on something...

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From ogg@21:2/147 to esc on Wednesday, September 14, 2022 16:30:30
    Maybe the real "fix" here is to migrate everything to modern python and drop all my python2 scripts. :/

    That thought has crossed my mind.

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... Kilometers are shorter than miles. Save gas, take your trip in kilometers

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From paulie420@21:2/150 to Nightfox on Wednesday, September 14, 2022 14:47:50
    :) If it was your computer, why were they upset you needed full use of your computer?

    'We spent $1500 so you can do what, with who?!?!? Are you hacking!? Is that legal!?!?' (yes, yes, ehmm..)

    That's cool. For my current BBS, I was running it on a PC with Windows, and I moved it to Linux about 5 months ago.

    Nice - welcome to the *nix side. I find it more stable for running a full-time... but I did recently have a decent experience with Windows - I can see how ppl enjoy having everything on what they know, or use daily...

    good thread.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From esc@21:4/173 to Nightfox on Wednesday, September 14, 2022 17:50:04
    I had thought about trying to run it with Wine - Is that how you run it? Right now though I think I'll just stick with the DOS TW2002.

    Yep, through Wine. I host both DOS version and TWGS simply because I paid for them. Lol. Little sunk cost fallacy there...

    Ah, yes, I meant Ambroshia. I thought I had seen a Linux port, but what
    I found was some really old source code that wouldn't build on my
    current Linux setup. If you can help, I'd like to get it set up though.

    Check out this site and grab the ambroshia bundle: https://synchronetbbs.org/index.php/downloads/category/3-doors?lms=7&start=90

    I seem to recall there's an extra step or two beyond what's listed in the archive but this should be good to get you started. It works well, and super fast, and with the addon quests.

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From Irish_Monk@21:4/184 to paulie420 on Wednesday, September 14, 2022 20:46:43
    :) If it was your computer, why were they upset you needed full use your computer?

    'We spent $1500 so you can do what, with who?!?!? Are you hacking!? Is that legal!?!?' (yes, yes, ehmm..)

    When MIRC was somewhat new, thru my internet provider, (Continuum) I could dial into him at 28.8, go to the MIRC chat rooms and download warez to his HD at the speed of light it seemed. Then at night time I was batch downloading all the files to my HD for my BBS, Well the guy caught onto this obviously and called the # on the account which of course he ended up talking to my Mom. I was only 12-15 years old during my BBS days back then, and my mom acted like I was hacking into the White House or something. Almost lost access to MY computer.

    |10I|02rish_|10M|02onk

    ... Live every day as though it were your last. One day, you'll be right

    --- Mystic BBS v1.12 A48 2022/07/15 (Windows/64)
    * Origin: WarpeD SocieTy (21:4/184)
  • From esc@21:4/173 to ogg on Wednesday, September 14, 2022 17:53:36
    I launch 'mis' as a regular user and don't have this issue with other python2 mods. Thanks for the tip though!

    The only thing I can think of for now is that perhaps you have multiple versions of python2 installed?

    I use the one packaged by Ubuntu's apt repository on Ubuntu 22.04.

    ryan@montereybbs:~$ sudo apt list --installed | grep python2WARNING: apt does not have a stable CLI interface. Use with caution in scripts.libpython2.7-dev/jammy-updates,jammy-security,now 2.7.18-13ubuntu1.1 amd64 [installed,automatic]libpython2.7-minimal/jammy-updates,jammy-security,now 2.7.18-13ubuntu1.1 amd64 [installed,automatic]libpython2.7-stdlib/jammy-updates,jammy-security,now 2.7.18-13ubuntu1.1 amd64 [installed,automatic]libpython2.7/jammy-updates,jammy-security,now 2.7.18-13ubuntu1.1 amd64 [installed]python2.7-dev/jammy-updates,jammy-security,now 2.7.18-13ubuntu1.1 amd64 [installed]python2.7-minimal/jammy-updates,jammy-security,now 2.7.18-13ubuntu1.1 amd64 [installed,automatic]python2.7/jammy-updates,jammy-security,now 2.7.18-13ubuntu1.1 amd64 [installed,automatic]

    In mystic -cfg, Configuration -> General Settings, under Python2 Library, I have

    /usr/lib/x86_64-linux/gnu/libpython2.7.so.1.0

    When you use pip to install things, are you using that as your regular user or do you ever use 'sudo'? And are you using any sort of 'pyenv' thing to manage multiple versions of python, multiple environments perhaps?

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From ogg@21:2/147 to esc on Wednesday, September 14, 2022 20:33:45
    I use the one packaged by Ubuntu's apt repository on Ubuntu 22.04.

    ryan@montereybbs:~$ sudo apt list --installed | grep python2WARNING: apt does not have a stable CLI interface. Use with caution in scripts.libpython2.7-dev/jammy-updates,jammy-security,now 2.7.18-13ubuntu1.1 amd64 [installed,automatic]libpython2.7-minimal/jammy-updates,jammy-security,now 2.7.18-13ubuntu1.1 amd64 [installed,automatic]libpython2.7-stdlib/jammy-updates,jammy-security,now 2.7.18-13ubuntu1.1 amd64 [installed,automatic]libpython2.7/jammy-updates,jammy-security,now 2.7.18-13ubuntu1.1 amd64 [installed]python2.7-dev/jammy-updates,jammy-security,now 2.7.18-13ubuntu1.1 amd64 [installed]python2.7-minimal/jammy-updates,jammy-security,now 2.7.18-13ubuntu1.1 amd64 [installed,automatic]python2.7/jammy-updates,jammy-security,now 2.7.18-13ubuntu1.1 amd64 [installed,automatic]
    My results are identical.

    In mystic -cfg, Configuration -> General Settings, under Python2
    Library, I have

    /usr/lib/x86_64-linux/gnu/libpython2.7.so.1.0
    Same here.

    When you use pip to install things, are you using that as your regular user or do you ever use 'sudo'? And are you using any sort of 'pyenv' thing to manage multiple versions of python, multiple environments perhaps?
    I don't use pyenv although I was looking at it as a potential. As to pip, I usually use my regular account. Once, in trying to debug, I used sudo but it didn't seem to make any difference. I do have python3 installed.

    Thanks for the suggestions/questions. I haven't given up but I'm leaning towards some sort of issue between Mystic's embedded python and the stock python2 from Ubuntu as mentioned in Mystic's wiki.

    I would just like to thank everyone for their questions and suggestions on this. That's why I came here for help!

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... DOS=HIGH? I knew it was on something...

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From Nightfox@21:1/137 to paulie420 on Wednesday, September 14, 2022 18:43:34
    Re: Re: BBS platforms
    By: paulie420 to Nightfox on Wed Sep 14 2022 02:47 pm

    That's cool. For my current BBS, I was running it on a PC with
    Windows, and I moved it to Linux about 5 months ago.

    Nice - welcome to the *nix side. I find it more stable for running a full-time... but I did recently have a decent experience with Windows - I can see how ppl enjoy having everything on what they know, or use daily...

    I've used Linux for various things on and off for years, but originally I figured I'd run my current BBS on (32-bit) Windows because DOS doors generally just work without any extra hassle that way. Also, Windows is generally what I use most of the time for my personal work, so I'm more familiar with it. But with my BBS PC, years ago I had decided I wanted to use some other things (like Plex Media Server), and I thought Linux would be a better choice, so I ended up installing Linux on it for those things and running my BBS in a Windows VM. Eventually I wanted to get rid of the Windows VM, and now that I have, I think the system runs a lot better, and I think it's nicer that it's all Linux now.

    Nightfox
    --- SBBSecho 3.15-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From Nightfox@21:1/137 to esc on Wednesday, September 14, 2022 18:44:18
    Re: Re: BBS platforms
    By: esc to Nightfox on Wed Sep 14 2022 05:50 pm

    Ah, yes, I meant Ambroshia. I thought I had seen a Linux port, but
    what I found was some really old source code that wouldn't build on
    my current Linux setup. If you can help, I'd like to get it set up
    though.

    Check out this site and grab the ambroshia bundle: https://synchronetbbs.org/index.php/downloads/category/3-doors?lms=7&start =90

    I seem to recall there's an extra step or two beyond what's listed in the archive but this should be good to get you started. It works well, and super fast, and with the addon quests.

    Thanks, I'll check that out.

    Nightfox
    --- SBBSecho 3.15-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From ogg@21:2/147 to ogg on Wednesday, September 14, 2022 21:04:27
    I /think/ I know what's happening here. When you launch 'mis', are you
    doing it as root and then mis drops setuid to the user which owns it?

    I've run into funny issues with the whole 'root to user' thing. I laun
    mis as a regular user and that has fixed a slew of issues.

    I launch 'mis' as a regular user and don't have this issue with other python2 mods. Thanks for the tip though!

    I mis-spoke here. I start 'mis' as a daemon from systemd. I just did some playing around and shut down the bbs, restarted as my regular user and ran the mod. Boy, did I get a suprise! All of a sudden a whole bunch of other error messages popped up but not any about missing modules as before!

    I think you've found it. Thank you!

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... How do I set my laser printer to stun?

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From Nightfox@21:1/137 to esc on Wednesday, September 14, 2022 19:47:28
    Re: Re: BBS platforms
    By: esc to Nightfox on Wed Sep 14 2022 05:50 pm

    Check out this site and grab the ambroshia bundle: https://synchronetbbs.org/index.php/downloads/category/3-doors?lms=7&start =90

    I seem to recall there's an extra step or two beyond what's listed in the archive but this should be good to get you started. It works well, and super fast, and with the addon quests.

    I tried that, and it seemed it needed sqlite3, so I installed that. But then I remembered I had found a package with Ambroshia binaries for Linux before and had tried to get it working but I had given up.. I ran into the same issue this time - I think the issue is that the included binaries are 32-bit, so you need to install some 32-bit libraries, but you need to be careful about which library packages you install. I got my system confused about libstdc++6, but I fixed it, and I think the 32-bit package (libstdc++6:i386) may have been an issue.

    So for now I still haven't gotten Ambroshia set up yet. I'd like to get it installed, but I'm concerned about messing up my system's library configuration again (currently I've fixed it and got it working).

    Nightfox
    --- SBBSecho 3.15-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From NuSkooler@21:1/121 to Nightfox on Wednesday, September 14, 2022 21:13:42

    On Tuesday, September 13th Nightfox muttered...
    For sysops, I'm just curious what platforms & operating system you run your BBS in?
    I think it's pretty cool what you can do these days with Linux, a free OS, and the free software available for it.

    I find that for nearly any retro or "niche" type hobies around software Linux is easily king. Xibalba ran on CentOS 7 for many years up until a couple weeks ago when I used Leapp to do a seemless migration from CentOS 7 to AlmaLinux 8. Pretty impressive how well it worked. I have a mix of doors running under QEMU, DOSEMU and working on some EMU2 and DOSEMU2 based setups.

    TL;DR: Linux is awesome.



    --
    |08 ■ |12NuSkooler |06// |12Xibalba |08- |07"|06The place of fear|07"
    |08 ■ |03xibalba|08.|03l33t|08.|03codes |08(|0344510|08/|03telnet|08, |0344511|08/|03ssh|08)
    |08 ■ |03ENiGMA 1/2 WHQ |08| |03Phenom |08| |0367 |08| |03iMPURE |08| |03ACiDic
    --- ENiGMA 1/2 v0.0.13-beta (linux; x64; 16.16.0)
    * Origin: Xibalba -+- xibalba.l33t.codes:44510 (21:1/121)
  • From Nightfox@21:1/137 to NuSkooler on Wednesday, September 14, 2022 21:59:46
    Re: RE: BBS platforms
    By: NuSkooler to Nightfox on Wed Sep 14 2022 09:13 pm

    I find that for nearly any retro or "niche" type hobies around software Linux is easily king. Xibalba ran on CentOS 7 for many years up until a couple weeks ago when I used Leapp to do a seamless migration from CentOS 7 to AlmaLinux 8. Pretty impressive how well it worked. I have a mix of doors running under QEMU, DOSEMU and working on some EMU2 and DOSEMU2 based setups.

    Some people might think a 32-bit Windows is a better tool for the job of running a BBS, since its NTVDM just works out of the box for DOS doors, but Linux is indeed great.

    Nightfox
    --- SBBSecho 3.15-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From Nightfox@21:1/137 to esc on Wednesday, September 14, 2022 22:01:30
    Re: Re: BBS platforms
    By: esc to Nightfox on Wed Sep 14 2022 05:50 pm

    Check out this site and grab the ambroshia bundle: https://synchronetbbs.org/index.php/downloads/category/3-doors?lms=7&start =90

    I got Ambroshia: Test of Time working in my Linux BBS setup. As mentioned earlier, I had to install sqlite3. As far as the 32-bit libstdc++, I downloaded a package for that but only extracted it and copied the library files alongside Ambroshia. I did see there was a 32-bit libstdc++ included with the Ambroshia package, but it was trying to load a newer version than was included with the package.


    Nightfox
    --- SBBSecho 3.15-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From esc@21:4/173 to ogg on Wednesday, September 14, 2022 22:56:20
    I mis-spoke here. I start 'mis' as a daemon from systemd. I just did some playing around and shut down the bbs, restarted as my regular user and ran the mod. Boy, did I get a suprise! All of a sudden a whole bunch of other error messages popped up but not any about missing modules as before!

    Ah, sweet. This should help solve some things in that case. Just take caution to redo the "setcap" command every time you upgrade mystic :)

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From esc@21:4/173 to Nightfox on Wednesday, September 14, 2022 22:58:38
    So for now I still haven't gotten Ambroshia set up yet. I'd like to get it installed, but I'm concerned about messing up my system's library configuration again (currently I've fixed it and got it working).

    Here's what the ambroshia binary is looking for on my system:

    ryan@montereybbs:/doors/ambroshia$ ldd ambroshia linux-gate.so.1 (0xf7ee0000) libsqlite3.so.0 => /lib/i386-linux-gnu/libsqlite3.so.0 (0xf7d42000) libODoors.so => ./libODoors.so (0xf7d12000) libambroshia.so => ./libambroshia.so (0xf784b000) libstdc++-libc6.2-2.so.3 => /lib/libstdc++-libc6.2-2.so.3 (0xf7803000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf76fb000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf74c6000) /lib/ld-linux.so.2 (0xf7ee2000)

    Sorry if formatting here sucks lol.

    Basically if you have multilib setup you should be able to manually install the included .deb file and it won't interfere with anything else. Just make sure you install the mysql libs with the :i386 suffix.

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From esc@21:4/173 to NuSkooler on Wednesday, September 14, 2022 22:59:36
    I find that for nearly any retro or "niche" type hobies around software Linux is easily king. Xibalba ran on CentOS 7 for many years up until a couple weeks ago when I used Leapp to do a seemless migration from
    CentOS 7 to AlmaLinux 8. Pretty impressive how well it worked. I have a mix of doors running under QEMU, DOSEMU and working on some EMU2 and DOSEMU2 based setups.

    Interesting, I'm curious how you're using DOSEMU, EMU2, and DOSEMU2 all alongside one another?

    If I could do this I think I could probably kill my Windows VM. I mean, I probably /won't/, but I /could/... :)

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From esc@21:4/173 to Nightfox on Wednesday, September 14, 2022 23:00:09
    I got Ambroshia: Test of Time working in my Linux BBS setup. As
    mentioned earlier, I had to install sqlite3. As far as the 32-bit libstdc++, I downloaded a package for that but only extracted it and copied the library files alongside Ambroshia. I did see there was a 32-bit libstdc++ included with the Ambroshia package, but it was trying
    to load a newer version than was included with the package.

    Ah, splendid, glad to see you got it sorted. Sick game. Maybe we should make some extra quests :)

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From tenser@21:1/101 to Nightfox on Friday, September 16, 2022 00:34:48
    On 13 Sep 2022 at 10:46a, Nightfox pondered and said...

    For sysops, I'm just curious what platforms & operating system you run your BBS in?

    For things like this, I use OpenBSD, either on ARM or x86
    (or at home on RISC-V). Then again, I kind of feel that
    the idea of a "BBS" is redundant with the idea of a timesharing
    multiuser operating system. I think I'm in a distinct minority
    there, though.

    Back in the 90s, when I ran a dialup BBS, I sort of wish that
    I had discovered Coherent earlier. This was a clone of, basically,
    7th Edition Unix, written originally for the PDP-11 but ported
    around and eventually running on PC-class hardware. It was often
    advertised in the back of magazines like Computer Shopper and the
    like, and cost something like $99. It was a full 32-bit multiuser, multitasking operating system and as a Unix clone, it was pretty
    reasonable until Linux et al came along. That would have been more
    interesting than Spitfire! under DOS.

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Nightfox@21:1/137 to tenser on Thursday, September 15, 2022 08:19:24
    Re: Re: BBS platforms
    By: tenser to Nightfox on Fri Sep 16 2022 12:34 am

    For things like this, I use OpenBSD, either on ARM or x86
    (or at home on RISC-V). Then again, I kind of feel that
    the idea of a "BBS" is redundant with the idea of a timesharing
    multiuser operating system. I think I'm in a distinct minority
    there, though.

    I suppose I see what you mean. But when I think of a BBS though, I tend to think of it as still something on its own, with the ANSI-based menus (or possibly RIP or other graphics protocol), message areas, files for download, door games, etc.. All that could be done with a multiuser OS, but a BBS package is specifically designed to provide an easy way for users to do all that, I suppose.

    Back in the 90s, when I ran a dialup BBS, I sort of wish that
    I had discovered Coherent earlier. This was a clone of, basically,
    7th Edition Unix, written originally for the PDP-11 but ported
    around and eventually running on PC-class hardware. It was often

    I'd heard of Coherent. I remember my dad trying it out on his PC for a bit.

    Nightfox
    --- SBBSecho 3.15-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From tenser@21:1/101 to Nightfox on Friday, September 16, 2022 05:20:34
    On 15 Sep 2022 at 08:19a, Nightfox pondered and said...

    Re: Re: BBS platforms
    By: tenser to Nightfox on Fri Sep 16 2022 12:34 am

    For things like this, I use OpenBSD, either on ARM or x86
    (or at home on RISC-V). Then again, I kind of feel that
    the idea of a "BBS" is redundant with the idea of a timesharing multiuser operating system. I think I'm in a distinct minority
    there, though.

    I suppose I see what you mean. But when I think of a BBS though, I tend to think of it as still something on its own, with the ANSI-based menus (or possibly RIP or other graphics protocol), message areas, files for download, door games, etc.. All that could be done with a multiuser OS, but a BBS package is specifically designed to provide an easy way for users to do all that, I suppose.

    As I wrote in the first post over at fat-dragon.org, calling
    a BBS felt sort of like visiting someone's home. You got to
    see something of the sysop's interests and aesthetic style.
    That part was pretty cool....

    But the same was often also true of a timesharing computer.
    I started working with Unix before Linux was really a thing,
    but at a time when second-hand machines running useful
    software were becoming pretty common. Especially around
    universities, you'd see someone get a hand-me-down Sun3 or
    VAX or MIPS machine and set it up for themselves and friends;
    often, as a result, individual systems had a distinct personal
    flavor: decorations with ASCII-art (the ANSI thing was never
    particularly big in that world, in part because CP437 was
    pretty specific to PCs), goofy programs and games, etc.

    It was fun.

    Back in the 90s, when I ran a dialup BBS, I sort of wish that
    I had discovered Coherent earlier. This was a clone of, basically, 7th Edition Unix, written originally for the PDP-11 but ported
    around and eventually running on PC-class hardware. It was often

    I'd heard of Coherent. I remember my dad trying it out on his PC for a bit.

    It's open source now, and one can run it under emulation. I
    imagine it would install on a sufficiently old PC if one wanted
    to try real hardware. Ca 1991 that would have been a pretty
    sweet BBS setup.

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From NuSkooler@21:1/121 to esc on Thursday, September 15, 2022 12:58:41

    Twas Wednesday, September 14th when esc said...
    Interesting, I'm curious how you're using DOSEMU, EMU2, and DOSEMU2 all alongside one another?

    I have dosemu and dosemu2 installed to different locations so I can call which I like -- emu2 is just a standalone binary. Mostly, I've just experimented with "what seems to work the best". Same with QEMU. DOSEMU(1/2) in general seem the best for most cases, but I've found that some doors/binaries misbehave a bit at least under the older DOSEMU and end up running them with one of the others.

    ...and some of it is just that I like to try different things :D



    --
    |08 ■ |12NuSkooler |06// |12Xibalba |08- |07"|06The place of fear|07"
    |08 ■ |03xibalba|08.|03l33t|08.|03codes |08(|0344510|08/|03telnet|08, |0344511|08/|03ssh|08)
    |08 ■ |03ENiGMA 1/2 WHQ |08| |03Phenom |08| |0367 |08| |03iMPURE |08| |03ACiDic
    --- ENiGMA 1/2 v0.0.13-beta (linux; x64; 16.16.0)
    * Origin: Xibalba -+- xibalba.l33t.codes:44510 (21:1/121)
  • From paulie420@21:2/150 to ogg on Thursday, September 15, 2022 16:33:55
    I mis-spoke here. I start 'mis' as a daemon from systemd. I just did some playing around and shut down the bbs, restarted as my regular user and ran the mod. Boy, did I get a suprise! All of a sudden a whole bunch of other error messages popped up but not any about missing modules as before!

    Believe it or not, this is an issue [since moving to the new server] at 2o. When I reboot the machine systemd starts my start.sh script and my python scripts fail. Now I understand WHY I have to kill mis and restart it as my normal user - now just to figure out how to get systemd to run start.sh as my 'bbs' user.

    See that, even an old dog learns a trick that I overl00ked when moving 2o to its new machine.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From ogg@21:2/147 to paulie420 on Thursday, September 15, 2022 19:09:30
    On 15 Sep 2022, paulie420 said the following...

    I mis-spoke here. I start 'mis' as a daemon from systemd. I just did
    some playing around and shut down the bbs, restarted as my regular use
    and ran the mod. Boy, did I get a suprise! All of a sudden a whole bun
    of other error messages popped up but not any about missing modules as
    before!

    Believe it or not, this is an issue [since moving to the new server] at 2o. When I reboot the machine systemd starts my start.sh script and my python scripts fail. Now I understand WHY I have to kill mis and restart it as my normal user - now just to figure out how to get systemd to run start.sh as my 'bbs' user.

    See that, even an old dog learns a trick that I overl00ked when moving
    2o to its new machine.

    That's 2 old dogs! :)

    ogg

    Sysop, Altair IV BBS
    Lufkin, TX
    fsxnet: 21:2/147

    ... I think I am, therefore, I am... I think.

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Altair IV BBS (21:2/147)
  • From Al@21:4/106 to paulie420 on Thursday, September 15, 2022 17:20:32
    Believe it or not, this is an issue [since moving to the new server] at 2o. When I reboot the machine systemd starts my start.sh script and my python scripts fail. Now I understand WHY I have to kill mis and restart it as my normal user - now just to figure out how to get systemd to run start.sh as my 'bbs' user.

    It is possible to have systemd start an application as a user other than root.

    I'm not useing systemd at the moment so I don't have a working example but I have done this in the past.

    I think a google search for "start systemd as non priveledged user" will turn up the needed bits.

    --- BBBS/Li6 v4.10 Toy-6
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)
  • From Al@21:4/106 to paulie420 on Thursday, September 15, 2022 18:43:56
    paulie420 wrote to ogg <=-

    Believe it or not, this is an issue [since moving to the new server] at 2o. When I reboot the machine systemd starts my start.sh script and my python scripts fail. Now I understand WHY I have to kill mis and
    restart it as my normal user - now just to figure out how to get
    systemd to run start.sh as my 'bbs' user.

    I think you can add the user and group to the "service" section of the systemd unit file, something like..

    [Unit]
    Description=Foo

    [Service]
    ExecStart=/home/foo/start.sh
    User=foo
    Group=foo

    Systemd is a little involved but this might be what you need.

    Ttyl :-),
    Al

    ... The answer is "maybe" ... and that's semi-final

    --- BBBS/Li6 v4.10 Toy-6
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)
  • From esc@21:4/173 to paulie420 on Thursday, September 15, 2022 22:31:47
    Believe it or not, this is an issue [since moving to the new server] at 2o. When I reboot the machine systemd starts my start.sh script and my python scripts fail. Now I understand WHY I have to kill mis and restart it as my normal user - now just to figure out how to get systemd to run start.sh as my 'bbs' user.

    Hey dude, hit me up on discord and I can walk you through how I have things configured :)

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From Mikesla@21:1/233 to Nightfox on Saturday, September 17, 2022 17:03:00
    I began my first BBS back in 1986 using the Citadel 86 software, and finally settled using Telegard. My stint was from 1986 to 1993, and all were running in DOS.

    Today I am using Sunchronet Software v3.91b via a virtual machine (VMware) running Windows 7 32 Bit. Works grand. I'm also taking a look at the Mystic BBS software.

    Cheers.

    Nightfox wrote to All <=-

    For sysops, I'm just curious what platforms & operating system you run your BBS in?

    When I started my current BBS in 2007, I ran it in Windows for many
    years (sometimes on native hardware, and sometimes in a Windows VM).
    About 4 months ago, I decided to move my BBS setup to run in Linux
    (I've been running Linux as the host OS on my BBS PC since 2015 but had been running my BBS in a Windows VM on it). I'm using Synchronet,
    which is cross-platform, so I basically just had to move my
    comfiguration over to the Linux host OS and then update my DOS door configurations to make sure they'd run with DOSEMU in Linux. I did
    have a couple of Win32-native doors, which I lost, unfortunately (Tournament Trivia, Ashrella: Test of Time), but I was able to move at least one set of trivia questions to a DOS trivia door.

    TradeWars 2002 initially wasn't running in Linux (DOSEMU 1.x was the default supported by Synchronet), but this past weekend I was able to
    get DOSEMU2 working with Synchronet, and now TradeWars 2002 is able to
    run again.

    I feel like my BBS PC setup is more efficient now, as everything is running in Linux and I don't really need to run a Windows VM on it now
    (I also run Plex Media Server and a Minecraft server on it, and I'm
    also running PiHole on it as a network-wide ad blocker).

    I think it's pretty cool what you can do these days with Linux, a free
    OS, and the free software available for it.


    Sorry for the long-winded post..

    Nightfox
    --- SBBSecho 3.15-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)

    ... Paranor BBS (24/7) - 71.7.154.249 - Telnet/SSH/Rlogin Host of Nova Scotia
    a
    === MultiMail/Win v0.52
    --- SBBSecho 3.14-Win32
    * Origin: Paranor BBS - 71.7.154.249 Telnet/SSH/Rlogin (21:1/233)
  • From paulie420@21:2/150 to Al on Monday, September 19, 2022 18:54:37
    Believe it or not, this is an issue [since moving to the new server] 2o. When I reboot the machine systemd starts my start.sh script and m python scripts fail. Now I understand WHY I have to kill mis and restart it as my normal user - now just to figure out how to get systemd to run start.sh as my 'bbs' user.

    I think you can add the user and group to the "service" section of the systemd unit file, something like..

    I actually load my start.sh script from crontab @reboot, so I don't know exactly what the issue is - I have to force a reboot and see what mis loads as.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From paulie420@21:2/150 to esc on Monday, September 19, 2022 18:55:06
    Hey dude, hit me up on discord and I can walk you through how I have things configured :)

    kk, thx esc. :P



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From Al@21:4/106 to paulie420 on Monday, September 19, 2022 20:43:58
    I think you can add the user and group to the "service" section of the
    systemd unit file, something like..

    I actually load my start.sh script from crontab @reboot, so I don't know exactly what the issue is - I have to force a reboot and see what mis loads as.

    That is what I do as well for my BBS and mailer.

    Are you doing that from root's crontab, or a regular user?

    --- BBBS/Li6 v4.10 Toy-6
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)
  • From esc@21:4/173 to paulie420 on Tuesday, September 20, 2022 00:13:40
    I actually load my start.sh script from crontab @reboot, so I don't know exactly what the issue is - I have to force a reboot and see what mis loads as.

    Hey Paulie, I have mis completely managed by systemd which I find to be pretty useful for taking down to take backups, doing system reboots, etc., and is a "graceful" way of taking the server down to prevent corruption issues.

    Let me know if you want to go over how I have this configured! Actually, maybe I'll just package up and release my "mystic on ubuntu" guide :P

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From Charles Blackburn@21:1/221 to paulie420 on Tuesday, September 20, 2022 14:20:09
    Re: Re: BBS platforms
    By: paulie420 to Al on Mon Sep 19 2022 18:54:37

    I think you can add the user and group to the "service" section of the systemd unit file, something like..
    I actually load my start.sh script from crontab @reboot, so I don't know exactly what the issue is - I have to force a
    reboot and see what mis loads as.

    if you are using the normal crontab -e as root then it's going to be started as root.

    you can use /etc/rc.local in most distributions to run it and it will run as root unless you sudo it, but systemd can start a process as a specific user

    https://www.golinuxcloud.com/run-systemd-service-specific-user-group-linux/

    hope this helps

    regards
    Charles Blackburn
    The F.B.O BBS 21:1/221 618:250/36
    bbs.thefbo.us IPV4/V6
    DOVE-Net FSX-Net MicroNET USENET
    Coming soon: FIDO-Net
    --- SBBSecho 3.15-Linux
    * Origin: The FBO BBS - bbs.thefbo.us (21:1/221)
  • From paulie420@21:2/150 to Al on Tuesday, September 20, 2022 17:12:00
    I think you can add the user and group to the "service" section of the >> systemd unit file, something like..

    I actually load my start.sh script from crontab @reboot, so I don't know exactly what the issue is - I have to force a reboot and see what mis lo as.

    Its weird - I think I'm running it as my 'bbs' user, like to should be - but I have to do a reboot and test. I know where to p0ke around, but last time I t00k a peek it SEEMED like it was running from the correct user account.

    The bbS is fairly busy, so I haven't had the time when users weren't on to do m0re testing. I know its an issue, tho, cause whenever theres a non-planned reboot my python is br0ke till I restart mis... I'll find it. :P



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From paulie420@21:2/150 to esc on Tuesday, September 20, 2022 17:14:04
    I actually load my start.sh script from crontab @reboot, so I don't k exactly what the issue is - I have to force a reboot and see what mis loads as.

    Hey Paulie, I have mis completely managed by systemd which I find to be pretty useful for taking down to take backups, doing system reboots,
    etc., and is a "graceful" way of taking the server down to prevent corruption issues.

    Let me know if you want to go over how I have this configured! Actually, maybe I'll just package up and release my "mystic on ubuntu" guide :P


    Nice - you should release it. I once t00k a look at... theres another REALLY nicely written Mystic systemd service written by vswitchzero @ https://vswitchzero.com/mystic-systemd/ , but it runs as root (there is an option to run as non-root built in...) but I could never get it working w/o messing up all the vast scripts (bash) that I have running behind 2o. Permissions issues that I didn't wanna deal with. (And prolly because I set them up the 'wrong' way from the beginning of 2o. :P)



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From paulie420@21:2/150 to Charles Blackburn on Tuesday, September 20, 2022 17:15:17
    if you are using the normal crontab -e as root then it's going to be started as root.

    you can use /etc/rc.local in most distributions to run it and it will
    run as root unless you sudo it, but systemd can start a process as a specific user https://www.golinuxcloud.com/run-systemd-service-specific-user-group-linux

    Thanks for the link - other offered to help if I need it, but I did export yer text. Appreciate ya.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From Oli@21:3/102 to paulie420 on Wednesday, September 21, 2022 08:01:42
    paulie420 wrote (2022-09-20):

    Hey Paulie, I have mis completely managed by systemd which I find
    to be pretty useful for taking down to take backups, doing system
    reboots, etc., and is a "graceful" way of taking the server down to
    prevent corruption issues.

    Let me know if you want to go over how I have this configured!
    Actually, maybe I'll just package up and release my "mystic on
    ubuntu" guide :P

    Nice - you should release it. I once t00k a look at... theres another REALLY nicely written Mystic systemd service written by vswitchzero @ https://vswitchzero.com/mystic-systemd/ , but it runs as root (there is
    an option to run as non-root built in...)

    For not running as root you can use something like:

    sudo setcap cap_net_bind_service=+ep /pathto/mis

    and then change User=root in mis.service to the mystic user. cap_net_bind_service=+ep allows the executable to bind to ports below 1024.



    ---
    * Origin: War is Peace. Freedom is Slavery. Ignorance is Strength. (21:3/102)
  • From Zip@21:1/202 to Oli on Wednesday, September 21, 2022 12:42:37
    Hello Oli!

    On 21 Sep 2022, Oli said the following...
    For not running as root you can use something like:
    sudo setcap cap_net_bind_service=+ep /pathto/mis
    and then change User=root in mis.service to the mystic user.

    As an alternative to running setcap, you can instead put:

    AmbientCapabilities=CAP_NET_BIND_SERVICE

    ...in the [Service] section of the systemd unit.

    Really nice. :-D

    Best regards
    Zip

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (21:1/202)
  • From Charles Blackburn@21:1/221 to paulie420 on Wednesday, September 21, 2022 08:45:51
    Re: Re: BBS platforms
    By: paulie420 to Al on Tue Sep 20 2022 17:12:00

    Its weird - I think I'm running it as my 'bbs' user, like to should be - but I have to do a reboot and test. I know where to
    p0ke around, but last time I t00k a peek it SEEMED like it was running from the correct user account.

    ps -aux will tell you what user it's running as.

    sbbs@sbbs:~$ ps -aux |grep sbbs
    sbbs 970 0.0 0.0 17280 10132 ? Ss Sep14 0:08 /lib/systemd/systemd --user
    sbbs 971 0.0 0.0 169304 3852 ? S Sep14 0:00 (sd-pam) sbbs 977 0.0 0.0 36832 6680 ? Ssl Sep14 0:00 /usr/bin/pipewire
    sbbs 978 0.0 0.0 20860 6644 ? Ssl Sep14 4:43 /usr/bin/pipewire-media-session
    sbbs 999 0.0 0.0 8428 4208 ? Ss Sep14 0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
    root 191631 0.0 0.1 17168 11244 ? Ss Sep14 0:01 sshd: sbbs [priv]
    sbbs 191788 0.0 0.0 17460 9004 ? S Sep14 0:09 sshd: sbbs@pts/1
    sbbs 191789 0.0 0.0 9416 6328 pts/1 Ss Sep14 0:00 -bash
    sbbs 2310633 5.3 1.2 1342432 138992 ? SLsl Sep20 53:30 /sbbs/exec/sbbs d
    root 2358540 0.0 0.0 17172 11128 ? Ss Sep20 0:00 sshd: sbbs [priv]
    sbbs 2358613 0.0 0.0 17464 8500 ? S Sep20 0:38 sshd: sbbs@notty
    sbbs 2358614 0.1 0.0 7368 3688 ? Ss Sep20 1:33 bash -c while [ -d /proc/$PPID ]; do sleep 1;head -v -n 8 /proc/meminfo; head -v -n 2 /proc/stat /proc/version /proc/uptime /proc/loadavg /proc/sys/fs/file-nr /proc/sys/kernel/hostname; tail -v -n 16 /proc/net/dev;echo '==> /proc/df <==';df;echo '==> /proc/who <==';who;echo '==> /proc/end <==';echo '##Moba##'; done
    sbbs 2465176 0.0 0.0 309468 7836 ? Ssl Sep17 0:00 /usr/libexec/at-spi-bus-launcher
    sbbs 2465200 0.0 0.0 8296 4168 ? S Sep17 0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/run/user/1001/at-spi/bus
    sbbs 2466545 0.0 0.0 162676 7400 ? Sl Sep17 0:00 /usr/libexec/at-spi2-registryd --use-gnome-session
    sbbs 2688746 0.0 0.0 5768 1044 ? S 08:45 0:00 sleep 1
    sbbs 2688747 0.0 0.0 10332 3800 pts/4 R+ 08:45 0:00 ps -aux
    sbbs 2688748 0.0 0.0 6608 2304 pts/4 S+ 08:45 0:00 grep --color=auto sbbs
    root 3382222 0.0 0.0 17168 11124 ? Ss Sep15 0:00 sshd: sbbs [priv]
    sbbs 3382327 0.0 0.1 20756 11752 ? S Sep15 0:50 sshd: sbbs@pts/4
    sbbs 3382328 0.0 0.0 9148 6108 pts/4 Ss Sep15 0:01 -bash

    regards
    Charles Blackburn
    The F.B.O BBS 21:1/221 618:250/36
    bbs.thefbo.us IPV4/V6
    DOVE-Net FSX-Net MicroNET USENET
    Coming soon: FIDO-Net
    --- SBBSecho 3.15-Linux
    * Origin: The FBO BBS - bbs.thefbo.us (21:1/221)
  • From Bucko@21:4/131 to paulie420 on Wednesday, September 21, 2022 18:01:29
    On 20 Sep 2022, paulie420 said the following...


    Its weird - I think I'm running it as my 'bbs' user, like to should be - but I have to do a reboot and test. I know where to p0ke around, but
    last time I t00k a peek it SEEMED like it was running from the correct user account.

    Not to stick my unknowing nose in, but I am doing things a whole lot differently on my new Linux based setup (your mileage may vary) I just have a scr file which loads up another scr file which is basically cd /mystic then ./mis server
    In fact I have this same scr file load the BBS, mrc, my interbbs file server (mystic based) my login server, doorparty, all in tabs in one terminal box.. No issues with python, or cryptlib. I am not saying this is the way to go, but it is working for me. In fact I could probably set up a cron event to run the bbs.scr on boot up so if the virtual machine does reboot the BBS will come back up (after I add in a semaphore file delete).. If I am way off base here I apologize...

    AL

    ... 640K ought to be enough for anybody. -Bill Gates, 1981.

    --- Mystic BBS v1.12 A48 2022/07/15 (Windows/32)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)
  • From paulie420@21:2/150 to Oli on Wednesday, September 21, 2022 14:15:56
    Nice - you should release it. I once t00k a look at... theres another REALLY nicely written Mystic systemd service written by vswitchzero @ https://vswitchzero.com/mystic-systemd/ , but it runs as root (there i an option to run as non-root built in...)

    For not running as root you can use something like:
    sudo setcap cap_net_bind_service=+ep /pathto/mis
    and then change User=root in mis.service to the mystic user.

    Ok - maybe I can get vswitchzero's script w0rking for 2o after all. Thanks for that info; I couldn't figure it out a couple years ago when I set it up. Maybe I'll have time to reb00t and take a shot at setup today.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From paulie420@21:2/150 to Charles Blackburn on Wednesday, September 21, 2022 14:20:32
    ps -aux will tell you what user it's running as.

    sbbs@sbbs:~$ ps -aux |grep sbbs

    Ah; I was just peeking in htop, but yea - I should have known this. Thx.
    Gonna do some work on the issue today, I think. :P



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From paulie420@21:2/150 to Bucko on Wednesday, September 21, 2022 15:56:31
    Not to stick my unknowing nose in, but I am doing things a whole lot differently on my new Linux based setup (your mileage may vary) I just have a scr file which loads up another scr file which is basically cd /mystic then ./mis server
    In fact I have this same scr file load the BBS, mrc, my interbbs file server (mystic based) my login server, doorparty, all in tabs in one terminal box.. No issues with python, or cryptlib. I am not saying this
    is the way to go, but it is working for me. In fact I could probably set up a cron event to run the bbs.scr on boot up so if the virtual machine does reboot the BBS will come back up (after I add in a semaphore file delete).. If I am way off base here I apologize...

    Nah, yer fine... I also use a script right now - that checks for mis running already and loads it if not, and a couple other things.

    However, the systemd way is pretty neat too - it can test that mis isn't running, keep it up even if it fails and the system doesn't reboot, etc. Theres a lot more baked in that vswitchzero Mystic systemd setup that I referenced - which is why we were talking about running as root or another user. (his method prefers root, and my bbS isn't setup to be run in root - which is why the more topics explaining why scripts and python and dosemu stuff fails when run as root.) :P

    My current script works fine; I was just trying to implement that systemd setup is all. Thx always.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From Bucko@21:4/131 to paulie420 on Wednesday, September 21, 2022 20:23:40
    On 21 Sep 2022, paulie420 said the following...

    Nah, yer fine... I also use a script right now - that checks for mis running already and loads it if not, and a couple other things.

    However, the systemd way is pretty neat too - it can test that mis isn't running, keep it up even if it fails and the system doesn't reboot, etc.

    Cool... Once I get this off the ground, I will have to look into it.. Sounds like it is a nice way of doing things...

    Al

    ... A PC a day keeps the Apple away!

    --- Mystic BBS v1.12 A48 2022/07/15 (Windows/32)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)
  • From Charles Blackburn@21:1/221 to esc on Thursday, September 22, 2022 07:26:23
    Re: Re: BBS platforms
    By: esc to Zip on Wed Sep 21 2022 14:22:27


    As an alternative to running setcap, you can instead put:
    AmbientCapabilities=CAP_NET_BIND_SERVICE
    ...in the [Service] section of the systemd unit.
    Woah, does this actually work!? I need to research this. Super cool.

    be interesting if it does.. maybe it could be a standard include in the systemD units for mystic, synchro et al

    regards
    ===

    Charles Blackburn
    The F.B.O BBS 21:1/221 618:250/36
    bbs.thefbo.us IPV4/V6
    DOVE-Net FSX-Net MicroNET USENET
    --- SBBSecho 3.15-Linux
    * Origin: The FBO BBS - bbs.thefbo.us (21:1/221)
  • From Charles Blackburn@21:1/221 to esc on Thursday, September 22, 2022 07:27:41
    Re: Re: BBS platforms
    By: esc to Charles Blackburn on Wed Sep 21 2022 14:23:34

    ps -aux will tell you what user it's running as.
    The issue is that the 'mis' application drops suid to the user who owns the binary, however there are some strange artifacts
    of launching as root in the first place. This manifests in python, dosemu, other various spots. It tries to read/write to
    /root/ instead of /home/bbsuser/, with the permission of the bbs user, which obviously will fail.


    interesting... maybe the old SUID might work (4755) ? not the best way to go about it but in a pinch :D

    regards
    ===

    Charles Blackburn
    The F.B.O BBS 21:1/221 618:250/36
    bbs.thefbo.us IPV4/V6
    DOVE-Net FSX-Net MicroNET USENET
    --- SBBSecho 3.15-Linux
    * Origin: The FBO BBS - bbs.thefbo.us (21:1/221)
  • From tenser@21:1/101 to esc on Friday, September 23, 2022 03:55:43
    On 21 Sep 2022 at 02:23p, esc pondered and said...

    ps -aux will tell you what user it's running as.

    The issue is that the 'mis' application drops suid to the user who owns the binary, however there are some strange artifacts of launching as
    root in the first place. This manifests in python, dosemu, other various spots. It tries to read/write to /root/ instead of /home/bbsuser/, with the permission of the bbs user, which obviously will fail.

    Sounds like the application is looking at the value
    of the `$HOME` environment variable. For root, that
    could well be set to `/root`. Perhaps run a short
    shell script that sets up the environment the way you
    want and the invokes the binary. Something like,

    #!/bin/sh
    set -e
    HOME=/home/bbsuser
    export HOME
    cd $HOME
    exec ./whatever

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Zip@21:1/202 to esc on Thursday, September 22, 2022 22:36:46
    Hello esc!

    On 21 Sep 2022, esc said the following...
    AmbientCapabilities=CAP_NET_BIND_SERVICE
    ...in the [Service] section of the systemd unit.

    Woah, does this actually work!? I need to research this. Super cool.

    Yep, it's a very nice feature I think!

    Best regards
    Zip

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (21:1/202)
  • From Ragnarok@21:2/151 to Nightfox on Wednesday, September 28, 2022 23:20:26
    El 13/9/22 a las 14:46, Nightfox escribió:
    For sysops, I'm just curious what platforms & operating system you run your BBS in?

    When I started my current BBS in 2007, I ran it in Windows for many years (sometimes on native hardware, and sometimes in a Windows VM). About 4 months ago, I decided to move my BBS setup to run in Linux (I've been running Linux as the host OS on my BBS PC since 2015 but had been running my BBS in a Windows VM on it). I'm using Synchronet, which is cross-platform, so I basically just had to move my comfiguration over to the Linux host OS and then update my DOS door configurations to make sure they'd run with DOSEMU in Linux. I did have a couple of Win32-native doors, which I lost, unfortunately (Tournament Trivia, Ashrella: Test of Time), but I was able to move at least one set of trivia questions to a DOS trivia door.

    TradeWars 2002 initially wasn't running in Linux (DOSEMU 1.x was the default supported by Synchronet), but this past weekend I was able to get DOSEMU2 working with Synchronet, and now TradeWars 2002 is able to run again.

    I feel like my BBS PC setup is more efficient now, as everything is running in Linux and I don't really need to run a Windows VM on it now (I also run Plex Media Server and a Minecraft server on it, and I'm also running PiHole on it as a network-wide ad blocker).

    I think it's pretty cool what you can do these days with Linux, a free OS, and the free software available for it.


    Sorry for the long-winded post..

    Nightfox
    --- SBBSecho 3.15-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)

    I run sbbs on debian, solid like a rock.
    --- SBBSecho 3.15-Linux
    * Origin: Dock Sud BBS - bbs.docksud.com.ar - Argentina (21:2/151)