ish-app / ish

Linux shell for iOS
https://ish.app
Other
17.25k stars 911 forks source link

syslog-ng and rsyslog cause programs that attempt to log to wedge indefinitely #1048

Open emkey1 opened 4 years ago

emkey1 commented 4 years ago

dmesg shows stub system call 375 when this happens.

Both syslog-ng and rsyslog start fine from Open RC with the modifications to inttab identified in the wiki article I wrote, but programs such as ssh fail to complete when they attempt to log.

To reproduce:

o "fix" OpenRC via an inittab modification o apk add syslog-ng syslog-ng-openrc openssh o Generate host keys 'ssh-keygen -A' o /usr/sbin/sshd adduser ish passwd ish ssh -vvv ish@localhost -p 1022

Screen Shot 2020-11-13 at 12 50 38 PM Screen Shot 2020-11-13 at 12 51 53 PM
emkey1 commented 4 years ago

I suspect the root of the problem is...

2020-11-17 16:50:25.210570-0500 iSH[5278:301716] 507 stub syscall 375 2020-11-17 16:50:45.905506-0500 iSH[5278:301813] 531 stub syscall 375

emkey1 commented 1 year ago

At this point I don't think membarrier (syscall 375) is the issue. It would be great to get this on the list of things to fix. Having logging makes a lot of things easier to debug/work with.