this post was submitted on 12 Aug 2024
553 points (97.1% liked)

Comic Strips

12979 readers
2709 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 14 points 4 months ago (2 children)

Hint

ls -ld /var/log
drwxrwxr-x 18 root syslog 4096 Aug 11 08:13 /var/log

[–] [email protected] 7 points 4 months ago (1 children)

That seems so obvious I think we're missing something

[–] [email protected] 9 points 4 months ago (1 children)

Whatever, we have a suspect.

Bring in GDB to do the interrogation! And perhaps also call Nice, he can play the good cop...

[–] [email protected] 6 points 4 months ago (1 children)

Forgive me my ignorance, but since Apache is running as root, couldn't PHP inherit it's permissions?

[–] [email protected] 5 points 4 months ago (1 children)

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.

[–] [email protected] 4 points 4 months ago

Or PHP runs in its own fastcgi like process under a different account.

[–] [email protected] 8 points 4 months ago (1 children)

I have no clue. Root nuked the logs? Why? OOM killer does not do that.

[–] [email protected] 13 points 4 months ago (1 children)

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...

[–] [email protected] 2 points 4 months ago (1 children)

Ahh ok, so it is the obvious one.

[–] [email protected] 1 points 4 months ago

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/