Bug 57712 - cloud-final.service final.sock: No such file or directory
Summary: cloud-final.service final.sock: No such file or directory
Status: CLOSED NOTABUG
Alias: None
Product: Branch p11
Classification: Unclassified
Component: cloud-init (show other bugs)
Version: unspecified
Hardware: x86_64 Linux
: P5 blocker
Assignee: qa-team@altlinux.org
QA Contact: qa-p11@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-29 17:55 MSK by Danil
Modified: 2026-02-04 15:55 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danil 2026-01-29 17:55:54 MSK
Не выполняется блок runcmd в user-data.yml при использовании cloud-init.

● cloud-final.service - Cloud-init: Final Stage
     Loaded: loaded (/lib/systemd/system/cloud-final.service; enabled; vendor preset: disabled)
     Active: active (exited) since Thu 2026-01-29 21:49:44 +06; 55min left
    Process: 4029 ExecStart=sh -c echo "start" | nc -Uu -W1 /run/cloud-init/share/final.sock -s /run/cloud-init/share/final-return.sock | sh (code=exited, status=0/SUCCESS)
   Main PID: 4029 (code=exited, status=0/SUCCESS)
        CPU: 6ms

янв 29 21:49:44 tf-test-debian12-01 systemd[1]: Starting Cloud-init: Final Stage...
янв 29 21:49:44 tf-test-debian12-01 sh[4032]: nc: /run/cloud-init/share/final.sock: No such file or directory
янв 29 21:49:44 tf-test-debian12-01 systemd[1]: Finished Cloud-init: Final Stage.
Comment 1 Nadezhda 2026-02-04 15:55:21 MSK
Просьба ознакомиться с примечанием статьи для новой версии cloud-init https://www.altlinux.org/Cloud-init

Ненастроенный сокет может означать только то, что вы не настроили новую службу cloud-init-main.service, которая и занимается сокетами.