all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH] d/postinst: don't treat reload/restart failure as fatal
@ 2024-04-11  9:45 Fabian Grünbichler
  2024-04-11  9:50 ` [pve-devel] applied: " Wolfgang Bumiller
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Grünbichler @ 2024-04-11  9:45 UTC (permalink / raw)
  To: pve-devel

aborting apt invocations because of service failures like that is always
painful, and lxcfs is in a lot of our build-dep chains, and build environments
might not run systemd as init.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
---
 debian/lxcfs.postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/lxcfs.postinst b/debian/lxcfs.postinst
index 558a0d0..ae1b7a2 100644
--- a/debian/lxcfs.postinst
+++ b/debian/lxcfs.postinst
@@ -15,7 +15,7 @@ case "$1" in
     unit=lxcfs.service
     if systemctl -q is-enabled "$unit"; then
         systemctl --system daemon-reload >/dev/null || true
-        deb-systemd-invoke $dh_action "$unit"
+        deb-systemd-invoke $dh_action "$unit" || true
     fi
   ;;
 
-- 
2.39.2





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied: [PATCH] d/postinst: don't treat reload/restart failure as fatal
  2024-04-11  9:45 [pve-devel] [PATCH] d/postinst: don't treat reload/restart failure as fatal Fabian Grünbichler
@ 2024-04-11  9:50 ` Wolfgang Bumiller
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Bumiller @ 2024-04-11  9:50 UTC (permalink / raw)
  To: Fabian Grünbichler; +Cc: pve-devel

applied, thanks




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-11  9:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-11  9:45 [pve-devel] [PATCH] d/postinst: don't treat reload/restart failure as fatal Fabian Grünbichler
2024-04-11  9:50 ` [pve-devel] applied: " Wolfgang Bumiller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal