system.d not working when IPv6 is enabled

  • The mount scripts in \storage\.config\system.d do not run if IPv6 is enabled.

    The scripts work fine if IPv6 is not enabled it just seems they do not trigger if you have IPv6 tuned on.

    To reproduce:

    1. make a mount script and enable it
    2. reboot
    3. mount should work
    4. go into the libreelec settings app and set IPv6 to auto
    5. reboot
    6. the mount scripts will not trigger
    7. go into the libreelec settings app and set IPv6 to off
    8. reboot
    9. the mount scripts now work again

    I have tried this off and on through many versions of libreelec and it has not worked in any of them. Have not tested in v8.90.007 yet.

    journalctl -u storage-backup.mount

    Code
    -- Logs begin at Sat 2018-11-17 12:11:05 EST, end at Sat 2018-11-17 12:15:33 EST. --
    Nov 17 12:11:12 LibreELEC systemd[1]: Mounting Backup...
    Nov 17 12:11:12 LibreELEC mount[575]: mount: bad address 'dock.cbn.lan'
    Nov 17 12:11:12 LibreELEC mount[575]: mount: mounting //dock.cbn.lan/media/Backup on /storage/backup failed: Resource temporarily unavailable
    Nov 17 12:11:12 LibreELEC systemd[1]: storage-backup.mount: Mount process exited, code=exited status=255
    Nov 17 12:11:12 LibreELEC systemd[1]: storage-backup.mount: Failed with result 'exit-code'.
    Nov 17 12:11:12 LibreELEC systemd[1]: Failed to mount Backup.

    Edited once, last by crkinard (November 17, 2018 at 5:21 PM).

  • As you can see name resolution doesn't work: mount: bad address 'dock.cbn.lan'

    if you start mount script from command line after system is running does it work? Can you share your mount script?