| [08:38:52] | <mstenta[m]> | symbioquine: FYI I opened a PR for https://www.drupal.org/project/farm/issues/3217264 |
| [08:38:55] | <mstenta[m]> | https://github.com/farmOS/farmOS/pull/1047 |
| [08:44:26] | <symbioquine[m]> | Seems reasonable. I wouldn't have been surprised to find IE on that list - but I'm glad it's not at this point. |
| [08:44:52] | <symbioquine[m]> | TIL: IE may be around 0.3% of browser usage these days 🎉 |
| [08:45:10] | <symbioquine[m]> | (based on https://caniuse.com/usage-table) |
| [08:45:28] | <symbioquine[m]> | Probably higher if you include corporate intranet kinds of usage I'd imagine. |
| [08:45:54] | <symbioquine[m]> | Also interesting would be to know what the usage of different browsers is among our actual target demographics. |
| [08:51:51] | <symbioquine[m]> | Quick sanity check... trying to fix some of my test harness stuff for the farmOS_wfs module and in my docker-compose.yml I'm doing some setup that (probably) needs to run as root. So I added user: root to the service and added a su www-data as part of exec'ing the docker-entrypoint.sh. Any idea why I'd be running into (13)Permission denied: AH00091: apache2: could not open error log file /var/log/apache2/error.log.? |
| [08:52:38] | <symbioquine[m]> | Seems like I shouldn't have caused any change to the permissions of that stuff and it should still be running as the user it expects to be (based on the image). |
| [08:53:05] | <symbioquine[m]> | ACTION sent a yml code block: https://matrix.org/oftc/media/v1/media/download/AX3OSpT0-_XRy2mppJAAI8uH... |
| [08:55:01] | <symbioquine[m]> | Trying adding a `ls -lah /var/log && ls -lah /var/log/apache2` to see if that stuff is somehow getting the wrong permissions... |
| [08:55:46] | <mstenta[m]> | Hmm |
| [08:56:04] | <symbioquine[m]> | ACTION uploaded an image: (153KiB) < https://matrix.org/oftc/media/v1/media/download/AZg97hOYjp9gLW3NSu7SbZo8... > |
| [08:56:41] | <symbioquine[m]> | That's interesting. I guess I need to change the permissions on /dev/stderr and /dev/stdout so the user can write them... |
| [08:56:48] | <symbioquine[m]> | Kinda weird |
| [08:57:01] | <symbioquine[m]> | * That's interesting. I guess I need to change the permissions on /dev/stderr and /dev/stdout so the www-data user can write them... |
| [09:02:32] | <symbioquine[m]> | It's ugly and I'm not sure what the security consequences are, but I added a chmod 777 /dev/stderr /dev/stdout and that fixed it 🫣 |
| [09:08:45] | <mstenta[m]> | Eh it's just for testing |
| [09:09:32] | <mstenta[m]> | Not sure I understand why that's happening here though... but it's not an issue with the image itself, right? |
| [09:09:41] | <symbioquine[m]> | Nope |
| [09:10:09] | <symbioquine[m]> | It's my use of user: root in the docker-compose.yml file |
| [09:11:08] | <symbioquine[m]> | Presumably that causes docker to create those (presumably) named pipes. |
| [09:11:12] | <symbioquine[m]> | * I guess that causes docker to create those (presumably) named pipes. |
| [09:11:33] | <symbioquine[m]> | * I guess that causes docker to create those (presumably) named pipes with the user's ownership - in my case root. |
| [09:11:36] | <mstenta[m]> | huh |
| [09:11:48] | <mstenta[m]> | ACTION sent a bash code block: https://matrix.org/oftc/media/v1/media/download/AVdz9oW1Ei43nwah_ZN2Kkm-... |
| [09:12:08] | <symbioquine[m]> | Hmmm |
| [09:12:13] | <symbioquine[m]> | oh |
| [09:12:17] | <symbioquine[m]> | that's a different case |
| [09:12:48] | <mstenta[m]> | oh |
| [09:12:52] | <symbioquine[m]> | This would be more like docker run --rm -it -u root farmos/farmos:4.0.0-beta2 su www-data -s /bin/bash -c 'exec docker-entrypoint.sh apache2-foreground' |
| [09:13:06] | <mstenta[m]> | because you are trying to start as root but run as www-data |
| [09:13:12] | <symbioquine[m]> | yeah |
| [09:13:40] | <mstenta[m]> | yup... |
| [09:13:49] | <mstenta[m]> | ACTION sent a bash code block: https://matrix.org/oftc/media/v1/media/download/Ac8iPCMSeGUQHmT3_pggVBL8... |
| [09:16:15] | <mstenta[m]> | same thing with drupal base image... |
| [09:16:23] | <mstenta[m]> | ACTION sent a bash code block: https://matrix.org/oftc/media/v1/media/download/AYzW9tCI2jI8nsLoHD7u0CXH... |
| [09:16:50] | <symbioquine[m]> | I bet it goes all the way back to the apache image. |
| [09:24:22] | <symbioquine[m]> | Unsuprisingly, I also had to add;... (full message at <https://matrix.org/oftc/media/v1/media/download/AejkOU-8S2ObSCcG1CIr4RcU...) |
| [11:12:30] | <symbioquine[m]> | https://github.com/symbioquine/farmOS_wfs/actions 🤞 |