-
David Johnson authored
It seems that some systemds (i.e. 219) cannot handle by-uuid unitfile names (although they are happy to print them out via systemctl list-units). So, in one place in the fstab-generator, just use the raw device naming convention. systemd doesn't care what we use. From the comments: Ok, don't use the by-uuid method (dev-disk-by\\x2duuid-${transuuid}.swap). It seems to me that the vintage of systemd on Centos7 (i.e. 219) doesn't correctly process dev-by-uuid filenames nor unitnames (even systemctl status <blah>, where <blah> is a by-uuid unit name reported by systemctl list-units, does not work!). systemd 229 on Ubuntu seems happy to use the by-uuid unitfilename we generated above. (Perhaps I should have done this in all places in this script, but I didn't for now :(. I believe my by-uuid encoding is correct, and I really don't want to rock a mostly-working boat. This fix is enough for all the cases we have, I hope.)
58a03627