Hello all I'm trying to set up a configuration where a variable number of devices under /dev/mapper get automounted.
I've started with the following: # cat mpath\@.mount [Unit] Description=Data File System [Mount] What=/dev/mapper/%i Where=/mnt/%i Type=ext4 [Install] [email protected] [email protected] [email protected] # cat mpath\@.automount [Unit] Description=Data Automount Point Before=local-fs.target [Automount] Where=/mnt/%i [Install] Alias=local-fs.target.wants/[email protected] Alias=local-fs.target.wants/[email protected] but if I tell systemd to reload the configuration and then do systemctl enable mpath\@.mount I get the following error in /var/log/messages: systemd[1]: Assertion 'u->meta.type != _UNIT_TYPE_INVALID' failed at src/unit.c:257, function unit_add_to_load_queue(). Aborting. systemd[1]: Caught <ABRT>, dumped core as pid 27495. systemd[1]: Freezing execution. Regards Albert _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
