CentOS / sig-cloud-instance-images

CentOS cloud images
781 stars 564 forks source link

systemd setup: localectl fails to start systemd-localed.service #179

Open mrechte opened 3 years ago

mrechte commented 3 years ago

Command localectl times out. In fact it fails to start the systemd-localed service. The log shows:

Dec 16 10:54:49 801d4204520a systemd[1]: systemd-localed.service: Failed to reset devices.list: Operation not permitted
Dec 16 10:54:49 801d4204520a systemd[1]: Failed to set devices.allow on /system.slice/containerd.service/system.slice/systemd-localed.service: Operation not permitted
Dec 16 10:54:49 801d4204520a systemd[1]: Failed to set devices.allow on /system.slice/containerd.service/system.slice/systemd-localed.service: Operation not permitted
Dec 16 10:54:49 801d4204520a systemd[1]: Failed to set devices.allow on /system.slice/containerd.service/system.slice/systemd-localed.service: Operation not permitted
Dec 16 10:54:49 801d4204520a systemd[1]: Failed to set devices.allow on /system.slice/containerd.service/system.slice/systemd-localed.service: Operation not permitted
Dec 16 10:54:49 801d4204520a systemd[1]: Failed to set devices.allow on /system.slice/containerd.service/system.slice/systemd-localed.service: Operation not permitted
Dec 16 10:54:49 801d4204520a systemd[1]: Failed to set devices.allow on /system.slice/containerd.service/system.slice/systemd-localed.service: Operation not permitted
Dec 16 10:54:49 801d4204520a systemd[1]: Failed to set devices.allow on /system.slice/containerd.service/system.slice/systemd-localed.service: Operation not permitted
Dec 16 10:54:49 801d4204520a systemd[1]: Failed to set devices.allow on /system.slice/containerd.service/system.slice/systemd-localed.service: Operation not permitted
Dec 16 10:54:49 801d4204520a systemd[1]: Failed to set devices.allow on /system.slice/containerd.service/system.slice/systemd-localed.service: Operation not permitted
Dec 16 10:54:49 801d4204520a systemd[1]: Failed to set devices.allow on /system.slice/containerd.service/system.slice/systemd-localed.service: Operation not permitted
Dec 16 10:54:49 801d4204520a systemd[1]: Starting Locale Service...
Dec 16 10:54:49 801d4204520a systemd[1]: systemd-journald.service: Failed to add fd to store: Operation not permitted
Dec 16 10:54:49 801d4204520a systemd[108]: systemd-localed.service: Failed to set up network namespacing: Operation not permitted
Dec 16 10:54:49 801d4204520a systemd[108]: systemd-localed.service: Failed at step NETWORK spawning /usr/lib/systemd/systemd-localed: Operation not permitted
Dec 16 10:54:49 801d4204520a systemd[1]: systemd-localed.service: Main process exited, code=exited, status=225/NETWORK
Dec 16 10:54:49 801d4204520a systemd[1]: systemd-localed.service: Failed with result 'exit-code'.
Dec 16 10:54:49 801d4204520a systemd[1]: Failed to start Locale Service.