On Tuesday, 5 May 2020 9:13:37 PM AEST Ondřej Surý wrote:
> Then focus on fixing this.

Ondřej, please consider the following patch:

~~~~
 Make init script not depending on systemd (Closes: #959174).

--- a/debian/control
+++ b/debian/control
@@ -238,7 +238,6 @@ Depends: libmagic1,
          php7.4-json,
          php7.4-opcache,
          procps,
-         systemd | systemd-tmpfiles,
          tzdata,
          ucf,
          ${misc:Depends},
diff --git a/debian/control.in b/debian/control.in
index 96817035..ca9ae146 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -238,7 +238,6 @@ Depends: libmagic1,
          php@PHP_VERSION@-json,
          php@PHP_VERSION@-opcache,
          procps,
-         systemd | systemd-tmpfiles,
          tzdata,
          ucf,
          ${misc:Depends},
diff --git a/debian/php-fpm.init b/debian/php-fpm.init
index 865376e5..bb5c6647 100644
--- a/debian/php-fpm.init
+++ b/debian/php-fpm.init
@@ -96,7 +96,9 @@ do_reload() {
 case "$1" in
     start)
        [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
-       systemd-tmpfiles --remove --create 
/usr/lib/tmpfiles.d/php@php_vers...@-fpm.conf
+       mkdir -p /run/php
+       chown www-data:www-data /run/php
+       # chmod -c 0755 /run/php
        case "$?" in
            0)
                do_start
~~~~

I'm also raising severity of this bug because it prevents
our packages from being installed together.

Thanks.

-- 
All the best,
 Dmitry Smirnov.

---

If you want to live a happy life, tie it to a goal, not to people or things.
        -- Albert Einstein

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to