Allow full path in lxc.devices.allow #1708
This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:
Those commands are simple Github comments of the format: "jenkins: COMMAND"
The goal of this patch it to transform
For example, currently this is not possible:
Some devices like LVM or cryptsetup entries have no stable major/minor, changing between host reboots. In this case, hardcoded numbers are not usable in config file and there is currently no way to use hook with lxc-device to do the link at guest startup : * `pre-start`/`autodev` hook runs in host context but has the guest in stopped state and so lxc-device not usable * `start` hook is in running state but runs in guest context and so lxc-device not available This patch converts fullpath in lxc.devices.allow to current major/minor numbers to address those changing numbers. Signed-off-by: aeris <firstname.lastname@example.org>