Skip to content

Commit

Permalink
autofs: Rebuild with Restart=on-abort
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
donald committed May 29, 2017
1 parent 1ce9059 commit a7a9c9e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions autofs.be0
Original file line number Diff line number Diff line change
@@ -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.)
Expand All @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a7a9c9e

Please sign in to comment.