You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cron won't run inside server container with custom uid #1899
Thank you, "not planned" sounds fine, and we should add a note in the docs (I'll submit a patch). I don't think this is a dup of #1740 though. That issue is about running cron as a user the sysadmin chooses. This issue is, when running as a nonprivileged user, busybox's crond fails to run cron.php. I think the error message crond: can't set groups: Operation not permitted is coming from busybox's crond, which perhaps expects it is running as root. That would explain the likely attempt to drop permissions or whatever it is doing when it calls setgroups(). I didn't look to deep though, so I suppose some PHP code could be trying to call setgroups(). It does look like a busybox error message though.
Activity
J0WI commentedon Jan 17, 2023
duplicate of #1740
meonkeys commentedon Jan 17, 2023
Thank you, "not planned" sounds fine, and we should add a note in the docs (I'll submit a patch). I don't think this is a dup of #1740 though. That issue is about running cron as a user the sysadmin chooses. This issue is, when running as a nonprivileged user, busybox's crond fails to run
cron.php. I think the error messagecrond: can't set groups: Operation not permittedis coming from busybox's crond, which perhaps expects it is running as root. That would explain the likely attempt to drop permissions or whatever it is doing when it callssetgroups(). I didn't look to deep though, so I suppose some PHP code could be trying to callsetgroups(). It does look like a busybox error message though.