-
Notifications
You must be signed in to change notification settings - Fork 252
Open
Description
We have been experimenting with Alpine Linux LX images over a longer period of time. Since Alpine Linux version 3.13 we've seen issues on shutdown where the "poweroff" command yields an "Operation not permitted" error.
alpine:~# poweroff
poweroff: Operation not permitted
alpine:~# strace -s 65535 -f poweroff
execve("/sbin/poweroff", ["poweroff"], 0x7fffffeffc58 /* 13 vars */) = 0
arch_prctl(ARCH_SET_FS, 0x7fffef391b28) = 0
set_tid_address(0x7fffef391f90) = 18335
brk(NULL) = 0x8000
brk(0xa000) = 0xa000
mmap(0x8000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x8000
mprotect(0x7fffef38e000, 4096, PROT_READ) = 0
mprotect(0x7fffef456000, 16384, PROT_READ) = 0
getuid() = 0
nanosleep({tv_sec=0, tv_nsec=0}, 0x7fffffeffb50) = 0
uname({sysname="Linux", nodename="alpine", ...}) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/run/utmps/.wtmpd-socket"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
sync() = 0
kill(1, SIGUSR2) = -1 EPERM (Operation not permitted)
access("/proc/meminfo", F_OK) = 0
write(2, "poweroff: Operation not permitted\n", 34poweroff: Operation not permitted
) = 34
exit_group(1 <unfinished ...>
+++ exited with 1 +++
alpine:~#
#969 is most likely a related issue.
We are running smartos 20250109T000743Z on that machine.
I am not sure where to look to get this fixed… any pointers?
Metadata
Metadata
Assignees
Labels
No labels