Comments (20)
What does
journalctl --user -xeu pod-paperless.service
output?
from ppngx.
dic 01 17:42:51 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
░░ Subject: A start job for unit UNIT has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has begun execution.
░░
░░ The job identifier is 1380.
dic 01 17:42:51 MyComputer systemd[3080]: pod-paperless.service: New main PID 76437 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 17:42:51 MyComputer systemd[3080]: pod-paperless.service: New main PID 76437 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 17:42:51 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit UNIT has entered the 'failed' state with result 'protocol'.
dic 01 17:42:51 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished with a failure.
░░
░░ The job identifier is 1380 and the job result is failed.
dic 01 17:42:51 MyComputer systemd[3080]: pod-paperless.service: Scheduled restart job, restart counter is at 1.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ Automatic restarting of the unit UNIT has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
dic 01 17:42:51 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
░░ Subject: A start job for unit UNIT has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has begun execution.
░░
░░ The job identifier is 1428.
dic 01 17:42:52 MyComputer systemd[3080]: pod-paperless.service: New main PID 76562 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 17:42:52 MyComputer systemd[3080]: pod-paperless.service: New main PID 76562 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 17:42:52 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit UNIT has entered the 'failed' state with result 'protocol'.
dic 01 17:42:52 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished with a failure.
░░
░░ The job identifier is 1428 and the job result is failed.
dic 01 17:42:52 MyComputer systemd[3080]: pod-paperless.service: Scheduled restart job, restart counter is at 2.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ Automatic restarting of the unit UNIT has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
dic 01 17:42:52 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
░░ Subject: A start job for unit UNIT has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has begun execution.
░░
░░ The job identifier is 1601.
dic 01 17:42:52 MyComputer systemd[3080]: pod-paperless.service: New main PID 76686 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 17:42:52 MyComputer systemd[3080]: pod-paperless.service: New main PID 76686 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 17:42:53 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit UNIT has entered the 'failed' state with result 'protocol'.
dic 01 17:42:53 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished with a failure.
░░
░░ The job identifier is 1601 and the job result is failed.
dic 01 17:42:53 MyComputer systemd[3080]: pod-paperless.service: Start request repeated too quickly.
dic 01 17:42:53 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit UNIT has entered the 'failed' state with result 'protocol'.
dic 01 17:42:53 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished with a failure.
░░
░░ The job identifier is 1774 and the job result is failed.
from ppngx.
Can you show me the generated pod-paperless.service file?
from ppngx.
# pod-paperless.service
# autogenerated by Podman 4.8.0
# Fri Dec 1 17:42:10 CET 2023
[Unit]
Description=Podman pod-paperless.service
Documentation=man:podman-generate-systemd(1)
Wants=network-online.target
After=network-online.target
RequiresMountsFor=/run/user/1000/containers
Wants=paperless-gotenberg.service paperless-postgresql.service paperless-redis.service paperless-sftpgo.service paperless-tika.service paperless-webserver.service
Before=paperless-gotenberg.service paperless-postgresql.service paperless-redis.service paperless-sftpgo.service paperless-tika.service paperless-webserver.service
[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=on-failure
TimeoutStopSec=70
ExecStartPre=/usr/bin/podman pod create \
--infra-conmon-pidfile %t/pod-paperless.pid \
--pod-id-file %t/pod-paperless.pod-id \
--exit-policy=stop \
--replace \
--name paperless \
-p 8000:8000 \
-p 2022:2022 \
-p 8022:8022
ExecStart=/usr/bin/podman pod start \
--pod-id-file %t/pod-paperless.pod-id
ExecStop=/usr/bin/podman pod stop \
--ignore \
--pod-id-file %t/pod-paperless.pod-id \
-t 10
ExecStopPost=/usr/bin/podman pod rm \
--ignore \
-f \
--pod-id-file %t/pod-paperless.pod-id
PIDFile=%t/pod-paperless.pid
Type=forking
[Install]
WantedBy=default.target
from ppngx.
What distro are you running this on?
Maybe it is a SELinux issue. Let's temporarily disable and and see:
getenforce
sudo setenforce 0
systemctl stop --user pod-paperless.service
systemctl start --user pod-paperless.service
from ppngx.
I'm on Fedora 39.
It does seem to generate the same error. I copy the output in the next comment.
from ppngx.
dic 01 17:42:51 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
░░ Subject: A start job for unit UNIT has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has begun execution.
░░
░░ The job identifier is 1380.
dic 01 17:42:51 MyComputer systemd[3080]: pod-paperless.service: New main PID 76437 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 17:42:51 MyComputer systemd[3080]: pod-paperless.service: New main PID 76437 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 17:42:51 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit UNIT has entered the 'failed' state with result 'protocol'.
dic 01 17:42:51 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished with a failure.
░░
░░ The job identifier is 1380 and the job result is failed.
dic 01 17:42:51 MyComputer systemd[3080]: pod-paperless.service: Scheduled restart job, restart counter is at 1.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ Automatic restarting of the unit UNIT has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
dic 01 17:42:51 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
░░ Subject: A start job for unit UNIT has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has begun execution.
░░
░░ The job identifier is 1428.
dic 01 17:42:52 MyComputer systemd[3080]: pod-paperless.service: New main PID 76562 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 17:42:52 MyComputer systemd[3080]: pod-paperless.service: New main PID 76562 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 17:42:52 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit UNIT has entered the 'failed' state with result 'protocol'.
dic 01 17:42:52 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished with a failure.
░░
░░ The job identifier is 1428 and the job result is failed.
dic 01 17:42:52 MyComputer systemd[3080]: pod-paperless.service: Scheduled restart job, restart counter is at 2.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ Automatic restarting of the unit UNIT has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
dic 01 17:42:52 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
░░ Subject: A start job for unit UNIT has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has begun execution.
░░
░░ The job identifier is 1601.
dic 01 17:42:52 MyComputer systemd[3080]: pod-paperless.service: New main PID 76686 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 17:42:52 MyComputer systemd[3080]: pod-paperless.service: New main PID 76686 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 17:42:53 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit UNIT has entered the 'failed' state with result 'protocol'.
dic 01 17:42:53 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished with a failure.
░░
░░ The job identifier is 1601 and the job result is failed.
dic 01 17:42:53 MyComputer systemd[3080]: pod-paperless.service: Start request repeated too quickly.
dic 01 17:42:53 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit UNIT has entered the 'failed' state with result 'protocol'.
dic 01 17:42:53 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished with a failure.
░░
░░ The job identifier is 1774 and the job result is failed.
dic 01 18:13:10 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
░░ Subject: A start job for unit UNIT has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has begun execution.
░░
░░ The job identifier is 2091.
dic 01 18:13:10 MyComputer systemd[3080]: pod-paperless.service: New main PID 168864 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:13:10 MyComputer systemd[3080]: pod-paperless.service: New main PID 168864 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:13:10 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit UNIT has entered the 'failed' state with result 'protocol'.
dic 01 18:13:10 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished with a failure.
░░
░░ The job identifier is 2091 and the job result is failed.
dic 01 18:13:11 MyComputer systemd[3080]: pod-paperless.service: Scheduled restart job, restart counter is at 1.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ Automatic restarting of the unit UNIT has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
dic 01 18:13:11 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
░░ Subject: A start job for unit UNIT has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has begun execution.
░░
░░ The job identifier is 2139.
dic 01 18:13:11 MyComputer systemd[3080]: pod-paperless.service: New main PID 169020 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:13:11 MyComputer systemd[3080]: pod-paperless.service: New main PID 169020 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:13:11 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit UNIT has entered the 'failed' state with result 'protocol'.
dic 01 18:13:11 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished with a failure.
░░
░░ The job identifier is 2139 and the job result is failed.
dic 01 18:13:11 MyComputer systemd[3080]: pod-paperless.service: Scheduled restart job, restart counter is at 2.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ Automatic restarting of the unit UNIT has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
dic 01 18:13:11 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
░░ Subject: A start job for unit UNIT has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has begun execution.
░░
░░ The job identifier is 2312.
dic 01 18:13:12 MyComputer systemd[3080]: pod-paperless.service: New main PID 169145 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:13:12 MyComputer systemd[3080]: pod-paperless.service: New main PID 169145 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:13:12 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit UNIT has entered the 'failed' state with result 'protocol'.
dic 01 18:13:12 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished with a failure.
░░
░░ The job identifier is 2312 and the job result is failed.
dic 01 18:13:12 MyComputer systemd[3080]: pod-paperless.service: Start request repeated too quickly.
dic 01 18:13:12 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit UNIT has entered the 'failed' state with result 'protocol'.
dic 01 18:13:12 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished with a failure.
░░
░░ The job identifier is 2485 and the job result is failed.
from ppngx.
Ok let's turn SELinux back on
sudo setenforce 1
and see if this gives us any better information
journalctl --user -u pod-paperless.service --since "3 min ago"
from ppngx.
-- No entries --
dic 01 18:21:28 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
dic 01 18:21:28 MyComputer systemd[3080]: pod-paperless.service: New main PID 193726 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:28 MyComputer systemd[3080]: pod-paperless.service: New main PID 193726 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
dic 01 18:21:29 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: Scheduled restart job, restart counter is at 1.
dic 01 18:21:29 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: New main PID 193856 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: New main PID 193856 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
dic 01 18:21:29 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: Scheduled restart job, restart counter is at 2.
dic 01 18:21:29 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
dic 01 18:21:30 MyComputer systemd[3080]: pod-paperless.service: New main PID 194004 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:30 MyComputer systemd[3080]: pod-paperless.service: New main PID 194004 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:30 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
dic 01 18:21:30 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
dic 01 18:21:30 MyComputer systemd[3080]: pod-paperless.service: Start request repeated too quickly.
dic 01 18:21:30 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
dic 01 18:21:30 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
dic 01 18:21:28 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
dic 01 18:21:28 MyComputer systemd[3080]: pod-paperless.service: New main PID 193726 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:28 MyComputer systemd[3080]: pod-paperless.service: New main PID 193726 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
dic 01 18:21:29 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: Scheduled restart job, restart counter is at 1.
dic 01 18:21:29 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: New main PID 193856 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: New main PID 193856 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
dic 01 18:21:29 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: Scheduled restart job, restart counter is at 2.
dic 01 18:21:29 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
dic 01 18:21:30 MyComputer systemd[3080]: pod-paperless.service: New main PID 194004 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:30 MyComputer systemd[3080]: pod-paperless.service: New main PID 194004 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:30 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
dic 01 18:21:30 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
dic 01 18:21:30 MyComputer systemd[3080]: pod-paperless.service: Start request repeated too quickly.
dic 01 18:21:30 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
dic 01 18:21:30 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
dic 01 18:21:28 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
dic 01 18:21:28 MyComputer systemd[3080]: pod-paperless.service: New main PID 193726 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:28 MyComputer systemd[3080]: pod-paperless.service: New main PID 193726 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
dic 01 18:21:29 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: Scheduled restart job, restart counter is at 1.
dic 01 18:21:29 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: New main PID 193856 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: New main PID 193856 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
dic 01 18:21:29 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
dic 01 18:21:29 MyComputer systemd[3080]: pod-paperless.service: Scheduled restart job, restart counter is at 2.
dic 01 18:21:29 MyComputer systemd[3080]: Starting pod-paperless.service - Podman pod-paperless.service...
dic 01 18:21:30 MyComputer systemd[3080]: pod-paperless.service: New main PID 194004 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:30 MyComputer systemd[3080]: pod-paperless.service: New main PID 194004 does not belong to service, and PID file is not owned by root. Refusing.
dic 01 18:21:30 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
dic 01 18:21:30 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
dic 01 18:21:30 MyComputer systemd[3080]: pod-paperless.service: Start request repeated too quickly.
dic 01 18:21:30 MyComputer systemd[3080]: pod-paperless.service: Failed with result 'protocol'.
dic 01 18:21:30 MyComputer systemd[3080]: Failed to start pod-paperless.service - Podman pod-paperless.service.
from ppngx.
Are you running this as rootful Podman?
from ppngx.
Not that I know. It should be rootless. It has never asked for my root password and I have not even activated the Docker compatibility layer. I run it directly from my user.
Indeed, I try to use Podman to avoid the root requirement.
Is there any way in which I can double check? I am not very experienced with containers, so I may be doing something wrong...
from ppngx.
Did you copy the unit files into $HOME/.config/systemd/user/
?
ls -lah $HOME/.config/systemd/user/
from ppngx.
No, they are there because, following the steps that you present in the GitHub page, I run the command within that folder. I didn't copy them from elsewhere.
Edited to make my response have sense.
from ppngx.
Maybe this is related? containers/podman#18551 I see you have a protonvpn_reconnect.service
and maybe that is mucking things up like this user reported?
Here is my mount for cgroup
$ mount | grep cgroup
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,seclabel,nsdelegate,memory_recursiveprot)
What does mount | grep cgroup
show for you?
from ppngx.
I will have a look onto the link.
The mount | grep cgroup
shows the following:
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,seclabel,nsdelegate,memory_recursiveprot)
net_cls on /sys/fs/cgroup/net_cls type cgroup (rw,relatime,seclabel,net_cls)
from ppngx.
I bet that net_cls
mount is causing the issue. If you do a systemd-cgls
as your user I bet you will see a net_cls
entry that has processes owned by root as reported in systemd/systemd#21945
Try disabling the ProtonVPN service, and unmount /sys/fs/cgroup/net_cls
and see if the issue with starting the pod unit persists.
from ppngx.
Indeed, disabling the VPN and unmounting the cgroup seems to work.
From the last link to the systemd issue that you shared, I understand that the problem is the way in which the VPN service is implemented and that there is no way around it, right? That is, if the VPN creates that service and the cgroup, rootless podman will fail, am I right?
from ppngx.
Yeah that is my take on the issue. It is a problem with how ProtonVPN is handling their service. Mullvad seems to have a work around with using a different directory for their VPN service mullvad/mullvadvpn-app#3299 but you'd have to contact ProtonVPN to see if their systemd service can be changed to work around this problem.
from ppngx.
Just to make this issue as complete as possible if someone finds the same problem:
The problem is created by Mullvad VPN daemon which seems to mount net_cls
by default in a directory that creates problems. As they specify in their README, there is an ENV variable called TALPID_NET_CLS_MOUNT_DIR
to configure the mount point. Setting this mount point outside where systemd is mounting its cgroup2 should make things work.
@jdoss Thank you very much for your help.
from ppngx.
You are welcome @manueldeljesus. 😄
from ppngx.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ppngx.