🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #318394

Re: YAMN v2.0.5 and Systemd service

#318394
From: Zax
Date: Fri, 04 Feb 2022 19:52
62 lines
4459 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Fri, 4 Feb 2022 04:40:32 +0000, Sinless Remop wrote in
Message-Id: <20220204.044032.ef114205@mixmin.net>:

> Yes. That is my yamn.yml's location.
> I tried the modification to yamn.service that you suggested, but the service still failed as before:
>
> * yamn.service - YAMN Anonymous Remailer
>    Loaded: loaded (/etc/systemd/system/yamn.service; enabled; vendor preset: enabled)
>    Active: failed (Result: exit-code) since Thu 2022-02-03 17:07:32 EST; 1min 29s ago
>   Process: 797 ExecStart=/home/yamn/yamn/yamn -M -D --dir /home/yamn/yamn (code=exited, status=1/FAILURE)
>  Main PID: 797 (code=exited, status=1/FAILURE)
>
> Feb 03 17:07:31 onus.sinless.space systemd[1]: Started YAMN Anonymous Remailer.
> Feb 03 17:07:31 onus.sinless.space yamn[797]: Info: 2022/02/03 17:07:31 yamn.go:187: Using config file: yamn.yml
> Feb 03 17:07:31 onus.sinless.space yamn[797]: Info: 2022/02/03 17:07:31 client.go:320: Fetching https://www.tincture.ws/pinger/yamn/pubring.mix and storing in pubring.mix
> Feb 03 17:07:32 onus.sinless.space yamn[797]: Warn: 2022/02/03 17:07:32 client.go:323: open pubring.mix: permission denied
> Feb 03 17:07:32 onus.sinless.space yamn[797]: Info: 2022/02/03 17:07:32 client.go:320: Fetching https://www.tincture.ws/pinger/yamn/mlist2.txt and storing in mlist2.txt
> Feb 03 17:07:32 onus.sinless.space yamn[797]: Warn: 2022/02/03 17:07:32 client.go:323: open mlist2.txt: permission denied
> Feb 03 17:07:32 onus.sinless.space yamn[797]: Error: 2022/02/03 17:07:32 server.go:276: Failed to create idlog. mkdir idlog: permission denied
> Feb 03 17:07:32 onus.sinless.space systemd[1]: yamn.service: Main process exited, code=exited, status=1/FAILURE
> Feb 03 17:07:32 onus.sinless.space systemd[1]: yamn.service: Failed with result 'exit-code'.
>
> When I start the YAMN daemon using Daemon it starts up. Email moves through the remailer.
> So I'm assuming that the content of my yamn.yml is good.

That's odd.  I've just created a yamn.service file and it starts without
any problems.  The principle different is this:

2022/02/04 19:26:13 [INFO]    Using config file: /home/crooks/yamn5/yamn.yml

When my remailer starts, it reports the full path to the config file but
yours doesn't.  The lack of path explains the permission denied errors.
It's probably trying to create files in /.

I've created a new branch called config_debug.  It's identical to what
you're running but will print a message stating where it's finding the
yamn.yml file.  Would you mind giving it a try?

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEJHudPu4ysYQcZBcigyyPTc2QQmMFAmH9hBEACgkQgyyPTc2Q
QmMGDA//UGaRNZFjkg9AlEO89IDecqPIRre+PYQBF3fjqcdz4vhsXN9qUkbZXu7r
/1S/hBw3YbDBKqAyTusC+utr9qOKZetiMThxS3Lg8VWUAduaxQ+O9FoK3ZmZFWTS
/hLatWjk0iLpqujVlhqpiliezdGDScD/dR16+ds12ZKP5Bh/XiL+bvTMPsQZy++a
2mBX7zjfAiqj6H0/8kQqJMSwpRz5mZMC4+6HjznUYU7Uza19jtX0AanC9dLIiykx
rRsGKGLIJrJ96DOTVnh0iMpFCD/WKuTq1FZa3f8KqHQ5O5DZB1g6Ycihu2RClJuM
GgNq/VIDSrSjZfhUYJOInZmSNOpXhikstWHgQTDqaNNZeN7akb/UEyla1XeI7iNt
pQiZ9mUCuKRr3ysxKeXSyNQ9nEOZr/Xnxj6QVi9QkNY5WrqxJ7ok1Omo20v0KURw
8qDkrp6URZOTfJUYXjK2gscNJy4h7/8DzN8SirPdb+Dw+3fCP9HtTYiXsRENhein
UiSaJNpJX4JJ3pJRplTMMMNcvhnLwJjUv3Z919TZXYz/Vv383NREWGVsa2jCo+XF
28cee7RhzkObjujRAi2gF1U98WjThQZuR0ktBeACSrF12zHbB28bPN3/N96c/hEa
YjSQIkUBpgCQwtUhuzJ5Ivd+mYN2LfQ9lsneXKt49HLt8gtOXRY=
=yZUE
-----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: <slrnsvr10k.e3v.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-mail
References: <slrnsvoj2r.e3v.admin@fleegle.mixmin.net> <20220204.044032.ef114205@mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnsvr10k.e3v.admin@fleegle.mixmin.net>
Subject: Re: YAMN v2.0.5 and Systemd service
Date: Fri, 04 Feb 2022 19:52:52 +0000
From: Zax <admin@mixmin.net>
References: <slrnsvoj2r.e3v.admin@fleegle.mixmin.net> <20220204.044032.ef114205@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-mail
Newsgroups: alt.privacy.anon-server
Organization: Mixmin
Injection-Date: Fri, 4 Feb 2022 19:52:52 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="c4af4a3027e8317d29ea238d8aa6bb2f616aa3fc"; logging-data="1321320"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.4-2 (Linux)