dracut
dracut copied to clipboard
refactor(nfs): remove leftover code
- Leftover
grep
s used whenchown
was perfomed after them. -
$initdir/var/lib/rpcbind
already created withmkdir -m 0770
, it is not necessary tochmod 770
again.
Follow-up to 5ebf48d2baa7d7cbad7cfc663319f8ca80f76398
Checklist
- [X] I have tested it locally
- [ ] I have reviewed and updated any documentation if relevant
- [ ] I am providing new code and test(s) for it
I am not aware of a standard that would require nfs user. Different distributions use different usernames, which is why testing the username is useful.
Better solution would be to determine the username instead of dracut hardcoding it.
https://github.com/dracutdevs/dracut/issues/2259
I am not aware of a standard that would require nfs user. Different distributions use different usernames, which is why testing the username is useful.
Better solution would be to determine the username instead of dracut hardcoding it.
This comment is unrelated to what this PR is about.
This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.
This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.