Comment 4 for bug 1867007

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Hey Balint. I just added the task post ZFS upload (the upload was yesterday and I added the task this morning) so indeed, there is some work needed, part of it being in systemd.

Basically, systemd isn’t capable of mounting datasets when pool names are duplicated on a machine
zfs-mount-generator generates .mount units with the pool name. systemd needs to either, for all poo«ls mactching the desired name
- prefers pool id matching zpool.cache
- check every pools for their dataset and import the first matching one (same dataset path)
- or the .mount unit should be able to import by ID and zfs-mount-generator upstream should generate a pool id somewhere in the unit file.