.... and it looks to be that the main issue is that the paths for the configuration data files are hard coded to be "$MBSE_ROOT/etc/*.data".
07 Apr 13 19:46, I wrote to all:
One relatively easy way (besides that there are so many places where
it would need to be changed...<g>) to correct it would be to use a different environmental variable, perhaps MBSE_ETC or just MBSE_VAR,
08 Apr 13 08:49, I wrote to all:
07 Apr 13 19:46, I wrote to all:
One relatively easy way (besides that there are so many places where it would need to be changed...<g>) to correct it would be to use a different environmental variable, perhaps MBSE_ETC or just MBSE_VAR,
Found at least one instance of the same kind of issue for a 'var/' path
file (var/mailer.hist in mbcico/answer.c), so perhaps MBSE_VAR would be better...
Rj Clay wrote to All:
08 Apr 13 08:49, I wrote to all:
07 Apr 13 19:46, I wrote to all:
One relatively easy way (besides that there are so many places where
it would need to be changed...<g>) to correct it would be to use a
different environmental variable, perhaps MBSE_ETC or just MBSE_VAR,
Found at least one instance of the same kind of issue for a
'var/' path
file (var/mailer.hist in mbcico/answer.c), so perhaps MBSE_VAR
would be better...
FHS still leaves room for /opt.
But the most important thing is the typical access and ownership of
all the directories that mbse uses.
For instance, never mix mbsebbs home directories with system home directories. It breaks for things that build hardcoded paths on the mbse_root setting.
Where would you point that to?
Most stuff expects all files on that directory.
So ask yourself this, is it worth changing it?
Indeed it does.<g> But keep in mind that '/opt/*' is not really free form
(see '/var/opt/<subdir>', for instance.). Usage of /srv/* is entirely free
form but I thought that if I'm going to try changing it at all, why not just
use the more standard directories. Also, keep in mind that I'm also thinking
of this from the point of view of a packager, where it's not at all a good
idea to install to '/opt' or '/srv' or '/usr/local/' because those are for
the
local system admin not the package manager.
But the most important thing is the typical access and ownership of all the directories that mbse uses.
True, but I think that all taken care of.
For instance, never mix mbsebbs home directories with system home directories. It breaks for things that build hardcoded paths on the mbse_root setting.
Like? And keep in mind that I'm for the idea of changing all instances
of
that in the code...
Where would you point that to?
Which "that" are you referring to there? If to MBSE_ROOT itself, that would default to '/usr/lib/mbsebbs'. The *.data files I'd default to having
in '/var/lib/mbsebbs' which would require code changes. (I've thought of just
trying a sym link as an initial change to the Debian packaging; that appears
to work with, for instance, /opt/mbse/etc as a sym link to /var/lib/mbsebbs...)
Most stuff expects all files on that directory.
"stuff" = ?
So ask yourself this, is it worth changing it?
I think it is...<g> And at least for whatever I do for the Debian packaging, I'll be doing so.
But the most important thing is the typical access and ownership
of all the directories that mbse uses.
True, but I think that all taken care of.
Ok.
Where would you point that to?
Which "that" are you referring to there? If to MBSE_ROOT
itself, that would default to '/usr/lib/mbsebbs'. The *.data
files I'd default to having in '/var/lib/mbsebbs' which would
require code changes. ....
Since most data then would go into /var/lib/mbsebbs I would point the MBSE_ROOT variable to that location.
So ask yourself this, is it worth changing it?
I think it is...<g> And at least for whatever I do for the
Debian packaging, I'll be doing so.
Let me know when it's finished, I'm just curious how it goes.
Let me know when it's finished, I'm just curious how it goes.
configuration data files are hard coded to be "$MBSE_ROOT/etc/*.data".
snprintf(cfgfn, PATH_MAX, "%s/etc/config.data", getenv("MBSE_ROOT"));
Found at least one instance of the same kind of issue for a 'var/'
path file (var/mailer.hist in mbcico/answer.c), so perhaps MBSE_VAR would be better...
Since most data then would go into /var/lib/mbsebbs I would point the MBSE_ROOT variable to that location.
/usr/lib/mbsebbs is more for fixed data/libs etc. Thinking of that, on
Slackware that is /usr/lib64/mbsebbs, and I think on Gentoo as well.
I think Deb and buntu allways use /usr/lib but you know that better
then me.
Hello Rj!
08 Apr 2013 08:49, Rj Clay wrote to All:
snprintf(cfgfn, PATH_MAX, "%s/etc/config.data", getenv("MBSE_ROOT"));
is should really just use $HOME, since mbse does not use any binding ports
below 1024, telnet not even if its done with xinetd setups
$HOME/mbse/config.data
* Origin: duggi.junc.org where qico is waiting (2:230/0)
And where doe $HOME points to when user benny logis in? /opt/mbse/home/benny
Hello Michiel!
20 Jul 2013 14:02, Michiel Broek wrote to Benny Pedersen:
And where doe $HOME points to when user benny logis in? /opt/mbse/home/benny
mbse makes home dirs in chroot ?
Benny Pedersen wrote to Michiel Broek:
Hello Michiel!
20 Jul 2013 14:02, Michiel Broek wrote to Benny Pedersen:
And where doe $HOME points to when user benny logis in?
/opt/mbse/home/benny
mbse makes home dirs in chroot ?
No, but $MBSE_ROOT and $HOME are different for bbs users and. A normal bbs user logs in and gets mbsebbs as shell, but they are all members of the group bbs so that right on message bases etc are correct set.
MBSE_ROOT plays a role in that, $HOME is not really used if I rememberthat
correctly.
So anything you do with these variables is playing with fire.
Ok, this might be my last reaction, I'm leaving fido and are disconnecting all mail and files areas.
09 Apr 2013 08:40, Rj Clay wrote to All:
Found at least one instance of the same kind of issue for a
'var/' path file (var/mailer.hist in mbcico/answer.c), so perhaps
MBSE_VAR would be better...
/etc is not binaries data files, this config go into /var, ascii
config should be in /etc or $HOME
19 Apr 2013 20:20, Michiel Broek wrote to Rj Clay:
Since most data then would go into /var/lib/mbsebbs I would point
the MBSE_ROOT variable to that location.
NO DONT
Since most data then would go into /var/lib/mbsebbs I would
point the MBSE_ROOT variable to that location.
NO DONT
Why not?
03 Aug 13 10:25, you wrote to Benny Pedersen:
As I run multi distro setups I prefer the standard method and path of /opt/mbse
I just have to remember to copy over /opt AND /home/vince to a new
system.
Also using /var/lib could be in a restricted space area that is unique
to the distro, another bag of worms.
For all: I have today release the latest and last mbse release from Michiel (that I received today) which is mbb10000.rar into fido land
in the MBSE_BBS area so you should all see this within the next 3 - 24 hours.
Hello Vince.
For all: I have today release the latest and last mbse release from
Michiel (that I received today) which is mbb10000.rar into fido land
in the MBSE_BBS area so you should all see this within the next 3 - 24
hours.
Centos 6.4 32bit, latest updates.
mbse v1 from Michiel's website.
gcc -O2 -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings
-Wstrict-prototypes -D_REENTRANT -I/usr/local/include -c
charset.c
gcc -O2 -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings
-Wstrict-prototypes -D_REENTRANT -I/usr/local/include -c
remask.c
gmake[1]: *** No rule to make target `ftscprod.???', needed by
`ftscprod.c'. Stop.
gmake[1]: Leaving directory `/opt/mbse/mbsebbs-1.0.0/lib'
make: *** [all] Error 2
Centos 6.4 32bit, latest updates.
mbse v1 from Michiel's website.
gcc -O2 -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT -I/usr/local/include
-c charset.c gcc -O2 -fno-strict-aliasing -Wall -Wshadow
-Wwrite-strings -Wstrict-prototypes -D_REENTRANT -I/usr/local/include
-c remask.c gmake[1]: *** No rule to make target `ftscprod.???',
needed by `ftscprod.c'. Stop. gmake[1]: Leaving directory `/opt/mbse/mbsebbs-1.0.0/lib'
make: *** [all] Error 2
Found at least one instance of the same kind of issue for a
'var/' path file (var/mailer.hist in mbcico/answer.c), so perhaps
MBSE_VAR would be better...
/etc is not binaries data files, this config go into /var, ascii
config should be in /etc or $HOME
Nothing in what you quoted mentions /etc, so I'm not sure what
you're talking about...
Since most data then would go into /var/lib/mbsebbs I would point
the MBSE_ROOT variable to that location.
NO DONT
Why not?
Well for a locally built install, I imagine that would be somewhere
in /var/local/. For the Debian packaging; I'd like to be able to configure the installed package to use /var/lib/mbsebbs...
And /opt is for local admins, not for package systems. In case it
wasn't
Monday August 05 2013 11:39, Stephen Walsh wrote to Vince Coen:
Centos 6.4 32bit, latest updates.
mbse v1 from Michiel's website.
gcc -O2 -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings
-Wstrict-prototypes -D_REENTRANT -I/usr/local/include
-c charset.c gcc -O2 -fno-strict-aliasing -Wall -Wshadow
-Wwrite-strings -Wstrict-prototypes -D_REENTRANT
-I/usr/local/include -c remask.c gmake[1]: *** No rule to make
target `ftscprod.???', needed by `ftscprod.c'. Stop. gmake[1]:
Leaving directory `/opt/mbse/mbsebbs-1.0.0/lib'
make: *** [all] Error 2
Download ftscprod.013 from the FTSC website (http://ftsc.org) and copy
it into mbsebbs-1.0.0/lib, then run make again.
Centos 6.4 32bit, latest updates.
mbse v1 from Michiel's website.
gcc -O2 -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings
-Wstrict-prototypes -D_REENTRANT -I/usr/local/include
-c charset.c gcc -O2 -fno-strict-aliasing -Wall -Wshadow
-Wwrite-strings -Wstrict-prototypes -D_REENTRANT -I/usr/local/include
-c remask.c gmake[1]: *** No rule to make target `ftscprod.???',
needed by `ftscprod.c'. Stop. gmake[1]: Leaving directory
`/opt/mbse/mbsebbs-1.0.0/lib'
make: *** [all] Error 2
Download ftscprod.013 from the FTSC website (http://ftsc.org) and copy
it into mbsebbs-1.0.0/lib, then run make again.
Hello RJ!
03 Aug 2013 10:25, RJ Clay wrote to Benny Pedersen:
Since most data then would go into /var/lib/mbsebbs I would
point the MBSE_ROOT variable to that location.
NO DONT
Why not?
mbse would be the first one to break FHS then
postfix use /var/lib/postfix to berkdb database files, and /var/spool/postfix for mailqueue, and /etc/postfix for configuration, adding MBSE_ROOT will break more then just mbse, eg selinux
Centos 6.4 32bit, latest updates.
mbse v1 from Michiel's website.
gcc -O2 -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings
-Wstrict-prototypes -D_REENTRANT -I/usr/local/include
-c charset.c gcc -O2 -fno-strict-aliasing -Wall -Wshadow
-Wwrite-strings -Wstrict-prototypes -D_REENTRANT
-I/usr/local/include -c remask.c gmake[1]: *** No rule to make
target `ftscprod.???', needed by `ftscprod.c'. Stop. gmake[1]:
Leaving directory `/opt/mbse/mbsebbs-1.0.0/lib'
make: *** [all] Error 2
Download ftscprod.013 from the FTSC website (http://ftsc.org) and copy
it into mbsebbs-1.0.0/lib, then run make again.
is to prevent make install not overwriteing os files
in linux if i make with:
./configure
make
make install
then it should use /usr/local as MBSE_ROOT (prefixing)
/opt is for systems that does NOT use make install
is to prevent make install not overwriteing os files
in linux if i make with:
./configure
make
make install
then it should use /usr/local as MBSE_ROOT (prefixing)
/opt is for systems that does NOT use make install
Hmm, I was always taught that /opt was for the installation of OPTional
packages/software?
Hmm, I was always taught that /opt was for the installation of OPTional
packages/software?
If you using linux then is the mbsebbs give problem with change the default install or upgrade of old install to new install in /opt/
So for first time install is it a file named SETUP.sh there do the setup for mbsebbs and create setup as root for mbsebbs.
It makes the new user for mbse and group as bbs with permissions.
so default setup and install af mbsebbs is to set be /opt/mbse
have as root /root/tmp and a copy of mbse-1.01.01.tar.bz2 in /tmp
as root
tar vfxj mbsebbs.*.tar.bz2 (or version of mbsebbs)
cd in to mbsebbs-1.01.01
run ./SETUP.sh or sh ./SETUP.sh
when this is done and SETUP.sh has made new user mbse and group bbs - check it
out of then new user and broup is working fine.
login as user mbse and try 'tar xfxj mbsebbs-1.01.01.tar.bz2
./configure
make
su root
make install
* Forwarded from area 'MBSE'
Hmm, I was always taught that /opt was for the installation of OPTional
packages/software?
If you using linux then is the mbsebbs give problem with change the
default install or upgrade of old install to new install in /opt/
So for first time install is it a file named SETUP.sh there do the setup
for mbsebbs and create setup as root for mbsebbs.
It makes the new user for mbse and group as bbs with permissions.
so default setup and install af mbsebbs is to set be /opt/mbse
have as root /root/tmp and a copy of mbse-1.01.01.tar.bz2 in /tmp
as root
tar vfxj mbsebbs.*.tar.bz2 (or version of mbsebbs)
cd in to mbsebbs-1.0.01
run ./SETUP.sh or sh ./SETUP.sh
when this is done and SETUP.sh has made new user mbse and group bbs -
check it out of then new user and broup is working fine.
login as user mbse and try 'tar vfxj mbsebbs-1.0.01.tar.bz2
./configure
make
su root
make install
Yes, Gert, I know all of this :) I've run MBSE at least twice before
:) But, I suppose it is good that you posted this for the good of any
newbies here :)
is to prevent make install not overwriteing os files
in linux if i make with:
./configure
make
make install
then it should use /usr/local as MBSE_ROOT (prefixing)
/opt is for systems that does NOT use make install
Hmm, I was always taught that /opt was for the installation of
OPTional packages/software?
Hello Robert!
09 Aug 13 00:23, you wrote to Benny Pedersen:
is to prevent make install not overwriteing os files
in linux if i make with:
./configure
make
make install
then it should use /usr/local as MBSE_ROOT (prefixing)
/opt is for systems that does NOT use make install
Hmm, I was always taught that /opt was for the installation of
OPTional packages/software?
Totally agree with you and is the standard now for many packages that
I have
installed:
Adobe
F-Prot
LibreOffice
Calibre
VirtualBox
and mbse
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,021 |
Nodes: | 17 (1 / 16) |
Uptime: | 06:02:52 |
Calls: | 503,275 |
Calls today: | 23 |
Files: | 247,433 |
U/L today: |
1 files (4K bytes) |
D/L today: |
4,740 files (363M bytes) |
Messages: | 441,350 |
Posted today: | 5 |