<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false">Hi all,<br><div dir="ltr" data-setdir="false"><br><div dir="ltr" data-setdir="false">I tried to install mailscanner to my LXC container. Installation completed successfully. After installation I wanted to start service with command:<br><div dir="ltr" data-setdir="false"># service mailscanner start<br><div>Job for mailscanner.service failed because of unavailable resources or another system error.</div>See "systemctl status mailscanner.service" and "journalctl -xe" for details.</div><div dir="ltr" data-setdir="false"><div><div dir="ltr" data-setdir="false"><br><div dir="ltr" data-setdir="false">I posted logs below. I think the problem is in "<span>mailscanner.service: Failed to set invocation ID on control group
/system.slice/mailscanner.service, ignoring: Operation not permitted</span>"<br><div>How can I avoid that? I googled without success. Probabbly this is because LXC containter?<br><div><div dir="ltr" data-setdir="false"><div dir="ltr" data-setdir="false"><div><div dir="ltr" data-setdir="false"><br><div>Thank you for your help.<br></div></div><br></div><div>Some details and logs:<br><br></div></div><div># uname -a<br>Linux boba 4.15.18-15-pve #1 SMP PVE 4.15.18-40 (Tue, 21 May 2019 17:43:20 +0200) x86_64 GNU/Linux<br><br></div></div><br></div></div></div></div></div><div><div># systemctl status mailscanner.service<br><br></div>● mailscanner.service - LSB: MailScanner daemon<br> Loaded: loaded (/usr/lib/MailScanner/init/ms-init; enabled; vendor preset: enabled)<br> Active: failed (Result: resources) since Fri 2019-11-08 10:55:59 CET; 3min 9s ago<br> Docs: man:systemd-sysv-generator(8)<br> Process: 17588 ExecStart=/usr/lib/MailScanner/init/ms-init start (code=exited, status=0/SUCCESS)<br><br>nov 08 10:55:59 boba systemd[1]: Starting LSB: MailScanner daemon...<br>nov 08 10:55:59 boba ms-init[17588]: Edit the file /etc/MailScanner/MailScanner.conf according to<br>nov 08 10:55:59 boba ms-init[17588]: your needs. When complete, edit /etc/MailScanner/defaults and set<br>nov 08 10:55:59 boba ms-init[17588]: the variable to enable MailScanner to run:<br>nov 08 10:55:59 boba ms-init[17588]: run_mailscanner=1<br>nov 08 10:55:59 boba systemd[1]: mailscanner.service: PID file /var/run/MailScanner.pid not readable (yet?) after start: No such file or directory<br>nov 08 10:55:59 boba systemd[1]: Failed to start LSB: MailScanner daemon.<br>nov 08 10:55:59 boba systemd[1]: mailscanner.service: Unit entered failed state.<br>nov 08 10:55:59 boba systemd[1]: mailscanner.service: Failed with result 'resources'.<br><div><br><br></div></div><div dir="ltr" data-setdir="false"><div>#journalctl -xe<br></div><div><div><br>nov 08 11:02:45 boba systemd[1]: mailscanner.service: Failed to reset devices.list: Operation not permitted</div>nov 08 11:02:45 boba systemd[1]: mailscanner.service: Failed to set invocation ID on control group /system.slice/mailscanner.service, ignoring: Operation not permitted<br>nov 08 11:02:45 boba systemd[1]: Starting LSB: MailScanner daemon...<br>-- Subject: Unit mailscanner.service has begun start-up<br>-- Defined-By: systemd<br>-- Support: https://www.debian.org/support<br>--<br>-- Unit mailscanner.service has begun starting up.<br>nov 08 11:02:45 boba ms-init[18374]: Edit the file /etc/MailScanner/MailScanner.conf according to<br>nov 08 11:02:45 boba ms-init[18374]: your needs. When complete, edit /etc/MailScanner/defaults and set<br>nov 08 11:02:45 boba ms-init[18374]: the variable to enable MailScanner to run:<br>nov 08 11:02:45 boba ms-init[18374]: run_mailscanner=1<br>nov 08 11:02:45 boba systemd[1]: mailscanner.service: PID file /var/run/MailScanner.pid not readable (yet?) after start: No such file or directory<br>nov 08 11:02:45 boba systemd[1]: Failed to start LSB: MailScanner daemon.<br>-- Subject: Unit mailscanner.service has failed<br>-- Defined-By: systemd<br>-- Support: https://www.debian.org/support<br>--<br>-- Unit mailscanner.service has failed.<br>--<br>-- The result is failed.<br>nov 08 11:02:45 boba systemd[1]: mailscanner.service: Unit entered failed state.<br>nov 08 11:02:45 boba systemd[1]: mailscanner.service: Failed with result 'resources'.<br><br></div><div><br></div></div></div></div></div></div></div></body></html>