Article View: alt.privacy.anon-server
Article #304791Re: yamn not accepting parameter
From: Zax
Date: Wed, 15 May 2019 20:45
Date: Wed, 15 May 2019 20:45
61 lines
3176 bytes
3176 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Wed, 15 May 2019 21:55:34 +0200, Stefan Claas wrote in
Message-Id: <qbhqrn$71t$12@dont-email.me>:
> Am Wed, 15 May 2019 21:46:05 +0200
> schrieb Stefan Claas <sac@300baud.de>:
>
>> Yes, I know what you mean and I think my
>> answer was clear enough.
>
> To make it more clear, the word or string "pool"
> is so to speak hardcoded:
>
> if you look at the config.go file at line 173 it says:
>
> cfg.Files.Pooldir = path.Join(flag_basedir, "pool")
>
> which tells me that YAMN is looking for a folder
> named "pool" regardless of it's location.
I don't think that's actually right. The line you've posted defines the
default value of cfg.Files.Pooldir. By default it takes the
flag_basedir value and appends "/pool" on the end of it. If someone
chooses to override the default with, for example:
[Files]
Pooldir = /var/spool/ponies
If should use /var/spool/ponies as the Pooldir.
The flag_basedir doesn't have a strict default but Yamn tries to
determine a reasonable setting. It applies the following sequence:
1) Use the dir passed in the --basedir flag
2) If defined, use the Environment Variable YAMNDIR
3) If there's a yamn.cfg in the PWD, set that as the basedir.
4) If there's a subdir called yamn under the HOMEDIR, use that as basedir
5) If there's a yamn.cfg in /etc/yamn, use /etc/yamn as basedir
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEJHudPu4ysYQcZBcigyyPTc2QQmMFAlzcelQACgkQgyyPTc2Q
QmOqRA//fIACSWqtcMr/aalQiIbz8FNVm1fw/9fBNSEqJeljLteEYKDfVh8/ARpx
VDXeT3l3x5ZjJoHj+EhysKijVeFzkE384gQG4GlY5LhTBfzOvPnsAs0fWYw8w5Xg
z6Wx7ibS6mBu5Gb+3EsjoCFrx6syRZSdREOgtcrq8JaTHSzgCGgjzeYEVz9aKBuF
drgMgn5epd93J2xbF9ECbd5KOjeF0AquewIr9TRz91Kmd8Op88cTgJF5iWg72tCB
iyUHrcPRblPzk3x4j6RklDlo9NnOEnGKa26eUV6sbOnlQ6cWZJoHNekp4U/bq92G
a9yGwepfck2mXA3QMY44RFZ3pRw9foOkci9+ei0lmqK+wAn1YRAztSCnMx4WmUDJ
oTVHDcxat1FukiQxKVWHSu3qkTf/j49Tv1hSV3gE4O2VKNQ3AeMDpRE9+I0fOwIP
M2EP3fZM1dqqzvBiFtTjeySCOGemcd4Wi6Tu7uLuL6UchGvhAsviVLMkrDb5/EXG
JOLf6RAv4D+DBaRs9j3aT/BaEnyyOy80BRI6Nrvr6kg29M5E/b0wvtpdpdDgYzod
bc43hTYrFrD4bgm6Dmy0VQfaGlcCIFJD9j1IApatFskulPSv0BQR8peViaSy5HVt
xRKlMyNfWgvyfcM2sTkJuF62Yr0vQneqnDi3SUqznKnqNvZFW7Y=
=Sx9u
-----END PGP SIGNATURE-----
--
pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
ssb rsa4096/832C8F4DCD904263 created: 2019-05-04 expires: 2024-05-02 usage: S
Technical Details
Message-ID:
<slrnqdouil.u39.admin@fleegle.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<qbhq59$vnu$1@neodome.net> <qbhq9t$71t$11@dont-email.me> <qbhqrn$71t$12@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <slrnqdouil.u39.admin@fleegle.mixmin.net> Subject: Re: yamn not accepting parameter Date: Wed, 15 May 2019 20:45:09 +0000 From: Zax <admin@mixmin.net> References: <qbhq59$vnu$1@neodome.net> <qbhq9t$71t$11@dont-email.me> <qbhqrn$71t$12@dont-email.me> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail User-Agent: slrn/pre1.0.4-2 (Linux) X-Received-Bytes: 3180 X-Received-Body-Crc: 3350795957 Newsgroups: alt.privacy.anon-server Injection-Date: Wed, 15 May 2019 20:45:09 -0000 (UTC) Organization: Mixmin