lawrence@lemmy.worldM to Comic Strips@lemmy.world · 6 个月前Linux processeslemmy.worldimagemessage-square67fedilinkarrow-up1572arrow-down118
arrow-up1554arrow-down1imageLinux processeslemmy.worldlawrence@lemmy.worldM to Comic Strips@lemmy.world · 6 个月前message-square67fedilink
minus-squareRexelpitlum@discuss.tchncs.delinkfedilinkarrow-up14·6 个月前 Hint ls -ld /var/log drwxrwxr-x 18 root syslog 4096 Aug 11 08:13 /var/log
minus-squareverstra@programming.devlinkfedilinkarrow-up8·6 个月前I have no clue. Root nuked the logs? Why? OOM killer does not do that.
minus-squareRexelpitlum@discuss.tchncs.delinkfedilinkarrow-up13·6 个月前Well, there is only one who could have erased all traces of the SIGKILL… And only the SIGKILLER would have had reason to do so…
minus-squareRexelpitlum@discuss.tchncs.delinkfedilinkarrow-up1·6 个月前No, actually it is the boring solution. I has been a user. Here is the follow-up comic: https://turnoff.us/geek/who-killed-mysql-epilogue/
minus-squarehemko@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up7·6 个月前That seems so obvious I think we’re missing something
minus-squareRexelpitlum@discuss.tchncs.delinkfedilinkarrow-up9·6 个月前Whatever, we have a suspect. Bring in GDB to do the interrogation! And perhaps also call Nice, he can play the good cop…
minus-squarehemko@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up6·6 个月前Forgive me my ignorance, but since Apache is running as root, couldn’t PHP inherit it’s permissions?
minus-squarelawrence@lemmy.worldOPMlinkfedilinkarrow-up5·6 个月前The Apache main process runs as root. When it receives a request, it spawns a child process that doesn’t run as root. PHP runs as the same user as the Apache child process.
minus-squarejollyrogue@lemmy.mllinkfedilinkarrow-up4·6 个月前Or PHP runs in its own fastcgi like process under a different account.
Hint
ls -ld /var/log drwxrwxr-x 18 root syslog 4096 Aug 11 08:13 /var/log
I have no clue. Root nuked the logs? Why? OOM killer does not do that.
Well, there is only one who could have erased all traces of the SIGKILL…
And only the SIGKILLER would have had reason to do so…
Ahh ok, so it is the obvious one.
No, actually it is the boring solution. I has been a user.
Here is the follow-up comic:
https://turnoff.us/geek/who-killed-mysql-epilogue/
That seems so obvious I think we’re missing something
Whatever, we have a suspect.
Bring in GDB to do the interrogation! And perhaps also call Nice, he can play the good cop…
Forgive me my ignorance, but since Apache is running as root, couldn’t PHP inherit it’s permissions?
The Apache main process runs as root. When it receives a request, it spawns a child process that doesn’t run as root. PHP runs as the same user as the Apache child process.
Or PHP runs in its own fastcgi like process under a different account.