mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
apache2: Disable pubtkt authentication module
- Since FreedomBox does not depend on the package anymore, unattended-upgrades will remove the package. This causes Apache2 to fail to start. Disable the module from Apache2 configuration. Tests: - Remove the libapache2-mod-auth-pubtkt package. Re-run apache app setup by incrementing it version number. Apache will fail to start. Apply the patch and increment the version number. auth_pubtkt module will be disabled and Apache is automatically running again. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
6128d3be16
commit
97a2d68ac6
@ -86,7 +86,7 @@ class ApacheApp(app_module.App):
|
||||
|
||||
app_id = 'apache'
|
||||
|
||||
_version = 15
|
||||
_version = 16
|
||||
|
||||
def __init__(self) -> None:
|
||||
"""Create components for the app."""
|
||||
|
||||
@ -128,7 +128,7 @@ def setup(old_version: int):
|
||||
# Various modules for authentication/authorization
|
||||
webserver.enable('auth_openidc', kind='module')
|
||||
webserver.enable('authnz_ldap', kind='module')
|
||||
webserver.enable('auth_pubtkt', kind='module')
|
||||
webserver.disable('auth_pubtkt', kind='module')
|
||||
|
||||
# enable some critical modules to avoid restart while installing
|
||||
# FreedomBox applications.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user