You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/package/admin/s6-overlay/libexec/preinit: info: /run belongs to uid 1001 instead of 0 - fixing it
[migrations] started
[migrations] no migrations found
───────────────────────────────────────
██╗ ███████╗██╗ ██████╗
██║ ██╔════╝██║██╔═══██╗
██║ ███████╗██║██║ ██║
██║ ╚════██║██║██║ ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 1007
User GID: 1007
───────────────────────────────────────
Linuxserver.io version: 4.96.2-ls248
Build-date: 2024-12-20T22:44:41+00:00
───────────────────────────────────────
setting up sudo access
adding abc to sudoers
setting sudo password using sudo password hash
[custom-init] No custom files found, skipping...
[2025-01-16T09:02:04.664Z] info code-server 4.96.2 08cbdfbdf11925e8a14ee03de97b942bba7e8a94
[2025-01-16T09:02:04.668Z] info Using user-data-dir /config/data
[2025-01-16T09:02:04.692Z] info Using config file /config/.config/code-server/config.yaml
[2025-01-16T09:02:04.693Z] info HTTP server listening on http://0.0.0.0:8443/
[2025-01-16T09:02:04.693Z] info - Authentication is enabled
[2025-01-16T09:02:04.693Z] info - Using password from $HASHED_PASSWORD
[2025-01-16T09:02:04.693Z] info - Not serving HTTPS
[2025-01-16T09:02:04.693Z] info Session server listening on /config/data/code-server-ipc.sock
Connection to 127.0.0.1 8443 port [tcp/*] succeeded!
[ls.io-init] done.
The text was updated successfully, but these errors were encountered:
Your entire container filesystem appears to be owned by UID 1001, as you can see from the very first log message
/package/admin/s6-overlay/libexec/preinit: info: /run belongs to uid 1001 instead of 0 - fixing it
I'm not entirely sure how you achieve that without some serious messing with namespacing in the daemon config or possibly some very ill-advised chowning of /var/lib/docker, but it's the root of your sudo issue.
Is there an existing issue for this?
Current Behavior
The sudo command cannot execute properly, showing the following error:
Expected Behavior
The sudo command should work normally.
Steps To Reproduce
Both methods result in the same error.
Permissions of related files:
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: