-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vsftpd syscall error on Monterey #88570
Comments
This sounds like an upstream issue rather than a packaging issue, no? If so, please report this upstream. Thanks! |
You're right, doing so right now. Thought some patch could be brought in the formula, or build flag. Thanks! |
Ref: djarosz/vsftpd#3 |
Okay, given the fact that there's already a macOS-related patch within the current I've made a patch, that works for me locally. The idea is to avoid tuning any rlimit/ulimit if the platform is Apple. The way I patched this is very similar to the other existing formula patch. Tested & working, FTP connections now work again, and file uploads are also OK on my end. Patch diff:
|
Made a patch on the homebrew formula itself. Tested the formula locally and working. Opened 2 PRs: |
Please also submit any patches upstream. |
Yes, doing this right now. |
Fixed in #88573. |
brew config
brew doctor
brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
Installed latest vsftpd formula on Monterey, vsftpd starts just fine as before, but is unable to fork when creating a new FTP connection.
What happened (include all command output)?
vsftpd fails on a syscall error defined in: https://github.com/djarosz/vsftpd/blob/master/sysutil.c#L2798
The error returned by vsftpd upon opening the connection is the following:
Note that
setrlimit
is a syscal, which seems to have been removed (?) in Monterey. Googlingsetrlimit Monterey
pops similar issues with other software, eg.dovecot
.What did you expect to happen?
Expected that the FTP connection would be opened w/o any issue.
Step-by-step reproduction instructions (by running
brew
commands)- Run vsftpd 3.0.5 with a working configuration (any configuration, really) - vsftpd starts as normal - Try to open a FTP connection to vsftpd - vsftpd fails and reject the connection with: `OOPS: setrlimit`
The text was updated successfully, but these errors were encountered: