Bug 39025 - Не показывает список включенным модулей по apachectl -M
Summary: Не показывает список включенным модулей по apachectl -M
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: apache2-base (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 38745
  Show dependency tree
 
Reported: 2020-10-02 11:52 MSK by Andrey Cherepanov
Modified: 2020-10-02 14:10 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Cherepanov 2020-10-02 11:52:11 MSK
# 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
#
Comment 1 Andrey Cherepanov 2020-10-02 11:57:05 MSK
При этом initlog -q -n httpd2 -c 'limited -n httpd2 -- /usr/sbin/httpd2 -M  '
ничего не выводит, а limited -n httpd2 -- /usr/sbin/httpd2 -M выводит то, что нужно.
Comment 2 Andrey Cherepanov 2020-10-02 12:01:04 MSK
--- /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
Comment 3 Repository Robot 2020-10-02 14:10:52 MSK
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)