From a7a9c9e7788b52b83e60f0204c4265e2e5ad2b8d Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Mon, 29 May 2017 14:51:02 +0200 Subject: [PATCH] autofs: Rebuild with Restart=on-abort Because we've seen the daemon to fail with an assert failure from malloc, we ask systemd to restart the daemon if it dies on an uncaught signal. This would reduce the impact if such an error should occur again, before the bug can be identified and fixed. Update URL and revision number. --- autofs.be0 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/autofs.be0 b/autofs.be0 index e63fa2926..e1b02bdb9 100755 --- a/autofs.be0 +++ b/autofs.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION autofs-5.1.2-0 +# BEE_VERSION autofs-5.1.2-1 ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.) @@ -9,7 +9,7 @@ ## The source URL(s) define the location of the sources that will be ## downloaded. Version variables may be used to simplify reuse of this bee-file. -SRCURL[0]="http://ftp.kernel.org/pub/linux/daemons/autofs/v5/autofs-${PKGVERSION}.tar.xz" +SRCURL[0]="https://www.kernel.org/pub/linux/daemons/autofs/v5/autofs-${PKGVERSION}.tar.xz" ############################################################################### ## Add URLs/pathes to patch files to the PATCHURL array. @@ -85,6 +85,8 @@ ExecStartPre=/usr/sbin/make-automaps ExecStart=/usr/sbin/automount -v PIDFile=/run/autofs-running ExecReload=/bin/kill -HUP $MAINPID +Restart=on-abort +RestartSec=1 [Install] WantedBy=multi-user.target