Bug#960594: systemd: services (bind9, squid) are started before their filesystems had been mounted

Wladimir Mutel mwg at mwg.dp.ua
Tue May 19 14:25:26 BST 2020


Michael Biebl wrote:

>> I have PPTP connection to my ISP, and named process is checked and
>> restart in ppp ip-up script which I added for this purpose.
>> I can comment out this command and repeat if needed. But this is a
>> workaround for my system to become usable after remote reboot
> 
> Anyway, from what I can gather from the log files, you have some broken
> hook scripts which you need to identify and fix to not trigger a reload.
> 
> Not really a bug in systemd.
> 
> I really hate those f*ing hook scripts...

I applied these changes:

diff --git a/ppp/ip-up.d/1route b/ppp/ip-up.d/1route
index 28617be..4f8c4e3 100755
--- a/ppp/ip-up.d/1route
+++ b/ppp/ip-up.d/1route
@@ -164,7 +164,7 @@ case $PPP_IPPARAM in
         ;;
  esac

-pidof named || service bind9 restart
+#pidof named || service bind9 restart
  cd ~mwg
  bash set-default-route2.sh
  bash whois-routes.sh
diff --git a/resolvconf/update.d/bind b/resolvconf/update.d/bind
index a985e95..7f8c85b 100755
--- a/resolvconf/update.d/bind
+++ b/resolvconf/update.d/bind
@@ -101,6 +101,6 @@ if [ -x /usr/bin/diff ] && [ -f "$DYNAMIC_OPTS_FILE" 
] && /usr/bin/diff -q "$DYN
         rm -f "$TMP_FILE"
  else
         mv -f "$TMP_FILE" "$DYNAMIC_OPTS_FILE"
-       [ -x /etc/init.d/bind9 ] && /etc/init.d/bind9 reload > /dev/null 
2>&1 || :
+#      [ -x /etc/init.d/bind9 ] && /etc/init.d/bind9 reload > /dev/null 
2>&1 || :
  fi

and restarted the system again

attaching the log after the reboot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: journalctl-alb-unhook.txt.gz
Type: application/gzip
Size: 113220 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20200519/af800831/attachment-0001.gz>


More information about the Pkg-systemd-maintainers mailing list