dracut icon indicating copy to clipboard operation
dracut copied to clipboard

fix(dracut): allow to set persistent policy based on /dev/mapper device names

Open aafeijoo-suse opened this issue 3 years ago • 0 comments

Currently, dracut only allows to configure the persistent policy to address disks and partitions using any directory name found in /dev/disk, but there is no defined way to set the default policy based on /dev/mapper device names. So, for example, if the persistent policy is set by the distribution in any configuration file, the user cannot set the default if he wants to.

The current workaround is to set persistent_policy="" in a conf file or pass --persistent-policy " " (white space) as an argument. This patch aims to establish a specific value for this case.

Checklist

  • [X] I have tested it locally
  • [X] I have reviewed and updated any documentation if relevant
  • [ ] I am providing new code and test(s) for it

aafeijoo-suse avatar Sep 07 '22 13:09 aafeijoo-suse