🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: YAMN v2.0.5 and Systemd service

#318387
From: Sinless Remop
Date: Fri, 04 Feb 2022 04:40
46 lines
5597 bytes
On 2022-02-03 16:42, Zax wrote:

>> I am currently testing the new YAMN version at Sinless remailer. It is
>> working okay with the new yamn.yml config file. But the problem I am having
>> is the Systemd service I used to start YAMN fails with these errors.
> 
>> Jan 31 12:26:31 onus.sinless.space systemd[1]: Started YAMN Anonymous Remailer.
> 
>> Jan 31 12:26:31 onus.sinless.space yamn[29606]: Warn: 2022/01/31 12:26:31 yamn.go:189:
>> No config file was found. Resorting to defaults
> 
> Hi,
> 
> In this age, systemd is probably the best west way to start a remailer.
> I used Daemon way back when sysvinit was the normal but I'd go with
> systemd now.
> 
> Please can you try modifying your unit file to:
> ExecStart=/home/yamn/yamn/yamn -M -D --dir /home/yamn/yamn
> 
> The above assumes your yamn.yml file is located at /home/yamn/yamn/yamn.yml.

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.
 
Sinless Remop
remop at sinless.space
Technical Details
Message-ID: <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
References: <slrnsvoj2r.e3v.admin@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <20220204.044032.ef114205@mixmin.net>
Subject: Re: YAMN v2.0.5 and Systemd service
Date: Fri, 4 Feb 2022 04:40:32 +0000
From: Sinless Remop <noreply@mixmin.net>
References: <slrnsvoj2r.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
Injection-Info: neodome.net; posting-account="mail2news"; key="PdZ0i7MyyoNMwL5ETYq9lTw406m57unAB6PTsnsk+P4r0a4cC6F8xinQK4milJJNT9EXKc +ivlttrETbSezcKaI5wyNrGRnMiViJo+Wx3jHqmauJGQGj/624+J3Etfwu6yfM9cguuq8kLKJVD TqubmFwhBLJQSQHTQhiiUpXYXPKkPmGzdpyhbvWcV2FD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UVA8QfVM7XWKSHna8X0xp5ABFAAvDw1+YCCejx 5iXUJJk5WmYwfuHV52dQi8nRFBwvmu1VCAlODe/igFZ8XuKBHIrK76xA9Bxjlu8kN3pCIV4MJKo 2NhBG5iMfgyU9ohV3lOtQnMCRxmRMnWyMyrwY464121WaCaIt7A5fiXDj2WWI2ZZcfShepGsChy qWKTlEK+K+gB0O8tjpihwLPuTsbTRkTo9Herh+tglqNwiz27jg6I+4pYu+G8cKnj16C+vCmHsMy 1FLSJLvjkZozEunLupC4fctsdtMihz6OyEglpoat5EbdaNAlG3fjQMkzOpS9ICUkaNGe7LcIpgV ESWFNFBTj4rLAvjuHgE1wROyKqjkCvscRtDsK5K1KCZfGgNHK7DwLfDTMcNzAgrygSHpLkaY/1F JkXVKGbx+dPl+ARtD8EtftNNWES3n+aiCP38YjYmBaelmQxbjEuurpoV43hmdUKZinOJ4TuMJKA QjexOpGf0BJxjUs1GvZgg/QiM6MGAjFl3ifkllYRiPluA7yPd/QRpyqygONkmFImcm4nhRuKtsz bT/x+dVD3ExczXVTCjnxDoL7jbHh5oRSlVmrcps90jXpYt8yL7Fb7OUzs+2vX+wF4NzqEJoRGyy PZuOvoaY2kwhT/x+6PSRNMw4T9yvO9N7F03ZZ0tGpCCML56w2lT+JU8EN051D4XDf56pFawt60= "; mail-complaints-to="abuse@neodome.net"
Newsgroups: alt.privacy.anon-server
Comments: This message was transferred to Usenet via mail2news gateway at <mail2news@neodome.net>. Please send questions and concerns to <admin@neodome.net>. Report inappropriate use to <abuse@neodome.net>.
Injection-Date: Fri, 4 Feb 2022 04:45:01 +0000 (UTC)