Serenity: shutdown: No shutdown after confirmation

Created on 13 Nov 2019  路  1Comment  路  Source: SerenityOS/serenity

Using the "Shutdown..." option from the Taskbar menu does not actually shut down Serenity after confirming in the shutdown confirmation message box.

Log:

shutdown(16): perror(): shutdown: Operation not permitted
0x00138358  Process::sys$exit(int) +14
0x0013bf0d  syscall_trap_entry +155
0x0013be3a  syscall_trap_handler +39
0x0805484d  exit +65
0x0804832b  __cxa_pure_virtual +0
Finalizing Thread 0 in shutdown(16)
Finalizing Process shutdown(16)
reap: shutdown(16) {Dead}
~Process{0x0042a0e8} name=shutdown pid=16, m_fds=0
~Thread{0x0043b4c8}
reaped unparented process shutdown(16), exit status: 256
bug regression

Most helpful comment

Ah yeah, this is a bug. The shutdown() syscall fails because the SystemDialog program runs with a non-superuser UID :)

>All comments

Ah yeah, this is a bug. The shutdown() syscall fails because the SystemDialog program runs with a non-superuser UID :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Lubrsi picture Lubrsi  路  4Comments

nibblebits picture nibblebits  路  4Comments

ZyorYT picture ZyorYT  路  6Comments

linusg picture linusg  路  3Comments

xTibor picture xTibor  路  5Comments