# a2dismod Which module would you like to disable? Your choices are: access_compat alias authn_core authz_core authz_host authz_user autoindex cgi deflate dir env filter headers include log_config logio mime mod_php7 negotiation ngobjweb proxy_http proxy rewrite setenvif ssl wsgi wsgi-py3 Module name? ^C # apachectl -M #
При этом initlog -q -n httpd2 -c 'limited -n httpd2 -- /usr/sbin/httpd2 -M ' ничего не выводит, а limited -n httpd2 -- /usr/sbin/httpd2 -M выводит то, что нужно.
--- /usr/sbin/apachectl.orig 2020-10-02 12:00:03.194388720 +0300 +++ /usr/sbin/apachectl 2020-10-02 12:00:19.166361706 +0300 @@ -301,7 +301,7 @@ ERROR=$? ;; *) - initlog $INITLOG_ARGS -n "$BASENAME" -c "limited -n $BASENAME -- $BINARY $ARGV $OPTIONS $DEFINE" + initlog -n "$BASENAME" -c "limited -n $BASENAME -- $BINARY $ARGV $OPTIONS $DEFINE" ERROR=$? esac
apache2-1:2.4.46-alt2 -> sisyphus: Fri Oct 02 2020 Anton Farygin <rider@altlinux.ru> 1:2.4.46-alt2 - fixed apachectl -M behavior (closes: #39025)