Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Dumping trivial systemd service #2576

Open
adanaila opened this issue Jan 28, 2025 · 1 comment
Open

Error Dumping trivial systemd service #2576

adanaila opened this issue Jan 28, 2025 · 1 comment

Comments

@adanaila
Copy link

I have a relatively trivial systemd service that I am not able to dump, this is on linux kernel 5.15.177 ARM (latest supported branch of 5.15. The service is as follows:

[Unit]
Description=Test Dump service
StartLimitBurst=5
StartLimitIntervalSec=10s

[Service]
ExecStart=/bin/sleep 3600
LimitCORE=infinity
DynamicUser=True

Dump command used:
criu dump -t 56164 -D test_service/ -v3 --external 'mnt[]:s' --enable-external-masters

Error is:
(00.081697) Error (criu/files-reg.c:1790): Can't lookup mount=24 for fd=0 path=/dev/null

criu.log

Any ideas would be greatly appreciated.

@adrianreber
Copy link
Member

I guess your systemd service is using some systemd security feature to use a separate mount namespace. Does it work if you remove DynamicUser=True. If you want to use DynamicUser=True you need to specify further options to CRIU about mounts. Just guessing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants