Package: libapache2-mod-php7.3
Version: 7.3.27-1~deb10u1
Severity: normal

When libapache2-mod-php7.3 is updated, Apache (systemctl service "apache2") 
does not get restarted automatically.
I would expect Apache to be restarted automatically after the package update.

Example update session (via cron-apt):

Feb 18 04:54:05 glimmer cron-apt: The following packages will be upgraded:
Feb 18 04:54:05 glimmer cron-apt:   libapache2-mod-php7.3 libssl1.1 openssl 
php7.3-bcmath php7.3-cli
Feb 18 04:54:05 glimmer cron-apt:   php7.3-common php7.3-curl php7.3-gd 
php7.3-intl php7.3-json php7.3-mbstring
Feb 18 04:54:05 glimmer cron-apt:   php7.3-mysql php7.3-opcache php7.3-readline 
php7.3-soap php7.3-sqlite3
Feb 18 04:54:05 glimmer cron-apt:   php7.3-xml php7.3-xmlrpc php7.3-zip
Feb 18 04:54:05 glimmer cron-apt: apt-listchanges: Reading changelogs...
Feb 18 04:54:05 glimmer cron-apt: apt-listchanges: Changelogs
--
Feb 18 04:54:05 glimmer cron-apt: Unpacking php7.3-gd (7.3.27-1~deb10u1) over 
(7.3.19-1~deb10u1) ...#015
Feb 18 04:54:05 glimmer cron-apt: Preparing to unpack 
.../13-php7.3-curl_7.3.27-1~deb10u1_amd64.deb ...#015
Feb 18 04:54:05 glimmer cron-apt: Unpacking php7.3-curl (7.3.27-1~deb10u1) over 
(7.3.19-1~deb10u1) ...#015
Feb 18 04:54:05 glimmer cron-apt: Preparing to unpack 
.../14-php7.3-bcmath_7.3.27-1~deb10u1_amd64.deb ...#015
Feb 18 04:54:05 glimmer cron-apt: Unpacking php7.3-bcmath (7.3.27-1~deb10u1) 
over (7.3.19-1~deb10u1) ...#015
Feb 18 04:54:05 glimmer cron-apt: Preparing to unpack 
.../15-libapache2-mod-php7.3_7.3.27-1~deb10u1_amd64.deb ...#015
Feb 18 04:54:05 glimmer cron-apt: Unpacking libapache2-mod-php7.3 
(7.3.27-1~deb10u1) over (7.3.19-1~deb10u1) ...#015
Feb 18 04:54:05 glimmer cron-apt: Preparing to unpack 
.../16-php7.3-cli_7.3.27-1~deb10u1_amd64.deb ...#015
Feb 18 04:54:05 glimmer cron-apt: Unpacking php7.3-cli (7.3.27-1~deb10u1) over 
(7.3.19-1~deb10u1) ...#015
Feb 18 04:54:05 glimmer cron-apt: Preparing to unpack 
.../17-php7.3-common_7.3.27-1~deb10u1_amd64.deb ...#015
Feb 18 04:54:05 glimmer cron-apt: Unpacking php7.3-common (7.3.27-1~deb10u1) 
over (7.3.19-1~deb10u1) ...#015
Feb 18 04:54:05 glimmer cron-apt: Preparing to unpack 
.../18-openssl_1.1.1d-0+deb10u5_amd64.deb ...#015
--
Feb 18 04:54:05 glimmer cron-apt: Setting up php7.3-sqlite3 (7.3.27-1~deb10u1) 
...#015
Feb 18 04:54:05 glimmer cron-apt: Setting up php7.3-mbstring (7.3.27-1~deb10u1) 
...#015
Feb 18 04:54:05 glimmer cron-apt: Setting up php7.3-json (7.3.27-1~deb10u1) 
...#015
Feb 18 04:54:05 glimmer cron-apt: Setting up php7.3-readline (7.3.27-1~deb10u1) 
...#015
Feb 18 04:54:05 glimmer cron-apt: Setting up php7.3-cli (7.3.27-1~deb10u1) 
...#015
Feb 18 04:54:05 glimmer cron-apt: Setting up libapache2-mod-php7.3 
(7.3.27-1~deb10u1) ...#015
Feb 18 04:54:05 glimmer cron-apt: libapache2-mod-php7.3: not switching MPM - 
already enabled#015
Feb 18 04:54:05 glimmer cron-apt: Processing triggers for libc-bin (2.28-10) 
...#015
Feb 18 04:54:05 glimmer cron-apt: Processing triggers for man-db (2.8.5-2) 
...#015

Systemctl status output of the apache2 service:

root@glimmer:~# systemctl status apache2
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: 
enabled)
   Active: active (running) since Sat 2021-02-13 12:05:05 CET; 4 days ago
     Docs: https://httpd.apache.org/docs/2.4/
  Process: 602 ExecStart=/usr/sbin/apachectl start (code=exited, 
status=0/SUCCESS)
  Process: 10813 ExecReload=/usr/sbin/apachectl graceful (code=exited, 
status=0/SUCCESS)
 Main PID: 1015 (apache2)
    Tasks: 11 (limit: 4915)
   Memory: 4.8G
   CGroup: /system.slice/apache2.service
           ├─ 1015 /usr/sbin/apache2 -k start
           ├─10818 /usr/sbin/apache2 -k start
           ├─11790 /usr/sbin/apache2 -k start
           ├─11791 /usr/sbin/apache2 -k start
           ├─11792 /usr/sbin/apache2 -k start
           ├─11840 /usr/sbin/apache2 -k start
           ├─11906 /usr/sbin/apache2 -k start
           ├─12425 /usr/sbin/apache2 -k start
           ├─13525 /usr/sbin/apache2 -k start
           ├─13574 /usr/sbin/apache2 -k start
           └─25411 /usr/sbin/apache2 -k start

feb 18 00:00:02 glimmer systemd[1]: Reloading The Apache HTTP Server.
feb 18 00:00:02 glimmer systemd[1]: Reloaded The Apache HTTP Server.
Warning: Journal has been rotated since unit was started. Log output is 
incomplete or unavailable.

root@glimmer:~# journalctl -u apache2
-- Logs begin at Wed 2021-02-17 10:29:01 CET, end at Thu 2021-02-18 07:33:36 
CET. --
feb 18 00:00:02 glimmer systemd[1]: Reloading The Apache HTTP Server.
feb 18 00:00:02 glimmer systemd[1]: Reloaded The Apache HTTP Server.
root@glimmer:~#

As can be seen from the "Active" status, Apache was not restarted automatically.

Best regards
Björn


-- Package-specific info:
==== Additional PHP 7.3 information ====

++++ PHP 7.3 SAPI (php7.3query -S): ++++

++++ PHP 7.3 Extensions (php7.3query -M -v): ++++

++++ Configuration files: ++++
[PHP]
engine = On
short_open_tag = Off
precision = 14
output_buffering = 4096
zlib.output_compression = Off
implicit_flush = Off
unserialize_callback_func =
serialize_precision = -1
disable_functions = 
pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
disable_classes =
zend.enable_gc = On
expose_php = Off
max_execution_time = 30
max_input_time = 60
memory_limit = 128M
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = Off
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
html_errors = On
variables_order = "GPCS"
request_order = "GP"
register_argc_argv = Off
auto_globals_jit = On
post_max_size = 8M
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
default_charset = "UTF-8"
doc_root =
user_dir =
enable_dl = Off
file_uploads = On
upload_max_filesize = 2M
max_file_uploads = 20
allow_url_fopen = On
allow_url_include = Off
default_socket_timeout = 60
[CLI Server]
cli_server.color = On
[Date]
[filter]
[iconv]
[imap]
[intl]
[sqlite3]
[Pcre]
[Pdo]
[Pdo_mysql]
pdo_mysql.default_socket=
[Phar]
[mail function]
SMTP = localhost
smtp_port = 25
mail.add_x_header = Off
[ODBC]
odbc.allow_persistent = On
odbc.check_persistent = On
odbc.max_persistent = -1
odbc.max_links = -1
odbc.defaultlrl = 4096
odbc.defaultbinmode = 1
[Interbase]
ibase.allow_persistent = 1
ibase.max_persistent = -1
ibase.max_links = -1
ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
ibase.dateformat = "%Y-%m-%d"
ibase.timeformat = "%H:%M:%S"
[MySQLi]
mysqli.max_persistent = -1
mysqli.allow_persistent = On
mysqli.max_links = -1
mysqli.default_port = 3306
mysqli.default_socket =
mysqli.default_host =
mysqli.default_user =
mysqli.default_pw =
mysqli.reconnect = Off
[mysqlnd]
mysqlnd.collect_statistics = On
mysqlnd.collect_memory_statistics = Off
[OCI8]
[PostgreSQL]
pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0
[bcmath]
bcmath.scale = 0
[browscap]
[Session]
session.save_handler = files
session.use_strict_mode = 0
session.use_cookies = 1
session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly =
session.cookie_samesite =
session.serialize_handler = php
session.gc_probability = 0
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.referer_check =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.sid_length = 26
session.trans_sid_tags = "a=href,area=href,frame=src,form="
session.sid_bits_per_character = 5
[Assertion]
zend.assertions = -1
[COM]
[mbstring]
[gd]
[exif]
[Tidy]
tidy.clean_output = Off
[soap]
soap.wsdl_cache_enabled=1
soap.wsdl_cache_dir="/tmp"
soap.wsdl_cache_ttl=86400
soap.wsdl_cache_limit = 5
[sysvshm]
[ldap]
ldap.max_links = -1
[dba]
[opcache]
[curl]
[openssl]

**** /etc/php/7.3/apache2/conf.d/20-xsl.ini ****
extension=xsl.so

**** /etc/php/7.3/apache2/conf.d/20-posix.ini ****
extension=posix.so

**** /etc/php/7.3/apache2/conf.d/20-sysvsem.ini ****
extension=sysvsem.so

**** /etc/php/7.3/apache2/conf.d/20-dom.ini ****
extension=dom.so

**** /etc/php/7.3/apache2/conf.d/20-xmlrpc.ini ****
extension=xmlrpc.so

**** /etc/php/7.3/apache2/conf.d/20-mysqli.ini ****
extension=mysqli.so

**** /etc/php/7.3/apache2/conf.d/20-mbstring.ini ****
extension=mbstring.so

**** /etc/php/7.3/apache2/conf.d/20-sysvmsg.ini ****
extension=sysvmsg.so

**** /etc/php/7.3/apache2/conf.d/20-iconv.ini ****
extension=iconv.so

**** /etc/php/7.3/apache2/conf.d/20-wddx.ini ****
extension=wddx.so

**** /etc/php/7.3/apache2/conf.d/20-gd.ini ****
extension=gd.so

**** /etc/php/7.3/apache2/conf.d/20-sqlite3.ini ****
extension=sqlite3.so

**** /etc/php/7.3/apache2/conf.d/20-readline.ini ****
extension=readline.so

**** /etc/php/7.3/apache2/conf.d/20-soap.ini ****
extension=soap.so

**** /etc/php/7.3/apache2/conf.d/20-ftp.ini ****
extension=ftp.so

**** /etc/php/7.3/apache2/conf.d/20-bcmath.ini ****
extension=bcmath.so

**** /etc/php/7.3/apache2/conf.d/20-zip.ini ****
extension=zip.so

**** /etc/php/7.3/apache2/conf.d/20-ctype.ini ****
extension=ctype.so

**** /etc/php/7.3/apache2/conf.d/20-fileinfo.ini ****
extension=fileinfo.so

**** /etc/php/7.3/apache2/conf.d/20-xmlwriter.ini ****
extension=xmlwriter.so

