tag:blogger.com,1999:blog-1574409066963489487.post6426537963263403099..comments2022-05-13T07:51:26.456-04:00Comments on AuriStor File System: AuriStor offers clients for Debian and Ubuntu x86_64 architecturesAuriStor File Systemhttp://www.blogger.com/profile/12653144095292122570noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-1574409066963489487.post-10361516351101805772021-02-05T16:09:13.177-05:002021-02-05T16:09:13.177-05:00For all who has the same problem with the not work...For all who has the same problem with the not working usually unattended-upgrades of the kernel-modules after a kernel-update, here is our little workaround:<br /><br /><br /><br />For everyone who has the same problem with the non-functioning<br />unattended upgrades of the kernel modules, here is our little workaround:<br /><br />We configure a little ExecStartPre-Script which install the matching kernel-module for the running kernel before the auristor-client will be started<br /><br />cat /etc/systemd/system/auristorfs-client.service.d/yfs-kmod.conf<br /><br />[Service]<br />ExecStartPre=/usr/local/sbin/update-yfs-kmod.sh<br />ExecStartPre=/sbin/modprobe yfs<br /><br />and<br /><br />and<br /><br /><br />cat /usr/local/sbin/update-yfs-kmod.sh<br />#!/bin/bash<br /><br /><br />dpkg -l | grep -q auristorfs-modules3-$(uname -r)<br /><br />if [[ $? -eq 0 ]]; then<br /> logger -t $(basename $0) "YFS module for $(uname -r) already installed, exiting."<br /> exit 0<br />else<br /> logger -t $(basename $0) "YFS module not present for running kernel $(uname -r), installing."<br /> for attempt in $(seq 4); do<br /> host installserver.de > /dev/null && break;<br /> logger -t $(basename $0) "waiting for installserver.de name to be resolved"<br /> sleep 10;<br /> done<br /> DEBIAN_FRONTEND=noninteractive apt-get -q update<br /> DEBIAN_FRONTEND=noninteractive apt-get --yes -q install "auristorfs-modules3-$(uname -r)"<br /> logger -t $(basename $0) "Installation of auristorfs-modules3-$(uname -r) had exit code ${?}"<br /> exit 0<br />fi<br /><br /><br />Hope, it helps somebody<br /><br />cheers,<br />martin<br />flemminghttps://www.blogger.com/profile/02744219721933694362noreply@blogger.com