-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Can't install new certificates with certbot-apache under Gentoo since version 0.20.0 #5344
Comments
Solution is probably to override the reset_modules in the same way that you override update_runtime_variables, because everything goes well until cleanup when reset_modules is called Sorry I don't have enough know-how to patch it myself |
Thanks for the detailed bug report, you are completely right about the fix too! While I was working on the PR, I actually patched that functionality for Gentoo ( https://bugs.gentoo.org/634414 ) , and looks like I left the patched version of apache2ctl in my test system and this go through. |
@joohoi This bug bit me :( What do I do in the meantime to renew my certs? |
@igravious I suggest downgrading to version 0.19.0 |
Unfortunately the only options seem to be downgrading, or temporarily substituting the |
FYI, this has been fixed in Gentoo with apache-2.4.33 meanwhile. |
It seems that version 0.20.0 has a major architecture revision from 0.19.0, in particular regarding OS specific overrides. But the Gentoo overrides have a flaw when trying to install a new certificate : at one point it tries to run "apache2ctl -t -D DUMP_MODULES", which is no good at all under Gentoo because apache2ctl is a dummy script redirecting to /etc/init.d/apache2. It generates this error :
Error in checking parameter list: /etc/init.d/apache2: invalid option -- 't'
My operating system is (include version):
Gentoo
I installed Certbot with (certbot-auto, OS package manager, pip, etc):
OS package manager (emerge) with testing (~amd64) flag
I ran this command and it produced this output:
Certbot's behavior differed from what I expected because:
Certbot did not install the certificate because it failed to run apache2ctl -t -D DUMP_MODULES
The text was updated successfully, but these errors were encountered: