By kacnje
On Ubuntu server 22.04 I’m geting next errors:
Jul 29 06:23:54 can1 systemd-udevd[384]: /etc/udev/rules.d/99-digitalocean-automount.rules:11 Invalid value "/bin/sh -c 'echo TMP_MOUNT_DIR=$(mktemp -d -p /mnt .do-first-mount-XXXXXXXXX)'" for IMPORT (char 32: invalid substitution type), ignoring.
Jul 29 06:23:54 can1 systemd-udevd[384]: /etc/udev/rules.d/99-digitalocean-automount.rules:12 Invalid value "/bin/sh -c 'echo TMP_SCRIPT=$(mktemp -t .do-first-mount-XXXXXXXXX.sh)'" for IMPORT (char 29: invalid substitution type), ignoring.
I checked what is written in /etc/udev/rules.d/99-digitalocean-automount.rules and I have found next lines (beside others):
# Create a temporary mountpoint and temporary location for the first-mount script.
IMPORT{program}="/bin/sh -c 'echo TMP_MOUNT_DIR=$(mktemp -d -p /mnt .do-first-mount-XXXXXXXXX)'"
IMPORT{program}="/bin/sh -c 'echo TMP_SCRIPT=$(mktemp -t .do-first-mount-XXXXXXXXX.sh)'"
What is wrong?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @kacnje,
That’s really strange. I would need to further debug it myself if I can assist you with any suggestions. Can you please let me know if you just created a blank Ubuntu 22.04 or you’ve made any changes to it?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.