**** /etc/php/7.3/apache2/conf.d/20-pdo_sqlite.ini ****
extension=pdo_sqlite.so

**** /etc/php/7.3/apache2/conf.d/20-exif.ini ****
extension=exif.so

**** /etc/php/7.3/apache2/conf.d/20-pdo_mysql.ini ****
extension=pdo_mysql.so

**** /etc/php/7.3/apache2/conf.d/10-mysqlnd.ini ****
extension=mysqlnd.so

**** /etc/php/7.3/apache2/conf.d/10-opcache.ini ****
zend_extension=opcache.so

**** /etc/php/7.3/apache2/conf.d/20-sysvshm.ini ****
extension=sysvshm.so

**** /etc/php/7.3/apache2/conf.d/15-xml.ini ****
extension=xml.so

**** /etc/php/7.3/apache2/conf.d/10-pdo.ini ****
extension=pdo.so

**** /etc/php/7.3/apache2/conf.d/20-calendar.ini ****
extension=calendar.so

**** /etc/php/7.3/apache2/conf.d/20-simplexml.ini ****
extension=simplexml.so

**** /etc/php/7.3/apache2/conf.d/20-sockets.ini ****
extension=sockets.so

**** /etc/php/7.3/apache2/conf.d/20-gettext.ini ****
extension=gettext.so

**** /etc/php/7.3/apache2/conf.d/20-curl.ini ****
extension=curl.so

**** /etc/php/7.3/apache2/conf.d/20-shmop.ini ****
extension=shmop.so

**** /etc/php/7.3/apache2/conf.d/20-phar.ini ****
extension=phar.so

**** /etc/php/7.3/apache2/conf.d/20-intl.ini ****
extension=intl.so

**** /etc/php/7.3/apache2/conf.d/20-json.ini ****
extension=json.so

**** /etc/php/7.3/apache2/conf.d/20-tokenizer.ini ****
extension=tokenizer.so

**** /etc/php/7.3/apache2/conf.d/20-xmlreader.ini ****
extension=xmlreader.so


-- System Information:
Debian Release: 10.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-14-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libapache2-mod-php7.3 depends on:
ii  apache2-bin [apache2-api-20120211]  2.4.38-3+deb10u4
ii  libargon2-1                         0~20171227-0.2
ii  libc6                               2.28-10
ii  libmagic1                           1:5.35-4+deb10u2
ii  libpcre2-8-0                        10.32-5
ii  libsodium23                         1.0.17-1
ii  libssl1.1                           1.1.1d-0+deb10u5
ii  libxml2                             2.9.4+dfsg1-7+deb10u1
ii  mime-support                        3.62
ii  php7.3-cli                          7.3.27-1~deb10u1
ii  php7.3-common                       7.3.27-1~deb10u1
ii  php7.3-json                         7.3.27-1~deb10u1
ii  php7.3-opcache                      7.3.27-1~deb10u1
ii  tzdata                              2021a-0+deb10u1
ii  ucf                                 3.0038+nmu1
ii  zlib1g                              1:1.2.11.dfsg-1

Versions of packages libapache2-mod-php7.3 recommends:
ii  apache2  2.4.38-3+deb10u4

Versions of packages libapache2-mod-php7.3 suggests:
pn  php-pear  <none>

Versions of packages php7.3-common depends on:
ii  libc6       2.28-10
ii  libssl1.1   1.1.1d-0+deb10u5
ii  php-common  2:69
ii  ucf         3.0038+nmu1

-- Configuration Files:
/etc/apache2/mods-available/php7.3.conf changed:
<FilesMatch ".+\.ph(ar|p|tml)$">
    SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch ".+\.phps$">
    SetHandler application/x-httpd-php-source
    # Deny access to raw php sources by default
    # To re-enable it's recommended to enable access to the files
    # only in specific virtual host or directory
    Require all denied
</FilesMatch>
<FilesMatch "^\.ph(ar|p|ps|tml)$">
    Require all denied
</FilesMatch>


-- no debconf information

Reply via email to