I installed the lastest abba on Debian 11.
I download and setup the sbbs.Debian init file.
I enabled it for default run levels. However, the telnet server doesn't start. It does start fine if you start as user sbbs with ./sbbs d from exec dir.
Could this possibly be due to the user it's trying to start as?
Re: snobs init.d
By: Nugax to DOVE-Net.Synchronet_Sysops on Sat Dec 17 2022 12:24 pm
I installed the lastest abba on Debian 11.
I download and setup the sbbs.Debian init file.
I enabled it for default run levels. However, the telnet server doesn't start. It does start fine if you start as user sbbs with ./sbbs d from exec dir.
Could this possibly be due to the user it's trying to start as?
Yes. As always, the log output of sbbs will tell you where to look.
Debian 11 uses systemd, not init.d, by default. So you should be using the systemd/sbbs.service file, not the init.d/sbbs.debian file.
The install/systemd/sbbs.service file has this important line:
AmbientCapabilities=CAP_NET_BIND_SERVICE
Which enabled bind capilities for whatever user starts the service (e.g. using systemctl or during boot).
--
digital man (rob)
Sling Blade quote #25:
Karl: they seen fit to put me in here and here I've been a great long while. >Norco, CA WX: 61.3°F, 26.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs >--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
Digital man
I don't see that line you referenced in the wiki page howto:systemd in the Debian area. The example didn't have that line.
Should I grab the file and add that line?
Yes. As always, the log output of sbbs will tell you where to look.
Re: Re: snobs init.d
By: Chad Adams to Digital Man on Sat Dec 17 2022 06:24 pm
Please put your replies *below* the quoted text.
Digital man
I don't see that line you referenced in the wiki page howto:systemd in the Debian area. The example didn't have that line.
True. The howto has it and explains its purpose.
Should I grab the file and add that line?
If you're not building the 'setcap' target, yes.
Yes. As always, the log output of sbbs will tell you where to look.
You didn't state what the log output of sbbs is indicating, so this is all just guess work at this point.
--
digital man (rob)
Breaking Bad quote #4:
Tagging trees is a lot better than chasing monsters. - Hank Schrader
Norco, CA WX: 56.6°F, 30.0% humidity, 0 mph NNE wind, 0.00 inches rain/24hrs >--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
I don't see that line you referenced in the wiki page howto:systemd in the Debian area. The example didn't have that line.
True. The howto has it and explains its purpose.
Should I grab the file and add that line?
If you're not building the 'setcap' target, yes.
Yes. As always, the log output of sbbs will tell you where to look.
You didn't state what the log output of sbbs is indicating, so this is all just guess work at this point.
The log didn't have any info that I could find.
I was able to get it to work
by just adding the line you referenced- but that line was not in the example on the wiki. I believe the actual issue was the user and using systemd really resolved it.
One last question, sorry to take up your time.
How can I move sbbs to use a separate file rather than logging to syslog? Thanks.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 371 |
Nodes: | 16 (2 / 14) |
Uptime: | 174:36:27 |
Calls: | 7,915 |
Files: | 12,983 |
Messages: | 5,797,649 |